/dev-workflows:update-go-depsfrom dev-workflows
Updates all direct Go module dependencies to latest versions, tidies the module graph via go mod tidy, verifies tests and build pass, then commits changes. Use for routine dep bumps or CVE fixes.
Ships in dev-workflows. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Update all direct Go module dependencies to their latest versions, clean up the module graph, verify the build still works, and commit.
git status. If there are uncommitted changes, stop and ask the user how to proceed.find . -name go.mod -not -path '*/vendor/*'. Work through each module directory in turn.For each module directory:
cd into the directory.go get -u ./... to upgrade all direct dependencies to their latest minor/patch versions.go mod tidy to prune unused indirect deps and update go.sum.vendor/ directory exists, run go mod vendor to sync it.go build ./... — fix any compilation errors before continuing.go test ./... — if tests fail, investigate whether the failure is pre-existing or caused by the update.
go get <module>@<version>, then re-tidy.golangci-lint, make check-style), run it and fix new issues introduced by the updated deps.Generate a human-readable summary of what changed:
git diff -- '*/go.mod'
Group changes by type:
go.mod, go.sum, and vendor/ (if present): do not stage unrelated files.chore(deps): update Go dependencies
<paste summary of notable upgrades here>
go directive in go.mod — use /dev-workflows:update-go-version to update the module's go directive.replace directive in go.mod, preserve it unless the user explicitly asks to remove it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mattermost/mattermost-ai-marketplace --plugin dev-workflows3 skills in this plugin
/update-github-actionsUpdate all GitHub Actions workflow dependencies (uses: owner/action@vX) to their latest released versions. Fetches current releases from GitHub, updates all workflow YAML files to use SHA pinning with version comments, and commits./update-go-versionUpdate the Go version in go.mod (and related config files) to the latest stable release. Fetches the current latest version from the web, updates all relevant files, runs go mod tidy, and commits.