What problem does it solve? Merging a delivery branch directly into main without a pull request risks shipping unreviewed code, merging a branch that moved after review, or leaving the repository in a broken state. This Skill enforces a disciplined local merge workflow with quality gates, independent reviews, and exact-SHA pinning so direct merges stay safe. ## Core Features & Use Cases - Pinned-SHA review and merge: Resolves immutable source and target SHAs, reviews the exact pinned diff with correctness and architecture lenses, and refuses to merge a source ref that advanced after review. - Local quality gates and merge gate: Runs the repository's existing lint, typecheck, build, and test contract before review, auto-proceeds for batches of 10 commits or fewer, and requires explicit confirmation for larger batches. - Safe completion and recovery: Merges with --no-ff, verifies the remote target contains the merge, restores the starting branch on every exit path, and provides a recovery table for failures like conflicts, dirty trees, and stale reviews. - Use Case: You finished a feature on the dev branch and want it in main without opening a pull request or waiting on remote CI. Invoke the Skill to validate, review, confirm, merge, and push in one audited local workflow. ## Quick Start Use the merge-to-main skill to review and merge my dev branch into main with local quality gates.