Worktree Parallel Init banner
davila7 davila7

Worktree Parallel Init

Git community intermediate

Description

Create multiple git worktrees for parallel development: $ARGUMENTS

Installation

Terminal
claude install-skill https://github.com/davila7/claude-code-templates

README


allowed-tools: Bash(git:*), Bash(mkdir:*), Bash(ls:*), Bash(cat:*), Bash(basename:*), Bash(pwd:*), Bash(sed:*) argument-hint: task 1 | task 2 | task 3 description: Create parallel worktrees for multi-task development with Ghostty panels

Worktree Parallel Init

Create multiple git worktrees for parallel development: $ARGUMENTS

Instructions

You are setting up parallel worktrees so the user can work on multiple tasks simultaneously in separate Ghostty terminal panels, each running its own Claude instance.

Step 1: Validate Environment

    undefined

Step 2: Parse Tasks

Parse tasks from `$ARGUMENTS`. Tasks are separated by `|` (pipe character).

If `$ARGUMENTS` is empty, use AskUserQuestion to ask the user to describe their tasks (they can provide multiple separated by `|`).

For each task description:

    undefined

Step 3: Create Worktrees

For each task:

    undefined

Step 4: Check for Dependencies

If a `package.json` exists in the repo root, note that each worktree may need `npm install` (or the appropriate package manager).

Check for:

    undefined

Step 5: Output Summary

Display a clear summary table:

| # | Task | Branch | Path |
|---|------|--------|------|
| 1 | ... | wt/... | ../worktrees/repo/wt-... |

Then display ready-to-copy commands for Ghostty panels. For each worktree:

# Panel : 
cd  && claude

If dependencies were detected, add a note:

# Note: Run  install in each worktree before starting

Finally, remind the user:

    undefined