/pr-autopilot:automerge [owner/repo]from pr-autopilot
Opt a repo into pr-autopilot safe auto-merge. Use /pr-autopilot:automerge <owner/repo> (or no arg for the current repo). When the loop reaches SUCCESS, autopilot queues a squash merge to the integration branch (dev) — never to master/main/production, always CI-gated. Separate from /pr-autopilot:allow.
Ships in pr-autopilot. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Adds a repository to ~/.pr-autopilot/automerge-repos so that when the review loop reaches SUCCESS on a PR there, autopilot queues a safe auto-merge to the integration branch instead of just notifying.
This is a standing "explicit ask" to auto-merge. It is opt-in, dev-only, CI-gated, and never merges to master/main/production (those stay manual via /land-and-deploy). Default (repo not listed) = auto-merge OFF, behavior identical to v0.3 (notify-and-stop). This allowlist is separate from v0.3's ~/.pr-autopilot/allowed-repos (auto-trigger). For a fully hands-off repo you need BOTH /pr-autopilot:allow (auto-start the loop) AND /pr-autopilot:automerge (auto-merge at the end).
<owner/repo> was given, use it.git remote get-url origin → parse owner/repo (strip github.com[:/] prefix and .git suffix). If no origin remote, STOP: "Not in a git repo with a github origin — pass an explicit owner/repo."gh repo view <owner/repo> --json nameWithOwner -q .nameWithOwner. If it fails, STOP: "Repo <owner/repo> not found or not accessible — check the name / your gh auth." Use the returned nameWithOwner (GitHub's canonical casing) as the value to store — NOT the raw user-typed argument. The auto-merge Gate 1 matches the allowlist case-insensitively (same matching as /pr-autopilot:allow), so casing differences are tolerated; storing the canonical nameWithOwner keeps the file clean.nameWithOwner from step 2):
mkdir -p ~/.pr-autopilot
touch ~/.pr-autopilot/automerge-repos
# $CANON is the nameWithOwner from step 2 (e.g. octo-org/my-repo), not the raw input
grep -qxF "$CANON" ~/.pr-autopilot/automerge-repos || echo "$CANON" >> ~/.pr-autopilot/automerge-repos
dev, autopilot will queue a squash merge (never to master/main/production; CI-gated). Pause anytime with /pr-autopilot:pause." Show the current allowlist: cat ~/.pr-autopilot/automerge-repos.Idempotent: re-running for an already-listed repo is a no-op.
Removal is a documented manual edit: $EDITOR ~/.pr-autopilot/automerge-repos (delete the line). Add-only by design, mirroring /pr-autopilot:allow.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marcinsufa/claude-pr-autopilot --plugin pr-autopilotOther plugins' skills for the same job
11 skills in this plugin
/allowAdd a repo to the pr-autopilot auto-trigger allowlist. Use /pr-autopilot:allow <owner/repo> (or no arg for the current repo). The auto-trigger hook only fires for allowlisted repos./approve-specUser-only gate from spec to TDD. Asks the user (AskUserQuestion) to approve, show or reject the reviewed spec; on approve the user runs approve-claim.sh in their own terminal, which writes `approvedAt` + `approvedBy` to the claim file and flips sub-status to `implementing`. The PreToolUse hook (`enforce-spec-gate.sh`) then unblocks writes outside `specs/`. Use when - "approve the spec", "give green light to TDD", "spec is good, proceed"./assignAtomically claim an assignment from `assignments.yaml`, create a worktree off `origin/main`, write the claim file, and brief the agent. Uses git branch creation as the atomic lock primitive — concurrent calls on the same id are racing on `git worktree add -b`; loser gets a graceful "claimed by X" message. Use when starting work on a pre-declared unit ("claim admin-d1", "start the next ready assignment").