plugins/golang/skills/lint-fix/SKILL.md
Run golangci-lint and fix all reported issues. Use only when explicitly asked to fix lint issues in a Go project.
npx skillsauth add openshift-eng/ai-helpers lint-fixInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.research
Shared engine for analyzing Jira issue activity and generating status summaries
testing
Snapshot OpenShift payload data (release controller, PR diffs, comments, CI jobs, JUnit results, regression tracking) to a local directory for offline analysis
development
Analyze a payload snapshot to identify root causes of blocking job failures, score candidate PRs, and produce an HTML report with revert recommendations
tools
Create TRT JIRA bugs, open revert PRs, and trigger payload jobs for high-confidence revert candidates