What problem does it solve? Moving uncommitted work from a stale branch onto an updated main and opening a clean PR is error-prone: stale local main pointers block checkout, squash merges confuse history, tooling directories get committed accidentally, and PR checklists get ticked without actually running the gates. This Skill walks the full delivery path with verification at each step. ## Core Features & Use Cases - Stale-pointer recovery: Fixes a stale local main with git branch -f main origin/main from the current branch instead of losing work to stash or reset. - Clean staging and commit hygiene: Excludes tooling dirs and build artifacts via .gitignore checks, verifies staged content, and waits for explicit user approval before any commit. - PR base topology mapping: Uses merge-base and ..dev logs to pick the correct base branch instead of trusting a stale origin/HEAD. - Template-faithful PR creation: Fills the repo's pull_request_template.md sections, re-runs CI gates in order, creates the PR via gh, and verifies it is OPEN and MERGEABLE. - Use Case: You have a dirty worktree on an old feature branch and ask to pull latest main, carry all changes to a new branch, and open a PR — the Skill preserves every change, commits with a conventional message, and opens a verified PR. ## Quick Start Ask the agent to pull the latest main, carry all uncommitted changes onto a new feature branch, and open a pull request following the repo template.