What problem does it solve? Preparing a pull request for merge involves many error-prone manual steps: rebasing onto the latest main, addressing review feedback, running build and test gates, and pushing safely without touching protected branches. This Skill automates that entire workflow with strict safety guardrails. ## Core Features & Use Cases - Safe Rebase and Push: Rebases PR commits onto origin/main in an isolated git worktree and pushes with force-with-lease only to the PR head branch, never to main. - Review Fix Enforcement: Loads .local/review.md and requires all BLOCKER and IMPORTANT findings to be fixed before proceeding. - Gate Verification: Runs pnpm build, check, and test before pushing, with a documented skip path for docs-only changes. - Use Case: After running /review-pr on a contributor's pull request, invoke this Skill to apply the fixes, verify all gates pass, and produce merge handoff artifacts (.local/prep.md and .local/prep.env) for the /mergepr step. ## Quick Start Use the prepare-pr skill to prep PR number 123 for merge by rebasing it, fixing the review findings, running the gates, and pushing to the head branch.