Finishing a Development Branch
Streamlines the final stages of a Git development cycle by verifying tests and automating merge or pull request workflows.
This skill manages the transition from completed implementation to code integration by providing a structured decision-making process within Claude Code. It automatically verifies that the project's test suite passes before offering integration options, including local merging, creating GitHub Pull Requests, or discarding the work. By automating branch cleanup and worktree management, it ensures a tidy repository and prevents the common mistake of merging broken code into primary branches, providing a consistent 'definition of done' for any development task.
Key Features
01Automated pre-merge test suite verification (npm, cargo, pytest, go)
02Intelligent Git worktree cleanup and local branch management
03Strict confirmation protocols for discarding work to prevent data loss
04291 GitHub stars
05Structured decision menu for four specific integration paths
06GitHub CLI integration for automated Pull Request creation with summaries
Use Cases
01Automating the creation of standardized GitHub Pull Requests with test plans
02Finalizing a feature branch after implementation tasks are complete
03Ensuring code quality via automated tests before merging into the main branch