What problem does it solve?
This Skill helps teams establish a consistent, production-grade linting setup for Go projects so code quality rules are enforced the same way in local development and CI.
Core Features & Use Cases
- Lint Configuration: Creates and maintains a checked-in
.golangci.yml as the source of truth for project lint rules.
- CI Enforcement: Guides integration of
golangci-lint into pull request and branch protection workflows.
- Suppression Hygiene: Shows how to use
//nolint directives with specific linter names and clear reasons.
- Incremental Adoption: Supports gradual rollout on legacy codebases with
--new-from-rev and path-scoped exclusions.
- Reference-Driven Tuning: Provides linter selection guidance, CI examples, and suppression patterns through supporting reference docs.
Quick Start
Ask the AI to set up a production-ready Go linting baseline, add the provided .golangci.yml, and wire the checks into CI with proper //nolint rules.