/golang:go-lintfrom golang
Runs golangci-lint to check Go code quality. Reports issues with category counts and examples. Useful for pre-commit linting or verifying code quality in Go projects.
Ships in golang. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run golangci-lint to check Go code quality and report issues.
Find how to run the linter using this cascade — stop at the first match:
lint or verify-lint targets (grep -E "^(lint|verify-lint):" Makefile). If found, run make lint or make verify-lint.golangci-lint run ./...Report that golangci-lint is not available and direct the user to the installation docs. Do not auto-install.
Use this format when issues are found:
Found 15 issues:
- goconst: 5 issues
- staticcheck: 4 issues
- gocyclo: 3 issues
- revive: 3 issues
Example issues:
- pkg/api/handler.go:42: string "application/json" has 3 occurrences (goconst)
- pkg/utils/helper.go:87: cyclomatic complexity 15 of function ProcessData (gocyclo)
When clean:
Code passes all linter checks (0 issues found)
This skill is read-only. Never modify files or attempt fixes. Use the golang:lint-fix skill for that.
If the user passes additional flags, chain them to the golangci-lint invocation (e.g., --tests, --concurrency 4).
What SKILL.md sets; muted values are Claude Code's defaults
haikuThree short reads, in order
6 skills in this plugin
/analyze-release-go-versionsAnalyze Go builder images, declared Go versions, or Go module versions across an OpenShift release using the golang plugin's release inventory scripts.
Use when the user asks to filter or compare component results.
/fix-cvePatch a Go dependency to fix a CVE using the appropriate strategy based on Go version compatibility.
Use when the user wants to fix a CVE by updating a Go module, replacing it with a patched fork,
or applying a security patch across all go.mod files in a Go project.
Triggers on: 'patch CVE', 'fix CVE', 'replace grpc', 'update vulnerable dependency',
'security patch go module', or any mention of CVE + Go dependency replacement.
/go-lint-fixnpx claudepluginhub openshift-eng/ai-helpers --plugin golangOther plugins' skills for the same job