What problem does it solve?
Finishing-a-development-branch helps developers decide and safely execute the final integration step for completed feature branches, preventing accidental merges of failing code and accidental deletion of work. It enforces test verification, explicit confirmations for destructive actions, and clear options for merging, creating a PR, preserving, or discarding work.
Core Features & Use Cases
- Test verification: Run and require passing test suites before offering integration choices.
- Structured options: Present exactly four concise actions (merge locally, push+create PR, keep branch, discard with confirmation).
- Execution and cleanup: Perform merges or pushes, create PRs, and optionally remove git worktrees while requiring typed confirmation before destructive operations.
- Use case: Finalizing a completed feature branch after implementation and local testing, choosing whether to merge, open a PR, preserve work, or discard changes safely.
Quick Start
Use the finishing-a-development-branch skill to verify tests and present the four integration options for the current feature branch.