From dev-workflows
Update all direct Go module dependencies to their latest versions, tidy the module graph, verify tests pass, and commit the result. Use when you want to bump deps, address CVEs, or do routine dependency maintenance.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-workflows:update-go-depsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Update all direct Go module dependencies to their latest versions, clean up the module graph, verify the build still works, and commit.
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.npx claudepluginhub mattermost/mattermost-ai-marketplace --plugin dev-workflowsAudits and updates Go module dependencies using go toolchain and govulncheck, with semver-aware patching and vulnerability checks.
Manages Go project dependencies: go.mod, upgrades, vulnerability scanning, conflict resolution, go.work workspaces, and automated update setup with Dependabot/Renovate.
Manages Go modules and dependencies: initializes projects, edits go.mod/go.sum, handles versioning/conflicts, sets up workspaces, troubleshoots errors.