What problem does it solve?
This skill provides a structured workflow for completing development work on a Git branch, ensuring all tests pass and offering clear options for integration (merge, PR, discard) or preservation. It automates the final steps of a feature lifecycle, preventing errors and ensuring proper cleanup, saving developer time and maintaining repository hygiene.
Core Features & Use Cases
- Test Verification: Mandates running and passing all tests before any integration options are presented.
- Structured Options: Presents exactly four clear choices: merge locally, push and create PR, keep as-is, or discard work.
- Automated Execution: Executes the chosen Git command (merge, push, delete branch) and handles worktree cleanup.
- Safety Confirmation: Requires explicit confirmation before discarding work to prevent accidental data loss.
- Use Case: After completing a new feature and verifying all tests pass, use this skill to seamlessly create a pull request, ensuring your changes are properly integrated and your development environment is cleaned up.
Quick Start
I've finished implementing the user profile update. Use the finishing-a-development-branch skill to complete this work.