What problem does it solve? When implementation work is done and tests pass, developers face an error-prone decision point: merge locally, open a pull request, or keep the branch. This Skill structures that decision, verifies the test suite first, detects the git environment (normal repo, worktree, or detached HEAD), and executes the chosen integration path safely with proper cleanup. ## Core Features & Use Cases - Test Gate Before Integration: Runs the full test suite and stops if anything fails, so only green work gets merged or pushed. - Environment-Aware Menus: Detects normal repos, named-branch worktrees, and detached HEAD states, then presents the correct set of integration options for each. - Safe Worktree Cleanup: Removes only self-created worktrees under .worktrees/ or worktrees/, refuses to force-delete uncommitted files, and requires explicit typed confirmation before discarding work. - Use Case: After finishing a feature branch in a git worktree, use this Skill to verify tests, merge into the confirmed base branch, re-test the merged result, and clean up the worktree and branch. ## Quick Start Ask the assistant to finish the current development branch using the finishing-a-development-branch skill and present the integration options.