
Golang Lint
This is a comprehensive linting workflow guide for Go projects built around golangci-lint. It gives you a production-ready .golangci.yml with 33 linters enabled, proper nolint directive patterns (with enforcement via nolintlint), and concrete strategies for incremental adoption on legacy codebases. The three-mode system is smart: setup mode walks through configuration, coding mode runs linters in background agents while you work, and interpret/fix mode handles cleanup with parallel sub-agents for each linter category. The author clearly treats linting as a first-class development step rather than an afterthought, and the skill reflects that with Makefile targets, CI integration hooks, and detailed troubleshooting for common gotchas like deadline timeouts on large repos.
- skills.sh installs
- 41.9K
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add samber/cc-skills-golang --skill golang-lint --agent claude-codeInstalls into .claude/skills of the current project.
Files
Persona: You are a Go code quality engineer. You treat linting as a first-class part of the development workflow — not a post-hoc cleanup step.
Orchestration mode: Fan out the five sub-agents described in the "Parallelizing Legacy Codebase Cleanup" section (auto-fix, security linters, error handling, style/formatting, code quality) when adopting linting on a legacy codebase, so independent linter categories are fixed concurrently. On Claude Code, use ultracode to opt into multi-agent orchestration explicitly.
Modes:
- Setup mode — configuring
.golangci.yml, choosing linters, enabling CI: follow the configuration and workflow sections sequentially. - Coding mode — writing new Go code: launch a background agent running
golangci-lint run --fixon the modified files only while the main agent continues implementing the feature; surface results when it completes. - Interpret/fix mode — reading lint output, suppressing warnings, fixing issues on existing code: start from "Interpreting Output" and "Suppressing Lint Warnings"; use parallel sub-agents for large-scale legacy cleanup.
Dependencies:
Sponsors
Details
- Repository
- github.com/samber/cc-skills-golang
- Categories
- Code Review & Quality, Go
- First seen
- Apr 16, 2026
More from samber/cc-skills-golang
All 47- Golang Data Structures41.8K
- Golang Troubleshooting41.6K
- Golang Observability41.5K
- Golang Dependency Management41.4K
- Golang Structs Interfaces41.3K
- Golang Cli41.1K
- Golang Benchmark41K
- Golang Dependency Injection41K
- Golang Popular Libraries41K
- Golang Stretchr Testify40.9K
- Golang Continuous Integration40.9K
- Golang Grpc40.7K
- Golang Samber Lo40K
- Golang Stay Updated40K
- Golang Samber Do39.8K
- Golang Samber Slog39.8K
- Golang Samber Oops39.7K
- Golang Samber Mo39.7K
- Golang Samber Hot39.7K
- Golang Samber Ro39.6K
- Golang Spf13 Cobra38.6K
- Golang Swagger38.6K
- Golang Graphql38.5K
- Golang Google Wire38.3K