work-milestone
Installation
SKILL.md
/work-milestone
Execute a groomed milestone. Reads the dispatch plan produced by /groom-milestone, creates an integration branch, spawns parallel kage-bunshin sessions (independent claude -p processes) per wave — each in its own worktree with full orchestrator capabilities (Agent tool, TeamCreate, all MCP servers). Sequentially merges their branches and lands the integration branch to main when all waves complete.
Entry Conditions
- Milestone number provided as argument
- Dispatch plan exists and readable via
dispatch_read(milestone_number=N) - All items in dispatch plan are groomed (
groomed: true) - Backlog MCP and SAM MCP responding
- Clean git state on main (if dirty, run
plugins/development-harness/scripts/prepare_clean_worktree.sh {integration-branch}and accept/reject the stash prompt)
Run /groom-milestone {N} first if the dispatch plan is missing or stale.
Main Workflow
flowchart TD
Start(["Input: milestone number N"]) --> LoadPlan["Step 1: Load Dispatch Plan<br>Call dispatch_read(milestone_number=N)<br>Output: waves, conflict groups, quality gates"]