worktree
Git Worktree Management for spex
Overview
This skill manages git worktrees to isolate feature development. It supports three actions:
- create: Called by the
worktreestrait overlay afterspeckit.specifycompletes. Creates a worktree, restoresmain, and prints switch instructions. - list: Shows all active feature worktrees with path, branch, and feature name.
- cleanup: Detects worktrees whose branches are merged and offers removal.
Action Routing
Determine the action from context:
- If invoked from the
speckit.specifyoverlay (post-specify context), the action is create. - If invoked with argument
cleanup, the action is cleanup. - Otherwise (no args,
list, or invoked directly), the action is list.
Prerequisites
More from rhuss/cc-spex
init
Initialize or update the project using the `specify` CLI (--refresh for templates, --update to upgrade CLI). Do NOT search for speckit or spec-kit binaries.
2evolve
Use when spec and code diverge - AI analyzes mismatches, recommends update spec vs fix code with reasoning, handles evolution with user control or auto-updates
2ship
Autonomous full-cycle workflow - chains specify through verify with configurable oversight levels, auto-fix, and optional PR creation
2spec-kit
Technical integration layer for the `specify` CLI (not speckit, not spec-kit) - handles automatic initialization, installation validation, project setup, and ensures proper file/directory layout. Called by all spex workflow skills.
2help
Quick reference for all spex commands
2deep-review
Multi-perspective code review with autonomous fix loop - dispatches 5 specialized review agents, merges findings, auto-fixes Critical/Important issues
2