skills/go-runtime-updater/SKILL.md
Pick the correct Go version for `go` and `toolchain` directives. Use when an agent needs to bump the Go version, update a go or toolchain directive, or align Go versions in go.mod, go.work, CI, containers, version manager files, or docs.
npx skillsauth add stefafafan/skills go-runtime-updaterInstall 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.
If the user did not give an explicit target, determine the latest exact stable Go version first.
Version: goX.Y.Z line. Treat that as the latest exact stable release.pkg.go.dev search results or a random package page. Use pkg.go.dev/std..0. Example: go1.26.1 maps to release line 1.26.0.1 from the minor version and using patch .0. Example: if the latest release line is 1.26.0, the previous major release line is 1.25.0.go directive, use the relevant release line with patch .0, not the latest patch release.go.mod And go.worktoolchain go... directive exists and the user wants the latest version, update only toolchain to the latest exact release. Do not change go.
Use go mod edit -toolchain=goX.Y.Z or go work edit -toolchain=goX.Y.Z.toolchain go... directive exists and the user wants a specific version, update only toolchain to that version. Do not change go.
Use go mod edit -toolchain=goX.Y.Z or go work edit -toolchain=goX.Y.Z.toolchain directive and the user wants a specific version that is not the latest release line, update go to that release line with patch .0.
Use go mod edit -go=X.Y.0 or go work edit -go=X.Y.0.toolchain directive and the user wants the latest version or latest major version, ask whether they want to raise the minimum supported Go version or keep compatibility by adding a toolchain directive instead.toolchain directive unless the user asks for it or confirms that they want the latest toolchain without raising the minimum supported Go version.go is the minimum required Go version.toolchain is a suggested toolchain for working in the module or workspace.toolchain by default; use it when the project wants a newer preferred toolchain without changing the minimum supported Go version.go1.26.1, file has go 1.25.0 and toolchain go1.25.7: update only to toolchain go1.26.1.1.24.6, file has only go 1.23.0: update to go 1.24.0.go 1.25.0: ask whether to change the minimum supported version to go 1.26.0 or add toolchain go1.26.1.go1.26.1: the previous major release line is 1.25.0.testing
Add a one-week cooldown to Dependabot or Renovate dependency update configuration. Use when a repository needs Dependabot `cooldown.default-days: 7`, Renovate `minimumReleaseAge: "7 days"`, or migration from Renovate `stabilityDays` to `minimumReleaseAge`.
testing
Update GitHub Actions workflows to use pnpm/action-setup cache support introduced in v4.3.0. Use when creating or editing workflow YAML files that install pnpm, especially when they use actions/setup-node cache: pnpm or actions/cache entries for pnpm store paths.
data-ai
Create or update GitHub Actions workflow files with remote `uses:` entries pinned to full commit SHAs annotated with the resolved release tag. Use whenever creating or updating a workflow file which contains `uses:` entries.
documentation
Draft conventional commit messages that explain why a change exists instead of listing what changed. Use when trying to write a git commit message.