.claude/skills/speckit-worktree-list/SKILL.md
Show all active worktrees with feature status and spec artifact summary
npx skillsauth add pradeepmouli/lspeasy speckit-worktree-listInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Show all active git worktrees with their feature branch status, spec artifact availability, and task completion progress — a dashboard for parallel feature development.
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty). The user may request a specific format (e.g., "compact") or filter (e.g., "stale only").
.specify/ directoryList all worktrees: Run git worktree list to get all active worktrees:
.worktrees/ directoryGather feature status: For each worktree, check its spec-kit state:
[x] vs [ ] items⚠️ **STALE** markersClassify worktree status:
| Status | Condition | |--------|-----------| | ✅ Active | Recent commits (within 7 days), unmerged | | 🟡 Idle | No recent commits (7-30 days), unmerged | | ⚠️ Stale | No commits for 30+ days, unmerged | | ✅ Merged | Branch merged into main/master | | ❌ Orphaned | Branch deleted but worktree still exists |
Output dashboard:
# Active Worktrees
| # | Branch | Path | Status | Artifacts | Tasks | Last Activity |
|---|--------|------|--------|-----------|-------|---------------|
| 1 | 003-user-auth | .worktrees/003-user-auth/ | ✅ Active | spec ✅ plan ✅ tasks ✅ | 12/18 (67%) | 2 hours ago |
| 2 | 004-chat-system | .worktrees/004-chat-system/ | 🟡 Idle | spec ✅ plan ✅ tasks ❌ | — | 12 days ago |
| 3 | 005-api-gateway | .worktrees/005-api-gateway/ | ✅ Merged | spec ✅ plan ✅ tasks ✅ | 8/8 (100%) | 3 days ago |
## Summary
- **Total worktrees**: 3 (+ main working directory)
- **Active**: 1
- **Idle**: 1
- **Ready to clean**: 1 (merged)
## Recommended Actions
- Run `/speckit.worktree.clean` to remove the merged worktree (005-api-gateway)
- Resume work on 004-chat-system or run `/speckit.tasks` to generate tasks
Report: Output the dashboard. Do not modify any files — this command is read-only.
[x] and [ ] in tasks.mdtools
Use for ANY rename, file-move, or move-symbol refactor — especially rename-heavy work across multiple files. Claude Code's built-in LSP tool is READ-ONLY (find references, but no rename / file-move / move-symbol). Hand-editing those refactors silently misses re-exports, aliased imports, type-only imports, and {@link} doc references. This skill drives a real language server via the `lspeasy` CLI to apply a correct WorkspaceEdit that catches every reference. Trigger when the user asks to rename a function/class/variable/type project-wide, move a file and fix its importers, or pull a symbol out into another module.
tools
Documentation site for lspeasy Use when: You are building a browser-based LSP client, a WebSocket-backed language....
tools
Documentation site for lspeasy Use when: You are implementing a custom client layer and need the same validation....
tools
Use when working with lspeasy (client, core, server). Covers: lsp, language-server-protocol, lsp-client, language-client, jsonrpc, transport, lsp-server, language-server.