Work across multiple branches in parallel

parallel-worktreesskillsetup L12,280
rohitg00/pro-workflow
What it does

Create isolated git worktrees for parallel AI sessions

Best for

Waiting on long tests/builds while developing parallel feature. Zero dead time.

Inputs
  • · branch name or -b flag for new branch
Outputs
  • · new worktree at ../project-<name>
  • · instructions for second editor window
Requires
  • · git worktree
Preconditions

Git repo with multiple branches

Failure modes

Editing same file in two worktrees causes merge conflicts; dangling worktrees consume disk

Trust signals
  • · Claude Code auto-cleanup feature
  • · Ctrl+F kills background agents
  • · Isolated working copy guarantee