git-worktree-remove
Installation
SKILL.md
Git Worktree Remove
Overview
This skill removes git worktrees from the .worktrees/ directory and ensures all traces are completely cleaned up. It can remove a specific worktree by name or present an interactive selection menu when no name is provided.
When to Use This Skill
Use this skill when the user needs to:
- Remove a temporary worktree after completing work
- Clean up old worktrees that are no longer needed
- Free up disk space by removing unused worktrees
- Maintain a clean worktree directory
How It Works
The skill uses a bash script (scripts/remove_worktree.sh) that: