What problem does it solve? After a pull request is merged, developers often leave behind stale task worktrees, merged local and remote branches, and outdated plan files. This Skill automates the entire post-merge cleanup so the workspace is immediately ready for the next task. ## Core Features & Use Cases - Worktree Cleanup: Verifies the task worktree has no uncommitted changes, then removes it from the main worktree using non-forced git worktree remove and prunes stale entries. - Branch Deletion: Deletes merged local branches with safe git branch -d (never -D) and removes remote branches only after confirming via git ls-remote that the PR is merged. - Plan File Reset: Marks tasks in docs/current-plan.md as COMPLETED or BLOCKED, then resets the file to its initial template state. - Use Case: After your feature PR is merged on GitHub, tell the agent to start cleanup; it switches to main, pulls the latest merge commit, removes the task worktree and branches, resets the plan file, and reports a full cleanup summary. ## Quick Start Tell the agent the PR has been merged and ask it to run the finish-task cleanup for that PR number.