What problem does it solve?
This Skill helps developers conclude work on a feature branch by ensuring tests are verified, presenting a concise set of integration choices, and executing the chosen workflow while preventing accidental data loss.
Core Features & Use Cases
- Test-first verification: Mandates running the project's test suite and halts if tests fail to avoid merging broken code.
- Structured decision flow: Presents exactly four options—merge locally, push and create a PR, keep the branch, or discard—with clear execution steps for each.
- Safe cleanup and confirmations: Detects and removes git worktrees when appropriate and requires typed confirmation before destructive operations.
- Use Case: After completing a feature and confirming all tests pass, use this Skill to either merge locally, push and open a pull request with a structured PR body, preserve the branch for later work, or safely discard it with confirmation.
Quick Start
Use the finishing-a-development-branch skill to verify tests, choose merge/push/keep/discard, and perform the selected git workflow.