Loading...
Loading...
Parallel development workflow using git worktrees. Prepare isolated worktree directories and execute tasks across multiple workspaces for concurrent feature development.
npx skill4agent add henkisdabro/wookstar-claude-plugins git-worktrees# Create worktree directory
mkdir -p trees
# Create worktrees (example: 3 parallel workspaces)
git worktree add -b feature-1 ./trees/feature-1
git worktree add -b feature-2 ./trees/feature-2
git worktree add -b feature-3 ./trees/feature-3
# Verify worktrees
git worktree listUse the Task tool to launch a general-purpose agent with:
- prompt: "Working in trees/feature-1, implement [plan]. Write a RESULTS.md summarising changes."
- run_in_background: true (for parallel execution)git worktree remove ./trees/feature-1
git worktree prunegit cherry-pick feature-2
# or merge the branch
git merge feature-2project/
├── trees/
│ ├── feature-1/ # Worktree 1 (full codebase copy)
│ │ └── RESULTS.md
│ ├── feature-2/ # Worktree 2 (full codebase copy)
│ │ └── RESULTS.md
│ └── feature-3/ # Worktree 3 (full codebase copy)
│ └── RESULTS.md
└── (main working directory)# Results - [Feature Name]
## Changes Made
- List of files modified/created
- Summary of approach taken
## Key Decisions
- Design choices made
- Trade-offs considered
## Testing Notes
- How to verify the implementation
- Known limitations