bump-go-dependencies
Installation
SKILL.md
Bump Direct Go Dependencies
When asked to update or bump Go dependencies, follow this procedure.
1. List Outdated Direct Dependencies
Run the following to get a list of direct dependencies that have newer versions available:
go list -m -u -json all 2>/dev/null | jq -r 'select(.Indirect != true and .Update != null) | "\(.Path) \(.Version) \(.Update.Path) \(.Update.Version)"'
This produces lines of the form:
module/path current_version update_path new_version
If the command produces no output, all direct dependencies are already up to date. Inform the user and stop.