/golang:go-lint-fixfrom golang
Runs golangci-lint to auto-fix and AI-fix lint issues in Go projects. Discovers project-specific flags and config from Makefile or CLAUDE.md.
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, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Run golangci-lint and fix all reported issues, using auto-fix first then AI for the rest.
This skill always calls golangci-lint directly (required for --fix). Discovery finds any project-specific flags, config, or plugins to carry into those calls.
lint or verify-lint targets (grep -E "^(lint|verify-lint):" Makefile). Inspect the target body to extract flags such as --config, --timeout, --build-tags, or module plugin references.golangci-lint run ./... with no extra flags.Collect all discovered flags into a $FLAGS variable used throughout the Fix Process.
Report that golangci-lint is not available and direct the user to the installation docs. Do not auto-install.
golangci-lint run $FLAGS ./... and record the issue count.golangci-lint run --fix $FLAGS ./... to resolve all automatically fixable issues.golangci-lint run $FLAGS ./... again to see remaining issues.golangci-lint run $FLAGS ./... after each batch of AI fixes.//nolint directives. Use //nolint only as a last resort with a comment explaining why.// Code generated header. Add //nolint at the call site or exclude the file in .golangci.yml instead.What SKILL.md sets; muted values are Claude Code's defaults
sonnetThree short reads, in order
npx claudepluginhub openshift-eng/ai-helpers --plugin golang6 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-lintRun golangci-lint to check Go code quality. Use when the user asks to lint, check for lint issues, or verify code quality in a Go project, or when linting is appropriate before committing Go code changes./native-fipsConfigure Go projects to use Go's native FIPS 140 module instead of openssl-based FIPS.
Use when the user wants to enable FIPS compliance in a Go project, migrate from openssl-based FIPS
to native Go FIPS, or when build configs contain GOEXPERIMENT=strictfipsruntime or openssl-based FIPS patterns.
Triggers on: 'native FIPS', 'GOFIPS140', 'FIPS without openssl', 'enable FIPS', 'migrate FIPS',
'GOEXPERIMENT=strictfipsruntime', 'strictfipsruntime', 'fips140', 'Go FIPS module'.
/triage-fixed-cvesTriage Go stdlib CVEs against an OpenShift release image to determine which CVEs are fixed by the Go version each component was built with.
Use when the user asks to triage Go stdlib CVEs against an OpenShift release image, check which Go CVEs are fixed in a release, or cross-reference Go vulnerability fixes across OCP components.
Triggers on: 'triage Go CVEs', 'Go stdlib CVE triage', 'which Go CVEs are fixed', 'Go vulnerability report for release', or any mention of Go stdlib CVE + OpenShift release image.
Other plugins' skills for the same job