auto-setup
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Set up parallel Claude Code sessions using git worktrees.
> /plugin marketplace add rohitg00/pro-workflow > /plugin install pro-workflow@pro-workflow
How it fires
How this command gets triggered: by you, by Claude, or both.
/parallelContext preview
What this command does when you run it.
Set up parallel Claude Code sessions using git worktrees.
Set up parallel Claude Code sessions using git worktrees.
Claude Code now has built-in worktree support:
claude --worktree claude -w
This creates an isolated git worktree automatically and runs Claude inside it. No manual setup needed.
Subagents can also run in isolated worktrees:
# In .claude/agents/my-agent.md frontmatter isolation: worktree
This gives each subagent its own working copy, preventing file conflicts.
git worktree list
For cases where you want more control:
git worktree add ../[project]-feat [branch-name] git worktree add ../[project]-fix [branch-name] git worktree add ../[project]-exp -b experiment
Terminal 1: ~/project → Main work (or `claude`) Terminal 2: ~/project-feat → claude --worktree (auto-isolated) Terminal 3: ~/project-fix → claude -w (shorthand)
Each worktree runs its own Claude session independently.
| Scenario | Recommended Approach | |----------|---------------------| | Quick parallel task | `claude -w` (auto worktree) | | Tests running | Start feature in worktree | | Long build | Debug in parallel | | Exploring approaches | Compare 2-3 simultaneously | | Review + new work | Reviewer in one, dev in other | | Background exploration | Subagent with `isolation: worktree` |
git worktree remove ../[project]-feat git worktree prune
---
**Tip:** `claude -w` is the fastest way to parallelize. Like having a dev team you can clone.
Claude Code learns from your corrections: self-correcting memory that compounds over 50+ sessions. Context engineering, parallel worktrees, agent teams, and 17 battle-tested skills.
Repo: rohitg00/pro-workflow
Auto-detect project type and configure quality gates, permissions, and hooks for a new codebase
Smart context compaction with state preservation — saves critical state before compact and restores after
Track session costs, understand token spend, and get optimization tips