| name | git-worktree |
| description | Parallel development workflow using git worktrees. Each agent gets an isolated worktree for safe concurrent work. |
| user-invocable | true |
| argument-hint | [feature-name] |
Multi-step workflow for parallel development using git worktrees.
Create Worktree
git worktree add ../ccswarm-feature-$ARGUMENTS feature/$ARGUMENTS
git worktree add ../ccswarm-bugfix-$ARGUMENTS hotfix/$ARGUMENTS
Agent Team Integration
With Agent Teams, each agent automatically gets isolation: worktree. For manual worktree setup:
git worktree add ../ccswarm-frontend feature/ui-redesign
git worktree add ../ccswarm-backend feature/api-enhancement
git worktree add ../ccswarm-devops feature/ci-cd-improvement
Management
git worktree list
git worktree remove ../ccswarm-feature-$ARGUMENTS
git worktree prune
Best Practices
- One worktree per feature/bug
- Naming:
ccswarm-<type>-<description>
- Clean up after merging
- Run
git worktree prune periodically