What problem does it solve? When implementation work is done, developers face a risky decision point: how to integrate the branch without losing work, merging into the wrong base, or destroying uncommitted files during worktree cleanup. This Skill enforces a safe, structured completion workflow. ## Core Features & Use Cases - Test-Gated Integration: Runs the full test suite before presenting any options and re-verifies tests on the merged result before cleanup. - Environment-Aware Menus: Detects normal repos, named-branch worktrees, and detached HEAD states to present the correct merge, PR, or keep-as-is options. - Safe Worktree Cleanup: Removes only self-created worktrees under .worktrees/ or worktrees/, refuses forced deletion of uncommitted files, and requires typed confirmation before discarding work. - Use Case: After finishing a feature branch in a Git worktree, use this Skill to verify tests pass, choose between a local merge or a pull request, and clean up the worktree without losing uncommitted notes. ## Quick Start Use the finishing-a-development-branch skill to complete my current branch now that all tests pass.