What problem does it solve? When implementation work is done, developers often face an ambiguous "what now?" moment — risking merging broken code, deleting work accidentally, or leaving stale branches and worktrees behind. This Skill replaces that ambiguity with a verified, structured completion workflow. ## Core Features & Use Cases - Test-First Verification: Runs the project's test suite (or npm run build + npm run lint for repos without tests) before offering any completion option, blocking merges of failing code. - Environment-Aware Options: Detects normal repos, named-branch worktrees, and detached HEAD states via git internals, then presents exactly 4 options (merge locally, push and create PR, keep as-is, discard) or 3 for detached HEAD. - Safe Cleanup with Provenance: Removes only self-created worktrees under .worktrees/ or worktrees/, requires typed "discard" confirmation for deletion, and runs git worktree prune after removal. - Use Case: After finishing a feature on a branch in a git worktree, invoke this Skill to verify tests pass, choose "merge back to main locally", and have the worktree removed and branch deleted in the correct order. ## Quick Start Ask the assistant to finish the current development branch using the finishing-a-development-branch skill after all tests pass.