Setup Golangci Lint
Automates Go project setup with golangci-lint configuration for consistent code quality and style checks.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add setup-golangci-lint npx -- -y @trustedskills/setup-golangci-lint
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"setup-golangci-lint": {
"command": "npx",
"args": [
"-y",
"@trustedskills/setup-golangci-lint"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill automates the setup of golangci-lint, a powerful linter for Go projects. It downloads and configures the tool, ensuring your codebase adheres to best practices and style guidelines. This includes installing dependencies and setting up configurations based on project needs.
When to use it
- New Go Projects: Quickly bootstrap linting in newly created Go repositories.
- Existing Projects Without Linting: Integrate automated code quality checks into projects currently lacking a linter.
- Standardizing Code Style: Enforce consistent coding standards across a team or organization by automating the configuration of
golangci-lint. - Continuous Integration (CI): Incorporate linting as part of your CI/CD pipeline to catch issues early.
Key capabilities
- Downloads and installs
golangci-lint - Configures
golangci-lintwith default settings - Handles dependency management for the linter
Example prompts
- "Set up golangci-lint in my Go project."
- "Install a linter for my Go code."
- “Configure
golangci-lintto check for common errors.”
Tips & gotchas
This skill assumes you have Go installed on your system. The initial setup might require some time as it downloads dependencies, so be patient during the process.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.