skills/agent-prepare-pr/SKILL.md
Script-first PR preparation with structured findings resolution, deterministic push safety, and explicit gate execution.
npx skillsauth add fatby/duncrew prepare-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.
Prepare the PR head branch for merge after /review-pr.
.local/pr-meta.env if present in the PR worktree.main.--force-with-lease against known head SHA.git clean -fdx.scripts/pr-prepare init <PR>
.local/review.json is mandatory.BLOCKER and IMPORTANT items.Commit scoped changes with concise subjects (no PR number/thanks; those belong on the final merge/squash commit).
Run gates via wrapper.
Push via wrapper (includes pre-push remote verification, one automatic lease-retry path, and post-push API propagation retry).
Optional one-shot path:
scripts/pr-prepare run <PR>
scripts/pr-prepare init <PR>
ls -la .local/review.md .local/review.json .local/pr-meta.env .local/prep-context.env
jq . .local/review.json >/dev/null
List required items:
jq -r '.findings[] | select(.severity=="BLOCKER" or .severity=="IMPORTANT") | "- [\(.severity)] \(.id): \(.title) => \(.fix)"' .local/review.json
Fix all required findings. Keep scope tight.
jq -r '.changelog' .local/review.json
jq -r '.docs' .local/review.json
Use concise, action-oriented subject lines without PR numbers/thanks. The final merge/squash commit is the only place we include PR numbers and contributor thanks.
Use explicit file list:
scripts/committer "fix: <summary>" <file1> <file2> ...
scripts/pr-prepare gates <PR>
scripts/pr-prepare push <PR>
This push step includes:
.local/prep.env generation.ls -la .local/prep.md .local/prep.env
PR is ready for /merge-pr.gh pr merge in this skill.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.