shaunstoll

Auto Merge — Git skill for Claude Code

Git community

Turn on auto-merge for a PR only once all review threads are resolved, CI is fully green, and it's approved — otherwise hold (and let /monitor-pr re-drive it).

How to install Auto Merge

Installs to ~/.claude/skills/shaunstoll-skills-auto-merge/SKILL.md

Terminal
mkdir -p ~/.claude/skills/shaunstoll-skills-auto-merge && curl -fsSL https://raw.githubusercontent.com/shaunstoll/skills/HEAD/commands/auto-merge.md -o ~/.claude/skills/shaunstoll-skills-auto-merge/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Auto Merge does


description: Turn on auto-merge for a PR only once all review threads are resolved, CI is fully green, and it's approved — otherwise hold (and let /monitor-pr re-drive it) argument-hint: [pr-number]

Turn on auto-merge for PR `$ARGUMENTS` — or the current branch's open PR if no number given (`gh pr view --json number --jq .number`). Unlike GitHub's native "merge when ready" (which arms early and waits), this only turns on once the PR is *fully* ready — every review thread resolved, all C

Alternatives in Git

  • GitHub Review Failures — Use when CI checks are failing on a PR — fetches failure logs, diagnoses root causes, implements fixes, and pu 1.5k ★
  • PR Fixup — Run the Kandev PR fixup loop for CI failures and automated review threads 697 ★
  • Drive Acquisition — Work GitHub issues that drive acquisition — verify relevance, close stale ones, fan out at most two engineer a 324 ★

Full documentation available on GitHub

View Source Repository