git-worktree
Installation
SKILL.md
Git Worktree
Overview
Git worktree allows attaching multiple working trees to a single repository. Each worktree operates on its own branch independently, enabling true parallel development without stashing, switching, or risking merge conflicts in the working directory.
In the context of this multi-agent workflow, worktrees are used conditionally — only when the standard file-ownership parallelization strategy is insufficient.
Use worktrees for filesystem isolation and /delegate for session isolation. They complement each other rather than replacing each other.
When to Use This Skill
- Orchestrator needs to run parallel tasks that must modify the same files as independent features
- Debugger needs an isolated reproduction environment without disturbing ongoing work
- CoderSr is performing a high-risk refactoring that needs rollback safety
- Multiple independent features are being developed simultaneously and share core files