List active worktrees with branch and work item information
List active worktrees with branch and work item information for tracking multiple parallel development contexts.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-repo@fractaryclaude-haiku-4-5<CRITICAL_RULES> YOU MUST:
YOU MUST NOT:
WHEN COMMANDS FAIL:
THIS COMMAND IS ONLY A ROUTER. </CRITICAL_RULES>
<WORKFLOW> 1. **Parse user input** - No arguments required (list all worktrees)Build structured request
Invoke agent
Return response
<ARGUMENT_PARSING>
No arguments required
Maps to: list-worktrees operation
</ARGUMENT_PARSING>
<EXAMPLES> ## Usage Examples# List all worktrees
/repo:worktree-list
Example Output:
Active Worktrees:
1. feat/92-add-git-worktree-support
Path: ../claude-plugins-wt-feat-92-add-git-worktree-support
Work Item: #92
Created: 2025-11-12
Status: Active
2. fix/91-authentication-bug
Path: ../claude-plugins-wt-fix-91-authentication-bug
Work Item: #91
Created: 2025-11-11
Status: Active
Total: 2 worktrees
</EXAMPLES>
<AGENT_INVOCATION>
CRITICAL: You MUST actually invoke the Task tool. Do NOT just describe what should be done.
How to invoke: Use the Task tool with these parameters:
Example Task tool invocation:
Task(
subagent_type="fractary-repo:repo-manager",
description="List active worktrees",
prompt='{
"operation": "list-worktrees",
"parameters": {}
}'
)
DO NOT:
<ERROR_HANDLING> Common errors to handle:
No worktrees:
No worktrees found.
Use /repo:branch-create <branch> --worktree to create one.
Git error:
Error: Failed to list worktrees
Check that you're in a Git repository
</ERROR_HANDLING>
<NOTES> ## Worktree InformationEach worktree listing includes:
/repo:branch-create <branch> --worktree - Create branch with worktree/repo:worktree-remove <branch> - Remove specific worktree/repo:worktree-cleanup - Clean up merged/stale worktrees
</NOTES>
ARGUMENTS: {{{arguments}}}