worktree-status
Installation
SKILL.md
worktree-status
Report the status of every git worktree for the current project, covering dirty state and merge status.
When to use
- User asks "which worktrees can I clean up?"
- User asks "what's the status of my worktrees / branches?"
- Before batch-cleaning worktrees, to avoid losing uncommitted work
Procedure
1. Pull latest main (MANDATORY)
You MUST pull latest main before any status checks. Without this, merge detection (both ancestry and content diff) will produce stale results and you may mistakenly conclude a branch is not merged.