What problem does it solve?
This Skill guides the finalization of a development branch by ensuring tests are verified, offering a fixed set of integration choices, and preventing accidental loss of work or premature merges.
Core Features & Use Cases
- Test Verification: Runs or instructs verification of the project's test suite and halts if failures are present to avoid introducing regressions.
- Structured Decision Flow: Presents exactly four concise options (merge locally, push & create PR, keep as-is, discard) and executes the chosen git workflow with required confirmations.
- Worktree & Cleanup Management: Detects and removes git worktrees when appropriate and enforces typed confirmation for destructive actions.
- Use Case: After finishing a feature and ensuring tests pass, use this Skill to choose whether to merge into the base branch, open a PR for review, preserve the branch for later work, or safely discard it with confirmation.
Quick Start
Use the finishing-a-development-branch skill to verify tests, select one of the four options (merge, create PR, keep, or discard), and perform the corresponding git and worktree actions with required confirmations.