worktree
Installation
SKILL.md
Git Worktree Manager
Manages the full lifecycle of git worktrees: creation, monitoring, cleanup, and maintenance.
Subcommands
| Command | Alias | Description |
|---|---|---|
/worktree create <name> |
/worktree <name> |
Create new worktree with conventional branch naming |
/worktree list |
/worktree ls |
Show all worktrees with status and branch info |
/worktree remove <path> |
/worktree rm |
Remove worktree + cleanup branches |
/worktree cleanup |
- | Interactive batch removal of multiple worktrees |
/worktree prune |
- | Remove stale worktree references |
/worktree lock <path> |
- | Prevent worktree from being auto-pruned |
/worktree unlock <path> |
- | Allow worktree to be pruned again |
Default: No subcommand or unrecognized arg = create