What problem does it solve? When implementation work is done, developers often face ambiguity about how to integrate their branch—risking broken merges, forgotten worktrees, or accidentally discarded work. This Skill enforces a disciplined completion workflow that verifies tests first and presents clear integration choices. ## Core Features & Use Cases - Test Gate Before Integration: Runs the project's test suite and blocks any merge or PR until all tests pass, preventing broken code from reaching the base branch. - Four Structured Options: Presents exactly four choices—merge locally, push and create a Pull Request via gh, keep the branch as-is, or discard with typed confirmation. - Worktree Cleanup: Automatically removes git worktrees for merged or discarded branches while preserving them when a PR or keep-as-is option is chosen. - Use Case: After finishing a feature branch in a git worktree, invoke this Skill to verify tests pass, create a Pull Request with a summary and test plan, and clean up the worktree in one guided flow. ## Quick Start Use the finishing-a-development-branch skill to complete my current feature branch and help me decide how to integrate it.