What problem does it solve?
This Skill helps you enforce strong Go code quality by configuring golangci-lint, running targeted lint passes, and making safe decisions about fixing versus suppressing warnings.
Core Features & Use Cases
- golangci-lint configuration: Create and maintain a
.golangci.yml that defines enabled/disabled linters, timeouts, concurrency, and formatting behavior.
- nolint hygiene and interpretation: Explain lint output, identify the linter that triggered each issue, and apply
//nolint:<linter> // reason suppressions correctly when appropriate.
- Workflow for new vs legacy code: Support incremental adoption using
issues.new-from-rev plus strategies for parallel cleanup by issue category.
A real-world use case is modernizing a large Go service where security/resource-leak findings (like bodyclose and sqlclosecheck) must be fixed first, while complexity/style issues (like funlen or gocyclo in orchestration/test code) may be fixed or selectively suppressed with clear justifications.
Quick Start
Ask an agent: "Set up .golangci.yml for this Go repo using the recommended lint profile, then explain the top 20 golangci-lint findings and propose fixes or properly justified nolint directives."