Automerge — Git skill for Claude Code
PR automation - validate, merge, cleanup, and sync.
How to install Automerge
Installs to ~/.claude/skills/gr8monk3ys-skills-automerge/SKILL.md
mkdir -p ~/.claude/skills/gr8monk3ys-skills-automerge && curl -fsSL https://raw.githubusercontent.com/gr8monk3ys/skills/HEAD/commands/automerge.md -o ~/.claude/skills/gr8monk3ys-skills-automerge/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Automerge does
description: PR automation - validate, merge, cleanup, and sync model: claude-sonnet-4-6
Auto Merge Workflow
Automated pull request validation, merging, and cleanup with full verification gates.
PR: $ARGUMENTS
Quick Usage
/automerge #456 # Validate and merge PR
/automerge #456 --squash # Force squash merge
/automerge #456 --rebase # Force rebase merge
/automerge #456 --dry-run # Check without merging
**When to use**: After PR is approved and ready to
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- Validate Title Provided — if [ -z "$PLAN_TITLE" ]; then echo "❌ Error: Plan title required" echo "Usage: /sync-todos-to-github \"Plan Ti 618 ★
- Skill Validate — Run local CI validation on all skills and agents in the spellbook — same checks as .github/workflows/ci.yml 186 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Finish PR
Post-merge cleanup -- verify merge state, sync dev, delete branch, close issue
Sync Todos To GitHub
Convert TodoWrite task list to GitHub plan issue (triggers automation)
Hybrid Complete
Complete Hybrid Ralph task in worktree, verify all stories complete, commit code changes (excluding planning f
Finishing A Development Branch
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides
Post Merge
Execute post-merge actions including syncing main, re-running tests, and cleanup
PR Merged
Post-merge cleanup — checkout main, pull latest, delete the feature branch, and close the linked work item.
Related Agents
Merge Cleanup
Commits worktree changes, cherry-picks them to main, removes the worktree, and prunes the branch. Use at the e
Kss Sonnet Low
KSS executor — sonnet, low effort. One layer, 1-2 files, copying an existing pattern. Also used for integratio
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes