agentsclimarketplace

Sq gomod dependabot

Skill neilotoole/sq/.agents/skills/sq-gomod-dependabot

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.From its SKILL.md

Install
npx -y skills add neilotoole/sq --skill sq-gomod-dependabot

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

3.1 KB, as published. Nobody here has run it

sq-gomod-dependabot

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.

Operating modes

ModeActionsMerge
AuditList/classify; direct vs indirectNo
ValidateDiff review; make test-shortNo
FullValidate + merge with consentPer PR

Default to Audit unless the user asks to merge.

Phase 0 — Tool bootstrap

command -v gh >/dev/null && gh auth status
command -v go >/dev/null && go version

Phase 1 — Discovery

From 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.

Phase 2 — Risk

LevelExamplesAction
LowPatch indirect, test-only modulesMerge after CI
MediumDirect minor/patch runtime depNotes + test-short
HighMajor, replace, breaking secHold; full review

Phase 3 — Validate

On PR branch:

make test-short
# or make test for full driver integration (Docker)

Review go mod why / diff for unexpected indirect churn.

Phase 4 — Merge (consent-gated)

After required checks pass:

gh pr merge <n> --squash --delete-branch

Use --admin only when the user explicitly requests and checks are green.

Verdict template

## Dependabot gomod PR #NNN — <module>

- **Direct/indirect:** …
- **CI:** pass / fail
- **make test-short:** pass / fail
- **Verdict:** merge | hold

See AGENTS.md.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.