From wt
Manage git worktrees with iTerm2 integration. Use when the user asks to create, open, list, delete, sync, or merge worktrees. Triggers on phrases like "create a worktree", "open worktree for branch X", "list worktrees", "delete worktree", "sync worktree", "merge worktree", or "wt" commands.
How this skill is triggered — by the user, by Claude, or both
Slash command
/wt:manage-worktreesThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
WT manages git worktrees with dedicated iTerm2 windows on macOS.
WT manages git worktrees with dedicated iTerm2 windows on macOS. Each worktree gets a window with Claude Code on top and a shell on bottom.
When the wt MCP server is installed, use these tools directly:
wt_listList worktrees for a repository with status information.
wt_createCreate a new worktree + branch + iTerm2 window.
wt_openOpen or focus an iTerm2 window for an existing worktree.
wt_deleteClose iTerm2 window and remove worktree.
wt_syncSync worktree with base branch (merge or rebase base into feature).
merge (default) or rebasewt_mergeMerge worktree branch into base branch or push for PR.
merge (default) or rebase (rebase-then-fast-forward)If MCP tools are unavailable, use the wt CLI via Bash:
# List worktrees
wt list
# Create worktree (also: wt new, wt create)
wt create feature/my-branch
wt create feature/my-branch --base develop
wt create feature/my-branch --no-claude
# Open/focus existing worktree
wt open feature/my-branch
wt feature/my-branch # shorthand
# Delete worktree
wt delete feature/my-branch
wt delete feature/my-branch --force
wt delete --all
# Sync with base branch
wt sync feature/my-branch
wt sync feature/my-branch --rebase
wt sync --all
# Merge into base
wt merge feature/my-branch
wt merge feature/my-branch --rebase
wt merge feature/my-branch --pr
wt merge feature/my-branch --pr --draft
Config file: ~/.config/wt/config.yaml
base_branch: main # Default base branch
no_claude: false # Skip Claude in iTerm windows
rebase: false # Use rebase instead of merge by default
state_dir: ~/.config/wt # Where state.json is stored
Environment variables override config: WT_BASE_BRANCH, WT_NO_CLAUDE, WT_REBASE.
wt_create with branch feature/my-feature - creates worktree + iTerm windowwt_sync to pull in latest changes from mainwt_merge with pr=true to push and create PR, or without pr for local mergewt_create with the existing branch name - detects it exists and checks it outwt_delete when done reviewingwt_list to see all worktrees and their statuswt_delete stale worktrees (check for dirty/unpushed first)repo_path parameter must be an absolute path to the git repository<repo_path>.worktrees/<dirname>/feature/login -> login)force=truewt mcp install (writes to ~/.claude.json)npx claudepluginhub joescharf/cc-joescharf-marketplace --plugin wtProvides expert guidance on @desplega.ai/wts CLI for managing Git worktrees: create/switch/delete with tmux and Claude Code integration, GitHub PR creation, and cleanup of merged branches.
Automates Git worktree creation for isolated feature branches, listing, removal, and status checks. Copies env files like .env/.nvmrc and runs npm/yarn/pnpm/bun install.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.