From synapse-worktree
Manage git worktree lifecycle: create, list, switch, handoff, and cleanup. Use when the user says /worktree, "create worktree", "new branch workspace", "switch worktree", "handoff to agent", or needs to manage parallel branches.
How this skill is triggered — by the user, by Claude, or both
Slash command
/synapse-worktree:worktree-managerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Manage git worktrees for parallel multi-agent development. Each worktree gets its own working directory, spec document, and EARS trace.
Manage git worktrees for parallel multi-agent development. Each worktree gets its own working directory, spec document, and EARS trace.
<project-root>/ # Main worktree (main branch), shared config
├── .git/ # Single git database
├── CLAUDE.md # Tier 3 project principles (shared)
├── KNOWN_ISSUES.md # Tier 2 cross-task patterns
└── plans/ # Plan files
<project-root>-worktrees/ # All worktrees live here (sibling of project root)
├── feature-auth/ # worktree: feature/auth branch
│ ├── .worktree-spec.md # Spec handoff document
│ └── traces/
│ └── feature-auth/
│ └── trace.md # EARS Tier 1
└── bugfix-memory-leak/
└── ...
<project-root>-worktrees/
git worktree add ../<project>-worktrees/<branch-name> -b <branch-name> <base-branch>
main if not specified.worktree-spec.md
{branch-name}, {timestamp} (ISO 8601), {agent} (default: "Claude Code")traces/<branch-name>/trace.md in the new worktree with header:
# EARS Trace: <branch-name>
curl -s http://127.0.0.1:50556/api/health), create a task cardgit worktree list to get all worktrees.worktree-spec.md and extract Status and Current Agent| Branch | Status | Agent | Path | Last Activity |
|--------|--------|-------|------|---------------|
/save; otherwise git add -A && git commit -m "wip: save before switch".worktree-spec.md handoff notes.worktree-spec.md to restore contexttraces/<branch>/trace.md for recent EARS entries--to-agent specified, update the spec's Current Agent field.worktree-spec.mdtraces/<branch>/trace.md.worktree-spec.md:
git add .worktree-spec.md && git commit -m "chore: handoff to <agent-name>"## Handoff: <branch-name> → <agent-name>
Working directory: <worktree-path>
Read .worktree-spec.md for full context.
Pending tasks: <list>
Key EARS findings: <summary>
git branch --merged main | grep <branch-name>.worktree-spec.md and traces/ to a timestamped backup if desiredgit worktree remove <worktree-path>git branch -d <branch-name>If synapse-ears is installed:
/worktree create writes an EARS Checkpoint to the new worktree's trace.md/worktree handoff writes an EARS Checkpoint before handoffIf synapse-ears is NOT installed, skip EARS entries and trace.md creation.
Before any operation, check if vibe-kanban is running:
VK_HEALTH=$(curl -s "http://127.0.0.1:50556/api/health" 2>/dev/null)
If available, sync worktree operations to kanban board:
npx claudepluginhub chosenx-gpu/synapse --plugin synapse-worktreeManages git worktrees for parallel feature development. Automates creation, switching, and merging of worktrees for multi-feature workflows.
Manages git worktrees for isolated parallel development: creates GitHub issue-tied branches via /pds:worktree command, lists worktrees, removes directories, prunes stale refs.
Creates isolated Git worktrees for parallel development, risky refactoring, or multi-feature work without branch switching or conflicts.