Golang

Golang from openshift-eng/ai-helpers.

by @openshift-eng 4 skills

Skills in this plugin

4
  1. Fix Cve · openshift-eng
    Patch 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.
    1 install
  2. Go Lint · openshift-eng
    Run 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.
    1 install
  3. Go Lint Fix · openshift-eng
    Run golangci-lint and fix all reported issues. Use only when explicitly asked to fix lint issues in a Go project.
    1 install
  4. Triage Fixed Cves · openshift-eng
    Triage 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.
    1 install