Phase 0 — Session Recovery (automatic)
If
exists from a previous session, read all planning files, run the 5-Question Reboot Test (Where am I? / Where am I going? / What's the goal? / What did I learn? / What did I do?), then resume from the last checkpoint.
Phase 1 — Specification
Write the spec using the selected mode. Quick tasks use
; standard/thorough use the full flow with
or
. The user must explicitly confirm the spec before moving on.
Gate G1: User confirmed + spec aligns with constitution + spec review loop passed + scope check done.
Phase 2 — Persistent Planning
Generate
(numbered checklist with file structure mapping + test points),
, and
using
+
.
Gate G2: Every task has file paths + acceptance criteria + test strategy + plan review loop passed.
Phase 3 — UI/UX Design (conditional)
Triggered only when UI keywords are detected. Invoke
ui-ux-pro-max --design-system --persist
to generate and persist the design system (v2.0: 67 styles, 161 palettes, 57 fonts, 13 tech stacks).
Gate G3: Pre-delivery checklist passed + user confirmed design.
TDD throughout. Errors escalate through the 3-Strike protocol →
.
Gate G4: All tests pass + review passed + verification evidence written to
+
passed (if available).
Phase 5 — Archive
finishing-a-development-branch
→ update all checkboxes → archive spec artifacts → final
entry.