skills/agent-merge-pr/SKILL.md
Script-first deterministic squash merge with strict required-check gating, head-SHA pinning, and reliable attribution/commenting.
npx skillsauth add fatby/duncrew merge-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.scripts/pr-merge verify <PR>
Backward-compatible verify form also works:
scripts/pr-merge <PR>
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
scripts/pr-merge verify <PR>
source .local/prep.env
scripts/pr-merge treats “no required checks configured” as acceptable ([]), but fails on any required fail or pending.
scripts/pr-merge run <PR>
scripts/pr-merge run performs:
PREP_HEAD_SHAMERGEDscripts/pr merge-run <PR>
Cleanup is handled by run after merge success.
MERGED, never CLOSED.tools
Use the webSearch tool to find information online.
development
Query weather information for any location.
tools
Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).
tools
Start voice calls via the OpenClaw voice-call plugin.