What problem does it solve? When implementation work is done, developers often face an ambiguous decision point: merge locally, open a pull request, keep the branch, or discard it. This Skill removes that ambiguity by verifying tests first, detecting the git environment, and presenting a structured set of completion options with safe execution and cleanup. ## Core Features & Use Cases - Test Gate Before Completion: Runs the project's test suite and blocks any merge or PR until all tests pass. - Environment Detection: Distinguishes normal repositories, named-branch worktrees, and detached HEAD states to present the correct option menu. - Structured Options and Safe Cleanup: Presents exactly four options (merge, PR, keep, discard), executes the chosen workflow, and removes worktrees only when provenance confirms ownership. - Use Case: After finishing a feature on a branch in a git worktree, invoke this Skill to verify tests, merge back to main, remove the worktree, and delete the branch in the correct order. ## Quick Start Use the finishing-a-development-branch skill to complete this branch now that all tests pass.