Software Development

Worktree Cleaner

Inventory the git worktrees of the current repository, classify each one with evidence (merged, PR state, uncommitted or unpushed work, locked, stale, in use by a running session) and remove them one at a time or by group, always asking the user first and verifying every removal. Use when worktrees have piled up (for example one per Claude Code task or thread), when `git worktree list` is long, or when the user asks to clean up, prune or tidy worktrees.

Publisher / source
davila7/claude-code-templates (found on skills.sh)
Upstream record
davila7/claude-code-templates
Version
Version 3
Published
Publication review
Approved for publication
Content fingerprint
e63b21450fa56bdad2ceaf999786a321e205642761cf14aeb8b991f5e4d332e8