Ships in dots-dev. Installing the plugin adds it to Claude Code.
What the command file sets; muted values are Claude Code's defaults
Deletes specified worktrees, closes associated iTerm tabs, and cleans up branches.
Usage: /dots-dev:worktree-delete <name1> [name2] [...]
git worktree listcat ~/.claude/worktree-registry.json 2>/dev/null || echo "{}"Delete the worktree(s) specified in the user's command arguments.
If no names provided, show available worktrees and usage info instead.
For each worktree name provided:
Find the worktree path: Look for it in git worktree list output.
Get the branch name: Extract from the worktree list or use git -C <path> branch --show-current.
Close iTerm tab if registered: Check registry for a tab_id, then close it (may fail if already closed):
osascript -e 'tell application "Terminal" to close (first tab of first window whose id is <tab_id>)' 2>/dev/null
Remove the git worktree: git worktree remove <path> --force
Delete the branch: git branch -D <branch-name>
Remove from registry:
jq --arg path "<worktree-path>" 'del(.[$path])' ~/.claude/worktree-registry.json > ~/.claude/worktree-registry.json.tmp && mv ~/.claude/worktree-registry.json.tmp ~/.claude/worktree-registry.json
Show remaining worktrees: Display git worktree list.
7-day visitors to each command page
18 commands in this plugin
/broadcastBroadcast to WorktreesSend a message to all active worktree sessions/doctorDots Dev DoctorHealth check for worktrees, branches, and beads/helpDots Dev Plugin HelpShow all dots-dev plugin commands and agents/servus-attachAttach to Servus SessionAttach to a Servus tmux session via iTerm/servus-checkServus Status CheckCheck status of all active Servi workers/servus-listList Servus SessionsList active Servus tmux sessions with their statusnpx claudepluginhub objectiveous/dots-claude-plugins --plugin dots-devOther plugins' commands for the same job