What problem does it solve?
Many feature branches finish development without a clear, safe path to integrate or dispose of work; this Skill removes ambiguity by verifying tests, offering explicit choices, and enforcing safe cleanup and confirmation rules so work is not lost or merged unsafely.
Core Features & Use Cases
- Test Verification: Require and verify passing test suites before any merge, push, or PR creation.
- Structured Decision Flow: Determine the correct base branch, then present exactly four concise options: merge locally, push and create a PR, keep the branch, or discard the work.
- Safe Execution & Cleanup: Execute merges, push branches and create PRs with a defined message format, require typed confirmation for destructive discards, and remove git worktrees when appropriate.
- Use Case: After completing a feature and running tests locally, use this Skill to decide whether to merge into main, open a PR for review, preserve the worktree for further edits, or securely discard the branch with confirmation.
Quick Start
Use the finishing-a-development-branch skill to verify tests, choose an integration option, and perform the selected merge, PR creation, or safe cleanup.