Manage git worktrees with iTerm2 integration. Use when user asks to create isolated development environments, work on features in parallel, manage worktrees, open worktrees in new tabs/windows, switch between worktrees, or close completed worktrees. Triggers on "create worktree", "new worktree", "feature branch with worktree", "open worktree", "switch worktree", "close worktree", "list worktrees", or mentions wanting to work on multiple features simultaneously.
/plugin marketplace add chadboyda/chadboyda-agent/plugin install chadboyda-iterm-worktree-plugins-iterm-worktree@chadboyda/chadboyda-agentThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/worktree.pyAutomate git worktree management with iTerm2 tab/window integration for parallel feature development.
| Command | Description |
|---|---|
create <branch> | Create worktree + branch, open in iTerm2 |
close <worktree> | Safely remove worktree after validation |
list | Show all worktrees with iTerm2 tab status |
switch <worktree> | Focus existing worktree tab |
open <worktree> | Open existing worktree in new tab |
Run the script at scripts/worktree.py:
python3 scripts/worktree.py <command> [options]
Create a new worktree with feature branch:
python3 scripts/worktree.py create feature-auth
python3 scripts/worktree.py create feature-auth --base develop
python3 scripts/worktree.py create feature-auth --from-current # Branch from current branch
python3 scripts/worktree.py create feature-auth --open-mode new_window
python3 scripts/worktree.py create feature-auth --claude --task "Implement user authentication"
Options:
--base, -b: Base branch (default: main/master)--from-current, -f: Branch from current branch instead of main/master--path, -p: Custom worktree path (default: sibling directory)--open-mode, -o: new_tab, new_window, new_pane_right, new_pane_below--no-iterm: Skip iTerm2 automation--claude, -c: Launch Claude in the new tab--task, -t: Task description for ClaudeSafely remove a worktree after validating clean state:
python3 scripts/worktree.py close feature-auth
python3 scripts/worktree.py close feature-auth --delete-branch
python3 scripts/worktree.py close feature-auth --force
Options:
--force, -f: Force removal despite uncommitted/unpushed changes--delete-branch, -d: Also delete the branchShow all worktrees with iTerm2 tab indicators:
python3 scripts/worktree.py list
python3 scripts/worktree.py list --json
Focus an existing iTerm2 tab, or open new if not found:
python3 scripts/worktree.py switch feature-auth
Open existing worktree in iTerm2:
python3 scripts/worktree.py open feature-auth
python3 scripts/worktree.py open feature-auth --open-mode new_pane_right
python3 scripts/worktree.py open feature-auth --force # Open new tab even if exists
create feature-name - Creates worktree + branch in new tabswitch other-feature - Jump between parallel featuresclose feature-name --delete-branch - Remove worktree and branchThis skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.