Golang Lint
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
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.ymlwith 33 linters enabled, plus linter and nolint reference documents - Enforces that every
//nolintnames 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 -yInstalls 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 --fixon 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- Golang Documentation43.3K
- Golang Data Structures43.1K
- Golang Observability42.9K
- Golang Troubleshooting42.8K
- Golang Dependency Management42.7K
- Golang Structs Interfaces42.6K
- Golang Cli42.3K
- Golang Benchmark42.3K
- Golang Dependency Injection42.3K
- Golang Popular Libraries42.2K
- Golang Stretchr Testify42.1K
- Golang Continuous Integration42.1K
- Golang Grpc42K
- Golang Samber Lo41.1K
- Golang Stay Updated41.1K
- Golang Samber Do41K
- Golang Samber Slog40.9K
- Golang Samber Oops40.8K
- Golang Samber Mo40.8K
- Golang Samber Hot40.8K
- Golang Samber Ro40.7K
- Golang Spf13 Cobra39.8K
- Golang Swagger39.8K
- Golang Graphql39.6K
Similar to Golang Lint
More Gogo-lintingSkillcxuu/golang-skills1.4K installsConsistent golangci-lint setup for Go projects, with a verified v2 baseline config and linter selection guidance.
golang-code-styleSkillsamber/cc-skills-golang47.9K installsClear, opinionated Go style rules for line breaking, variable declarations, and control flow that linters cannot judge.
golang-modernizeSkillsamber/cc-skills-golang43.3K installsModernize Go code with current language features, stdlib upgrades, and idioms, with explicit inline and full-scan modes.
static-analysisSkillmohitmishra786/low-level-dev-skills1.4K installsGuide for running and triaging clang-tidy, cppcheck, and scan-build on C/C++ code with CI integration.
megalinterPluginoxsecurity/megalinter2.7K starsSet up, run and fix MegaLinter on any repository: 100+ linters for 69+ languages, 23+ formats and 21+ tooling formats, from CI or locally.
go-code-reviewSkillcxuu/golang-skills1.9K installsGo code review checklist covering formatting, errors, naming, concurrency, interfaces, and security checks with tooling.