ワンクリックで
bump-go-version
Bumps the Go version to the latest release across go.mod, tools.mod, and Dockerfiles.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Bumps the Go version to the latest release across go.mod, tools.mod, and Dockerfiles.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Triage open GitHub issues for kubernetes-sigs/agent-sandbox by mapping them to roadmap.md and assigning k8s priority labels + Kanban Priority (P0–P4) on Project
Guides the agent to follow Kubernetes API conventions for OSS standards.
Enforces project-specific development rules and conventions.
| name | bump-go-version |
| description | Bumps the Go version to the latest release across go.mod, tools.mod, and Dockerfiles. |
This skill guides AI agents to update the Go version used throughout the agent-sandbox repository to the latest stable Go release. It ensures consistency across Go module definitions (go.mod, tools.mod, toolchain) and container image base layers (Dockerfile).
Determine the Latest Go Version:
go1.26.3). Execute this from the repository root:
./.agents/skills/bump-go-version/scripts/get-latest-go
go mod edit -go, use the numeric format 1.x (e.g., 1.26). This is the language version and should not specify a patch version.go mod edit -toolchain, use the go1.x.y format (e.g., go1.26.3).Dockerfiles, identify the corresponding official golang image tag (e.g., golang:1.26.3).Locate Target Files and Context:
FROM, go, and toolchain lines. Execute this from the repository root:
./.agents/skills/bump-go-version/scripts/find-files
go.mod, tools.mod, and Dockerfile* files in the repository along with their current version directives. (Note: site/go.mod is automatically excluded by the script).Update Go Module Directives:
toolchain directive in each go.mod and tools.mod file using go mod edit. Do not update the go language version directive by default, as bumping the minimum language version forces that requirement onto all downstream consumers of our modules.go mod edit -toolchain=go1.26.3 go.mod
go mod edit -toolchain=go1.26.3 tools.mod
go directive using go mod edit -go=1.x (specifying only the major/minor version, e.g., 1.26, without a patch version).
go mod edit -go=1.26 go.mod
site/go.mod. site/go.mod is a Hugo theme configuration file, not a Go code module, and modifying it or running Go tools against it will break the documentation build.Update Dockerfiles:
Dockerfile (or Dockerfile.*) identified by the script, inspect the file for any FROM golang:<version> or FROM --platform=$BUILDPLATFORM golang:<version> lines.golang:1.26.2 to golang:1.26.3).debian, distroless) unless specifically required.Verify and Test:
go mod tidy in directories containing go.mod files to verify module resolution and clean up dependencies.go mod tidy inside site/. Running Go's native go mod tidy in the Hugo site directory will fail or strip theme dependencies.make all (which includes lint(ing), building, and unit testing) from the repository root to ensure the project builds and tests pass successfully with the new Go version.scripts/get-latest-go: Fetches the latest stable Go release version string.scripts/find-files: Scans the repository and outputs all go.mod, tools.mod, and Dockerfile files along with their current version context lines (excluding site/go.mod).AGENTS.md and CONTRIBUTING.md)