What problem does it solve? When implementation work is done and tests pass, developers still face a risky decision: how to integrate the branch without losing work, merging into the wrong base, or destroying uncommitted files in a worktree. This Skill enforces a safe, repeatable finish workflow. ## Core Features & Use Cases - Test-Gated Integration: Runs the full test suite first and stops if anything fails, so only green work gets integrated. - Environment-Aware Options: Detects normal repos, named-branch worktrees, and detached HEAD states, then presents the correct merge, pull request, or keep-as-is menu. - 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 in a Git worktree, use this Skill to verify tests, merge back to the base branch, re-run tests on the merged result, and clean up the worktree and branch. ## Quick Start Ask the assistant to finish the current development branch using this skill once all tests pass, then choose whether to merge locally, open a pull request, or keep the branch. ## Quick Start Note This skill is guarded for the superpowers workflow mode; run ./scripts/hooks/workflow-mode.sh status first.