Skip to content

Configuration and workflow guidance for golangci-lint, covering linter selection, nolint suppression rules, and output interpretation.

CCM score
64 of 100
skills.sh installs
43.3K
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers running golangci-lint, configuring .golangci.yml, suppressing warnings with nolint directives, and choosing linters
  • Includes a recommended .golangci.yml with 33 linters enabled, plus linter and nolint reference documents
  • Enforces that every //nolint names a specific linter and includes a justification, and discourages suppressing security linters
  • Designed for Go projects setting up code quality tooling or adopting linting on legacy codebases

Install

$ npx -y skills add samber/cc-skills-golang --skill golang-lint -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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 --fix on 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:

Details

Repository
github.com/samber/cc-skills-golang
Categories
Go, Code Review & Quality
First seen
Apr 16, 2026

More from samber/cc-skills-golang

All 47

Similar to Golang Lint

More Go