Reviews and merges Dependabot pull requests for Go modules (gomod) at the sq repo root. Use for dependabot gomod PRs, go.mod/go.sum updates, and Go module security bumps—not site/ Bun PRs.
75
94%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Maintainer workflow for Dependabot PRs updating go.mod /
go.sum at the repository root. For site/
Bun/Hugo PRs, use sq-site-dependabot; for
GitHub Actions pins under .github/workflows/, use
sq-actions-dependabot.
No bun.lock sequencing — multiple gomod PRs are less coupled than site PRs,
but still prefer merging after CI is green.
| Mode | Actions | Merge |
|---|---|---|
| Audit | List/classify; direct vs indirect | No |
| Validate | Diff review; make test-short | No |
| Full | Validate + merge with consent | Per PR |
Default to Audit unless the user asks to merge.
command -v gh >/dev/null && gh auth status
command -v go >/dev/null && go versionFrom repository root:
gh pr list --author 'app/dependabot' --state open \
--json number,title,headRefName,mergeable,statusCheckRollup \
--jq '.[] | select(.headRefName | test("^dependabot/")) | select(.title | test("go|gomod|golang"; "i"))'The title filter matches go/golang, so it also catches GitHub Actions PRs
like goreleaser-action or golangci-lint-action. Those touch only
.github/workflows/, not go.mod; hand them to
sq-actions-dependabot. Confirm the PR does
not only touch site/ (gh pr diff <n> --name-only); if it touches both,
split judgment: site hunks → sq-site-dependabot.
| Level | Examples | Action |
|---|---|---|
| Low | Patch indirect, test-only modules | Merge after CI |
| Medium | Direct minor/patch runtime dep | Notes + test-short |
| High | Major, replace, breaking sec | Hold; full review |
On PR branch:
make test-short
# or make test for full driver integration (Docker)Review go mod why / diff for unexpected indirect churn.
After required checks pass:
gh pr merge <n> --squash --delete-branchUse --admin only when the user explicitly requests and checks are green.
## Dependabot gomod PR #NNN — <module>
- **Direct/indirect:** …
- **CI:** pass / fail
- **make test-short:** pass / fail
- **Verdict:** merge | holdSee AGENTS.md.
58e03ba
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.