This is a practical guide to setting up golangci-lint with opinionated but sensible defaults. It recommends five core linters (errcheck, goimports, revive, govet, staticcheck) and emphasizes consistent linting over any particular toolset. The setup script generates a working config in one command, and the documentation covers nolint directives, CI integration, and when to add security or complexity checks. The advice is clearly derived from the Uber Style Guide, which means it's battle-tested on large codebases. If you're starting a Go project or tired of inconsistent linting across your repos, this gives you a solid baseline without drowning you in 50+ linter options.
npx skills add https://github.com/cxuu/golang-skills --skill go-linting