/golang:analyze-release-go-versionsfrom golang
Analyzes Go versions across OpenShift releases using golang plugin scripts. Filters and compares builder images, declared Go versions, and module versions from release inventory data.
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.
Use only the scripts below to collect release data. Do not independently inspect registries, GitHub, repositories, Dockerfiles, go.mod files, or build configs. Your job is to interpret and filter script output for the user's question. If the user supplies output from these scripts, analyze that output directly.
Run from the repository root, replacing placeholders with the user's values:
python3 plugins/golang/scripts/release_go_builder_versions.py <release-image> --correlate-builder --build-root
python3 plugins/golang/scripts/release_go_builder_versions.py <release-image> --correlate-builder
python3 plugins/golang/scripts/release_go_builder_versions.py <release-image> --build-root
python3 plugins/golang/scripts/release_go_module_versions.py <release-image> <module>
python3 plugins/golang/scripts/release_go_module_versions.py <release-image> --go-version
<module> is the full Go module path the user is asking about (e.g. google.golang.org/protobuf, golang.org/x/net, k8s.io/client-go — any valid module works).
--correlate-builder scans Dockerfiles or Containerfiles selected by release image build configs, including distinct OKD variants. Omit it only when the user wants all matching files in each source repository.--build-root reports Go versions from each component's .ci-operator.yaml build root image tag (e.g. rhel-9-release-golang-1.26-openshift-5.0 → 1.26). This shows the CI build environment Go version, which may differ from the Dockerfile builder.--correlate-builder --build-root) when the user asks about both Dockerfile builders and CI build roots. This avoids a redundant pass over the release — both lookups share the same source-repo resolution. The combined output appends build root tag and build root go version columns to each Dockerfile row. Prefer the combined form when both kinds of evidence are needed.--build-root produces a compact 4-column output (component, repository, build root tag, go version) without Dockerfile scanning.payload_name. For nutanix-cluster-api-controllers, it scans openshift/Dockerfile.openshift in the source repository at the release-recorded ref when no build-data config matches; identify that row as source-repository evidence.google.golang.org/grpc). Use --go-version only when the user asks about go directives in go.mod. Run multiple scripts when the question needs both kinds of evidence.go.mod path in its output.(none), unknown values, and lookup errors as unknown or unavailable. Report module replacements as declared in script output, including local paths and fork modules. A builder tag such as golang-1.26 identifies the declared builder image version; a go directive or module declaration does not prove which compiler built the final image or which module version its binary contains.What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/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./go-lint-fixRun golangci-lint and fix all reported issues. Use only when explicitly asked to fix lint issues in a Go project.npx claudepluginhub openshift-eng/ai-helpers --plugin golangOther plugins' skills for the same job