From pr-workflow
Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pr-workflow:merge-prThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Merge a prepared PR only after deterministic validation.
Merge a prepared PR only after deterministic validation.
.local/prep.env from the PR worktree.gh pr merge --auto in this flow.git push directly.--match-head-commit during merge.${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge verify <PR>
Backward-compatible verify form also works:
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge <PR>
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge run <PR>
merge_sha=<sha>merge_author_email=<email>comment_url=<url>require=(.local/review.md .local/review.json .local/prep.md .local/prep.env)
for f in "${require[@]}"; do
[ -s "$f" ] || { echo "Missing artifact: $f"; exit 1; }
done
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge verify <PR>
source .local/prep.env
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge treats "no required checks configured" as acceptable ([]), but fails on any required fail or pending.
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge run <PR>
${CLAUDE_PLUGIN_ROOT}/scripts/pr-merge run performs:
PREP_HEAD_SHAMERGED${CLAUDE_PLUGIN_ROOT}/scripts/pr merge-run <PR>
Cleanup is handled by run after merge success.
MERGED, never CLOSED.npx claudepluginhub nikolasp98/minion_plugins --plugin pr-workflowVerifies CI status, local tests, and repo safety before merging a PR, with post-merge health monitoring. Use when landing a completed implementation.
Merges reviewed PRs when triggered by /pr-merge or merge commands. Handles squash/rebase, worktrees, integration branches, and auto-merge for CI gating.
Runs a 4-step PR close sequence: reviewer-summary comment, squash-merge with PR title as commit subject, delete remote branch, close linked tracker issues. Use when merging or closing a PR.