From dev
Creates a new git worktree for parallel development. Use when the user wants to work on something in a separate worktree, start parallel work, or isolate changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev:create-worktreeThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Creates a git worktree so the user can work on a separate branch in parallel without disturbing their current working directory.
Creates a git worktree so the user can work on a separate branch in parallel without disturbing their current working directory.
Current directory:
!pwd
Current branch:
!git branch --show-current
Worktree list:
!git worktree list
Git root:
!git rev-parse --show-toplevel
Git common dir:
!git rev-parse --git-common-dir
Check for project branch naming conventions by scanning CLAUDE.md, CONTRIBUTING.md, or similar project docs for branch naming policies. If a convention exists, follow it. If not, use bare <short-name> without prefix segments (no feat/, fix/, etc.).
Determine the branch based on current state:
main/master, or already in a worktree: Infer the scope of work from conversation context or the provided argument. Create a new branch name from that. Do not ask the user unless the scope is genuinely unclear.If the user provided an argument, use it to determine or influence the branch name.
Determine the parent directory for the worktree using the first matching condition:
main on branch main). Place the new worktree as a sibling in that parent directory.<repo-parent>/worktrees/<dir-name>, where <repo-parent> is the directory containing the repository root.Directory naming rules:
implement-login), use it as the directory namefeat/implement-login), use only the final segment (implement-login)implement-login-2)Before creating, verify the target directory does not already exist with ls.
Create the worktree with:
git worktree add <path> -b <branch-name>
Or if the branch already exists:
git worktree add <path> <branch-name>
git worktree add creates intermediate directories automatically.
Verify creation:
git worktree list
Tell the user:
cd <path>)worktrees/ directory -- this is expected.feat/login in directory worktrees/login).npx claudepluginhub computomatic/claude-plugin --plugin devCreates isolated git worktrees for parallel feature development, with automated directory selection and safety checks to prevent accidental commits.
Creates isolated git worktrees with smart directory selection and safety verification for working on multiple branches simultaneously without switching.
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification