Provides linting best practices and golangci-lint configuration for Go projects. Covers running linters, configuring .golangci.yml, suppressing warnings with nolint directives, interpreting lint output, and managing linter settings. Use this skill whenever the user runs linters, configures golangci-lint, asks about lint warnings or suppressions, sets up code quality tooling, or asks which linters to enable for a Go project. Also use when the user mentions golangci-lint, go vet, staticcheck, revive, or any Go linting tool.
97
100%
Does it follow best practices?
Impact
96%
1.31xAverage score across 3 eval scenarios
Passed
No known issues
Production golangci-lint configuration
Config version field
100%
100%
Formatters section
0%
100%
gofumpt extra-rules
0%
100%
run.concurrency setting
0%
100%
run.timeout setting
100%
100%
run.tests setting
100%
100%
max-issues-per-linter
0%
100%
max-same-issues
0%
0%
nolintlint require-specific
100%
100%
nolintlint require-explanation
100%
100%
Makefile lint target
100%
100%
Makefile lint-fix target
100%
100%
Makefile fmt target
0%
100%
Legacy codebase lint adoption
new-from-rev usage
100%
100%
Config version field
0%
100%
Auto-fix track
100%
100%
Security linter track
100%
100%
Error handling track
100%
100%
Style/formatting track
100%
100%
Code quality track
100%
100%
Parallel track count
100%
100%
No blanket nolint advice
100%
100%
Format workflow included
0%
100%
Gradual cleanup strategy
100%
100%
nolint directive audit and remediation
Bare nolint identification
100%
100%
sqlclosecheck issue
100%
100%
errcheck production fix
100%
100%
bodyclose suppression wrong
0%
50%
noctx missing justification
25%
100%
ProcessPayment bare nolint
100%
100%
gosec/MD5 handling
100%
100%
WriteString nolint fix
100%
100%
goconst suppression accepted
87%
100%
funlen suppression accepted
100%
100%
nolintlint in config
100%
100%
26524a3
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.