Project Orchestrator
Overview
Universal project lifecycle skill. Classifies your project type, builds a phase plan, then walks through each phase sequentially — invoking existing skills where they exist and running inline design phases where they don't.
The rule: No project uses all phases. The router selects 7–18 phases based on what you're actually building.
Announce at start: "I'm using the orchestrate skill to guide this project through its lifecycle."
When to Use
- Starting a new project from scratch (greenfield)
- Adding a major feature that changes architecture, data flow, or integrations
- Unsure which skills to invoke and in what order
- Starting work on a project type you haven't classified before
When NOT to use:
- Small bug fixes, typos, minor UI tweaks — just do the work
- Pure research or exploration — use Explore agent directly
- Single-file changes with clear requirements — use TDD directly
- You already know exactly which single skill applies (e.g., just need
/security-audit)
Mode Selection
Before doing anything else, ask ONE question:
How would you like to work?
(A) Build — Full-speed design and implementation. No teaching pauses.
(B) Learn — Same build quality, plus I teach you software engineering concepts at every decision point. Tracks your growth across projects.
If the user selects (B) Learn, invoke the engineering-mentor skill using the Skill tool. Engineering Mentor wraps this orchestrator with an adaptive teaching layer — it handles everything from here. Stop executing this skill after invoking engineering-mentor.
If the user selects (A) Build or gives no preference, continue with Phase 0 below.
How It Works
- Classify — Ask what you're building, determine project type
- Route — Select the phases that apply
- Read — Load each phase file on demand before executing it
- Execute — Walk through each phase sequentially
- Handoff — Each phase produces a doc artifact; later phases build on earlier ones
All artifacts are saved to docs/plans/. If resuming mid-project, check which docs already exist to determine current phase.
Phase 0: Project Classification
Ask ONE question: "What are you building?"
| Type |
Indicators |
Phase Count |
| macOS App |
Desktop UI, SwiftUI, AppKit, menu bar app |
8–10 phases |
| iOS Mobile App |
iPhone/iPad, SwiftUI, UIKit, App Store |
8–15 phases |
| Web Frontend |
React, Vue, static site, no backend |
8–10 phases |
| Full-Stack Web |
Frontend + database + API + auth |
14–17 phases |
| Voice Agent |
LiveKit, telephony, STT/TTS, conversational AI |
13–15 phases |
| Edge/IoT + ML |
Hardware devices, computer vision, ML pipeline, fleet management |
16–19 phases |
Sub-classification questions (if needed):
- Mobile/Web: "Does it have a backend?" — if yes, add full-stack phases
- Any type: "Does it integrate with external services?" — if yes, add resilience phase
- Any type: "Will this be deployed to cloud infrastructure you manage?" — if yes, add infrastructure phase
- Any type: "Is this a new project or adding to an existing system?" — if existing, add system assessment phase. If user wants to evaluate a full redesign, suggest
/brownfield-greenfield instead.
- Any type with UI: "Does your project have state transitions, loading sequences, or interactions that would benefit from motion design?" — if yes, add motion design phase
Available cross-cutting skills (invoke during relevant phases):
/stack-audit — Run during Phase 0.5 or standalone to audit the existing tech stack against the 15-domain taxonomy
/stack-compatibility-oracle — Run after Phase 1 (Brainstorming) when a tech stack is proposed, to check for architectural incompatibilities before committing
/architecture-best-practices — Queryable reference layer; invoke during any design phase (2–13) when evaluating technology choices or diagnosing issues
/brownfield-greenfield — Alternative to Phase 0.5 for projects considering a major redesign; extracts intent, strips tech, proposes fresh architecture
Route Table
| Phase |
macOS |
iOS |
Web FE |
Full-Stack |
Voice |
Edge/IoT+ML |
| 0.5 System Assessment |
o |
o |
o |
o |
o |
o |
| 1. Brainstorm |
x |
x |
x |
x |
x |
x |
| 2. Domain Model |
|
o |
|
x |
x |
x |
| 3. System Design + Security |
|
o |
|
x |
x |
x |
| 4. Resilience |
|
o |
|
x |
x |
x |
| 5. ML Pipeline |
|
|
|
|
|
x |
| 6. Edge Architecture |
|
|
|
|
|
x |
| 7. API Specification |
|
o |
|
x |
x |
x |
| 8. Voice Prompt Design |
|
|
|
|
x |
|
| 9. Infrastructure |
|
|
|
o |
o |
x |
| 10. UI Design |
x |
x |
x |
x |
|
o |
| 11. UX Design |
x |
x |
x |
x |
|
o |
| 12. Motion Design |
o |
o |
o |
o |
|
|
| 13. Cost Analysis & Risk |
x |
x |
x |
x |
x |
x |
| 14. Writing Plans |
x |
x |
x |
x |
x |
x |
| ⟳ COMPACT |
x |
x |
x |
x |
x |
x |
| 15. Implementation |
x |
x |
x |
x |
x |
x |
| ⟳ COMPACT |
x |
x |
x |
x |
x |
x |
| 16. Security Validation |
|
o |
|
x |
x |
x |
| 17. Observability |
|
|
|
x |
x |
x |
| 18. ML Validation |
|
|
|
|
|
x |
| 19. Polish & Review |
x |
x |
x |
x |
x |
x |
| 20. Retrospective |
x |
x |
x |
x |
x |
x |
x = always applies | o = conditional (based on sub-classification) | blank = skip
Compile Your Phase Plan
After classification, explicitly list the active phases for this project before proceeding:
- Review the route table for your project type
- For each "o" phase, check the sub-classification answers to determine if it's active
- Write out the numbered list of active phases (e.g., "Active phases: 0.5, 1, 2, 3, 4, 7, 10, 11, 13, 14, 15, 16, 18")
- Present the phase plan to the user for confirmation before starting
This prevents accidentally skipping or running wrong phases.
Phase Execution
This is not optional. This is not negotiable. You cannot execute
a phase from memory. You cannot summarize. You cannot skip.
When entering Phase N:
- Read ./phases/phase-XX-name.md using the Read tool
- Follow its instructions exactly
- Produce the deliverable it specifies
3b. Append a Decision Log entry to the design doc on disk
capturing: what was decided, what was rejected, why,
and any user corrections or teaching moments.
- Move to the next active phase in your compiled plan
If you catch yourself thinking "I know what this phase does" —
STOP. Read the file. Skills evolve. Your memory is stale.
Context Compaction
Context compaction keeps the conversation window lean for implementation and validation phases. During design and planning (Phases 1–14), let the context grow naturally — the agent makes better decisions with the full chain of reasoning visible.
Compaction Points
After Phase 14 (Writing Plans), before Phase 15 (Implementation):
All design decisions and task breakdowns are now saved to docs/plans/. Summarize key decisions, constraints, and tech choices into a compact handoff block, then let the natural context compression drop the verbose design conversation.
After Phase 15 (Implementation), before Phase 16 (Security Validation):
Implementation details (code discussions, debugging, refactoring) are no longer needed. The code is on disk. Summarize what was built and any deviations from the plan.
Compaction Protocol
At each compaction point:
- Verify artifacts are on disk. Check that
docs/plans/ contains the expected deliverables from completed phases. If anything is missing, write it before compacting.
- Produce a compact summary of the key decisions carried forward — architecture choices, tech stack, constraints, trade-offs, and anything the next phase needs to know.
- After compaction, the next phase MUST re-read its inputs from disk. Phase 15 reads the plan. Validation phases (16–18) read the relevant design docs for what they're validating.
Why Only Two Compaction Points
- Design phases (1–14) need full context. Each phase builds on the previous. Compacting mid-design forces re-reading and loses nuance — rejected alternatives, trade-off discussions, and "why not" reasoning.
- Implementation (15) needs the plan, not the design conversation. The plan captures everything implementation needs.
- Validation phases (16–18) need design docs + code, not the implementation conversation. They read code from the filesystem and reference design docs on disk.
Phase File Mapping
| Phase |
File |
| 0.5 |
./phases/phase-00.5-system-assessment.md |
| 1 |
./phases/phase-01-brainstorming.md |
| 2 |
./phases/phase-02-domain-modeling.md |
| 3 |
./phases/phase-03-system-design.md |
| 4 |
./phases/phase-04-resilience.md |
| 5 |
./phases/phase-05-ml-pipeline.md |
| 6 |
./phases/phase-06-edge-architecture.md |
| 7 |
./phases/phase-07-api-specification.md |
| 8 |
./phases/phase-08-voice-prompt.md |
| 9 |
./phases/phase-09-infrastructure.md |
| 10 |
./phases/phase-10-ui-design.md |
| 11 |
./phases/phase-11-ux-design.md |
| 12 |
./phases/phase-12-motion-design.md |
| 13 |
./phases/phase-13-cost-analysis.md |
| 14 |
./phases/phase-14-writing-plans.md |
| 15 |
./phases/phase-15-implementation.md |
| 16 |
./phases/phase-16-security-validation.md |
| 17 |
./phases/phase-17-observability.md |
| 18 |
./phases/phase-18-ml-validation.md |
| 19 |
./phases/phase-19-polish-review.md |
| 20 |
./phases/phase-20-retrospective.md |
Resumption Protocol
If starting a new session mid-project:
- Check
docs/plans/ for existing artifacts
- Read each doc to understand decisions already made
- Determine which phase produced the last artifact
- Resume from the next phase
- If
docs/plans/.mentor-checkpoint.json exists, read it.
If mode is "learn", invoke engineering-mentor with the
stored state instead of continuing in Build mode.
- If the design doc contains
### Decision Log sections,
read them to understand prior reasoning before continuing.
Artifact -> Phase mapping:
| Artifact |
Phase Completed |
| System Assessment section |
Phase 0.5 (Existing System Assessment) |
*-design.md |
Phase 1 (Brainstorming) |
| Domain Model section in design doc |
Phase 2 |
*-system-design.md |
Phase 3 (DDIA) |
| Resilience section in system design |
Phase 4 |
*-ml-pipeline.md |
Phase 5 |
| Edge Architecture section |
Phase 6 |
| API Specification section/doc |
Phase 7 |
| Voice prompt doc |
Phase 8 |
| Infrastructure section |
Phase 9 |
| UI Design section in design doc |
Phase 10 |
| UX Design section in design doc |
Phase 11 |
| Motion Design section in design doc |
Phase 12 |
| Cost & Risk section in design doc |
Phase 13 (Cost Analysis) |
*-plan.md |
Phase 14 (Writing Plans) |
| Code exists + tests pass |
Phase 15 (Implementation) |
| Security audit report |
Phase 16 |
| Observability section |
Phase 17 |
| ML validation report |
Phase 18 |
| Review findings addressed |
Phase 19 |
| Retrospective section in design doc |
Phase 20 |
Anti-Patterns
| Mistake |
Fix |
| Skipping to implementation |
Always start at Phase 0, even if "you know what you're building" |
| Running all phases for a simple macOS app |
Trust the router — it selects only applicable phases |
| Treating security as Phase 16 only |
Security-by-design is in Phase 3; Phase 16 validates it was implemented |
| Designing the ML pipeline after building the API |
Phases are sequential — ML decisions affect API shape |
| Writing plans without a domain model |
Plans based on a vague domain produce vague tasks |
| Skipping resilience for "internal" services |
Internal services fail too — especially at 3am |
| Averaging latency instead of using percentiles |
p50 hides tail latency; use p95/p99 |
| Adding features to an existing system without mapping it first |
Run Phase 0.5 — understand what exists before designing what's new |
| Treating accessibility as a Phase 19 afterthought |
Accessibility-by-design in Phase 3 catches issues that are expensive to retrofit |
| Ignoring cloud costs until the bill arrives |
Phase 13 (Cost Analysis) exists for this — unit economics matter |
| Skipping the phase file read |
Always read the phase file, even if you think you remember it |
| Designing UI before knowing the API shape |
UI/UX/Motion phases come after API spec for a reason |
| Committing to a tech stack without compatibility checking |
Run /stack-compatibility-oracle after brainstorming to catch blockers early |
| Rewriting a brownfield system without extraction |
Use /brownfield-greenfield to separate intent from accident before proposing changes |
Book References
| Phase |
Book |
Author |
| 2. Domain Modeling |
Domain-Driven Design |
Eric Evans |
| 3. System Design |
Designing Data-Intensive Applications |
Martin Kleppmann |
| 4. Resilience |
Release It! |
Michael Nygard |
| 5. ML Pipeline |
Designing Machine Learning Systems |
Chip Huyen |
| 9. Infrastructure |
Infrastructure as Code |
Kief Morris |
| 10. UI Design |
Refactoring UI |
Wathan & Schoger |
| 10. UI Design |
Every Layout |
Andy Bell & Heydon Pickering |
| 10. UI Design |
Design Systems |
Alla Kholmatova |
| 11. UX Design |
Don't Make Me Think |
Steve Krug |
| 11. UX Design |
About Face |
Alan Cooper |
| 11. UX Design |
Inclusive Design Patterns |
Heydon Pickering |
| 12. Motion Design |
The Illusion of Life |
Frank Thomas & Ollie Johnston |
| 12. Motion Design |
Animation at Work |
Rachel Nabors |
| 12. Motion Design |
Designing Interface Animation |
Val Head |
| 14. Writing Plans |
Growing Object-Oriented Software, Guided by Tests |
Freeman & Pryce |
| 17. Observability |
Observability Engineering |
Charity Majors |
| 18. ML Validation |
Reliable Machine Learning |
Cathy Chen et al. |
1---2name: software-forge3description: Use when starting a new project, adding a major feature to an existing system, or when unsure which skills to run and in what order. Supports macOS, iOS, web, full-stack, voice agent, and edge/IoT+ML projects.4---56# Project Orchestrator78## Overview9Universal project lifecycle skill. Classifies your project type, builds a phase plan, then walks through each phase sequentially — invoking existing skills where they exist and running inline design phases where they don't.1011**The rule:** No project uses all phases. The router selects 7–18 phases based on what you're actually building.1213**Announce at start:** "I'm using the orchestrate skill to guide this project through its lifecycle."1415## When to Use16- Starting a new project from scratch (greenfield)17- Adding a major feature that changes architecture, data flow, or integrations18- Unsure which skills to invoke and in what order19- Starting work on a project type you haven't classified before2021**When NOT to use:**22- Small bug fixes, typos, minor UI tweaks — just do the work23- Pure research or exploration — use Explore agent directly24- Single-file changes with clear requirements — use TDD directly25- You already know exactly which single skill applies (e.g., just need `/security-audit`)2627## Mode Selection2829Before doing anything else, ask ONE question:3031> **How would you like to work?**32>33> **(A) Build** — Full-speed design and implementation. No teaching pauses.34> **(B) Learn** — Same build quality, plus I teach you software engineering concepts at every decision point. Tracks your growth across projects.3536If the user selects **(B) Learn**, invoke the `engineering-mentor` skill using the Skill tool. Engineering Mentor wraps this orchestrator with an adaptive teaching layer — it handles everything from here. **Stop executing this skill** after invoking engineering-mentor.3738If the user selects **(A) Build** or gives no preference, continue with Phase 0 below.3940## How It Works411. **Classify** — Ask what you're building, determine project type422. **Route** — Select the phases that apply433. **Read** — Load each phase file on demand before executing it444. **Execute** — Walk through each phase sequentially455. **Handoff** — Each phase produces a doc artifact; later phases build on earlier ones4647All artifacts are saved to `docs/plans/`. If resuming mid-project, check which docs already exist to determine current phase.4849---50## Phase 0: Project Classification51Ask ONE question: **"What are you building?"**5253| Type | Indicators | Phase Count |54|------|-----------|-------------|55| **macOS App** | Desktop UI, SwiftUI, AppKit, menu bar app | 8–10 phases |56| **iOS Mobile App** | iPhone/iPad, SwiftUI, UIKit, App Store | 8–15 phases |57| **Web Frontend** | React, Vue, static site, no backend | 8–10 phases |58| **Full-Stack Web** | Frontend + database + API + auth | 14–17 phases |59| **Voice Agent** | LiveKit, telephony, STT/TTS, conversational AI | 13–15 phases |60| **Edge/IoT + ML** | Hardware devices, computer vision, ML pipeline, fleet management | 16–19 phases |6162**Sub-classification questions (if needed):**63- Mobile/Web: "Does it have a backend?" — if yes, add full-stack phases64- Any type: "Does it integrate with external services?" — if yes, add resilience phase65- Any type: "Will this be deployed to cloud infrastructure you manage?" — if yes, add infrastructure phase66- Any type: "Is this a new project or adding to an existing system?" — if existing, add system assessment phase. If user wants to evaluate a full redesign, suggest `/brownfield-greenfield` instead.67- Any type with UI: "Does your project have state transitions, loading sequences, or interactions that would benefit from motion design?" — if yes, add motion design phase6869**Available cross-cutting skills (invoke during relevant phases):**70- `/stack-audit` — Run during Phase 0.5 or standalone to audit the existing tech stack against the 15-domain taxonomy71- `/stack-compatibility-oracle` — Run after Phase 1 (Brainstorming) when a tech stack is proposed, to check for architectural incompatibilities before committing72- `/architecture-best-practices` — Queryable reference layer; invoke during any design phase (2–13) when evaluating technology choices or diagnosing issues73- `/brownfield-greenfield` — Alternative to Phase 0.5 for projects considering a major redesign; extracts intent, strips tech, proposes fresh architecture7475### Route Table76| Phase | macOS | iOS | Web FE | Full-Stack | Voice | Edge/IoT+ML |77|-------|:-----:|:---:|:------:|:----------:|:-----:|:-----------:|78| 0.5 System Assessment | o | o | o | o | o | o |79| 1. Brainstorm | **x** | **x** | **x** | **x** | **x** | **x** |80| 2. Domain Model | | o | | **x** | **x** | **x** |81| 3. System Design + Security | | o | | **x** | **x** | **x** |82| 4. Resilience | | o | | **x** | **x** | **x** |83| 5. ML Pipeline | | | | | | **x** |84| 6. Edge Architecture | | | | | | **x** |85| 7. API Specification | | o | | **x** | **x** | **x** |86| 8. Voice Prompt Design | | | | | **x** | |87| 9. Infrastructure | | | | o | o | **x** |88| 10. UI Design | **x** | **x** | **x** | **x** | | o |89| 11. UX Design | **x** | **x** | **x** | **x** | | o |90| 12. Motion Design | o | o | o | o | | |91| 13. Cost Analysis & Risk | **x** | **x** | **x** | **x** | **x** | **x** |92| 14. Writing Plans | **x** | **x** | **x** | **x** | **x** | **x** |93| ⟳ COMPACT | **x** | **x** | **x** | **x** | **x** | **x** |94| 15. Implementation | **x** | **x** | **x** | **x** | **x** | **x** |95| ⟳ COMPACT | **x** | **x** | **x** | **x** | **x** | **x** |96| 16. Security Validation | | o | | **x** | **x** | **x** |97| 17. Observability | | | | **x** | **x** | **x** |98| 18. ML Validation | | | | | | **x** |99| 19. Polish & Review | **x** | **x** | **x** | **x** | **x** | **x** |100| 20. Retrospective | **x** | **x** | **x** | **x** | **x** | **x** |101102**x** = always applies | **o** = conditional (based on sub-classification) | blank = skip103104### Compile Your Phase Plan105After classification, **explicitly list the active phases** for this project before proceeding:1061. Review the route table for your project type1072. For each "o" phase, check the sub-classification answers to determine if it's active1083. Write out the numbered list of active phases (e.g., "Active phases: 0.5, 1, 2, 3, 4, 7, 10, 11, 13, 14, 15, 16, 18")1094. Present the phase plan to the user for confirmation before starting110111This prevents accidentally skipping or running wrong phases.112113---114## Phase Execution115<HARD-GATE>116BEFORE executing any phase, you MUST use the Read tool to read117the corresponding phase file from ./phases/.118119This is not optional. This is not negotiable. You cannot execute120a phase from memory. You cannot summarize. You cannot skip.121122When entering Phase N:1231. Read ./phases/phase-XX-name.md using the Read tool1242. Follow its instructions exactly1253. Produce the deliverable it specifies1263b. Append a Decision Log entry to the design doc on disk127 capturing: what was decided, what was rejected, why,128 and any user corrections or teaching moments.1294. Move to the next active phase in your compiled plan130131If you catch yourself thinking "I know what this phase does" —132STOP. Read the file. Skills evolve. Your memory is stale.133</HARD-GATE>134135## Context Compaction136137Context compaction keeps the conversation window lean for implementation and validation phases. During design and planning (Phases 1–14), let the context grow naturally — the agent makes better decisions with the full chain of reasoning visible.138139### Compaction Points140141**After Phase 14 (Writing Plans), before Phase 15 (Implementation):**142All design decisions and task breakdowns are now saved to `docs/plans/`. Summarize key decisions, constraints, and tech choices into a compact handoff block, then let the natural context compression drop the verbose design conversation.143144**After Phase 15 (Implementation), before Phase 16 (Security Validation):**145Implementation details (code discussions, debugging, refactoring) are no longer needed. The code is on disk. Summarize what was built and any deviations from the plan.146147### Compaction Protocol148149At each compaction point:1501511. **Verify artifacts are on disk.** Check that `docs/plans/` contains the expected deliverables from completed phases. If anything is missing, write it before compacting.1522. **Produce a compact summary** of the key decisions carried forward — architecture choices, tech stack, constraints, trade-offs, and anything the next phase needs to know.1533. **After compaction, the next phase MUST re-read its inputs from disk.** Phase 15 reads the plan. Validation phases (16–18) read the relevant design docs for what they're validating.154155### Why Only Two Compaction Points156157- **Design phases (1–14) need full context.** Each phase builds on the previous. Compacting mid-design forces re-reading and loses nuance — rejected alternatives, trade-off discussions, and "why not" reasoning.158- **Implementation (15) needs the plan, not the design conversation.** The plan captures everything implementation needs.159- **Validation phases (16–18) need design docs + code, not the implementation conversation.** They read code from the filesystem and reference design docs on disk.160161---162163## Phase File Mapping164| Phase | File |165|-------|------|166| 0.5 | `./phases/phase-00.5-system-assessment.md` |167| 1 | `./phases/phase-01-brainstorming.md` |168| 2 | `./phases/phase-02-domain-modeling.md` |169| 3 | `./phases/phase-03-system-design.md` |170| 4 | `./phases/phase-04-resilience.md` |171| 5 | `./phases/phase-05-ml-pipeline.md` |172| 6 | `./phases/phase-06-edge-architecture.md` |173| 7 | `./phases/phase-07-api-specification.md` |174| 8 | `./phases/phase-08-voice-prompt.md` |175| 9 | `./phases/phase-09-infrastructure.md` |176| 10 | `./phases/phase-10-ui-design.md` |177| 11 | `./phases/phase-11-ux-design.md` |178| 12 | `./phases/phase-12-motion-design.md` |179| 13 | `./phases/phase-13-cost-analysis.md` |180| 14 | `./phases/phase-14-writing-plans.md` |181| 15 | `./phases/phase-15-implementation.md` |182| 16 | `./phases/phase-16-security-validation.md` |183| 17 | `./phases/phase-17-observability.md` |184| 18 | `./phases/phase-18-ml-validation.md` |185| 19 | `./phases/phase-19-polish-review.md` |186| 20 | `./phases/phase-20-retrospective.md` |187188---189## Resumption Protocol190If starting a new session mid-project:1911. Check `docs/plans/` for existing artifacts1922. Read each doc to understand decisions already made1933. Determine which phase produced the last artifact1944. Resume from the next phase1955. If `docs/plans/.mentor-checkpoint.json` exists, read it.196 If mode is "learn", invoke engineering-mentor with the197 stored state instead of continuing in Build mode.1986. If the design doc contains `### Decision Log` sections,199 read them to understand prior reasoning before continuing.200201**Artifact -> Phase mapping:**202| Artifact | Phase Completed |203|----------|----------------|204| System Assessment section | Phase 0.5 (Existing System Assessment) |205| `*-design.md` | Phase 1 (Brainstorming) |206| Domain Model section in design doc | Phase 2 |207| `*-system-design.md` | Phase 3 (DDIA) |208| Resilience section in system design | Phase 4 |209| `*-ml-pipeline.md` | Phase 5 |210| Edge Architecture section | Phase 6 |211| API Specification section/doc | Phase 7 |212| Voice prompt doc | Phase 8 |213| Infrastructure section | Phase 9 |214| UI Design section in design doc | Phase 10 |215| UX Design section in design doc | Phase 11 |216| Motion Design section in design doc | Phase 12 |217| Cost & Risk section in design doc | Phase 13 (Cost Analysis) |218| `*-plan.md` | Phase 14 (Writing Plans) |219| Code exists + tests pass | Phase 15 (Implementation) |220| Security audit report | Phase 16 |221| Observability section | Phase 17 |222| ML validation report | Phase 18 |223| Review findings addressed | Phase 19 |224| Retrospective section in design doc | Phase 20 |225226---227## Anti-Patterns228| Mistake | Fix |229|---------|-----|230| Skipping to implementation | Always start at Phase 0, even if "you know what you're building" |231| Running all phases for a simple macOS app | Trust the router — it selects only applicable phases |232| Treating security as Phase 16 only | Security-by-design is in Phase 3; Phase 16 validates it was implemented |233| Designing the ML pipeline after building the API | Phases are sequential — ML decisions affect API shape |234| Writing plans without a domain model | Plans based on a vague domain produce vague tasks |235| Skipping resilience for "internal" services | Internal services fail too — especially at 3am |236| Averaging latency instead of using percentiles | p50 hides tail latency; use p95/p99 |237| Adding features to an existing system without mapping it first | Run Phase 0.5 — understand what exists before designing what's new |238| Treating accessibility as a Phase 19 afterthought | Accessibility-by-design in Phase 3 catches issues that are expensive to retrofit |239| Ignoring cloud costs until the bill arrives | Phase 13 (Cost Analysis) exists for this — unit economics matter |240| Skipping the phase file read | Always read the phase file, even if you think you remember it |241| Designing UI before knowing the API shape | UI/UX/Motion phases come after API spec for a reason |242| Committing to a tech stack without compatibility checking | Run `/stack-compatibility-oracle` after brainstorming to catch blockers early |243| Rewriting a brownfield system without extraction | Use `/brownfield-greenfield` to separate intent from accident before proposing changes |244245---246## Book References247| Phase | Book | Author |248|-------|------|--------|249| 2. Domain Modeling | *Domain-Driven Design* | Eric Evans |250| 3. System Design | *Designing Data-Intensive Applications* | Martin Kleppmann |251| 4. Resilience | *Release It!* | Michael Nygard |252| 5. ML Pipeline | *Designing Machine Learning Systems* | Chip Huyen |253| 9. Infrastructure | *Infrastructure as Code* | Kief Morris |254| 10. UI Design | *Refactoring UI* | Wathan & Schoger |255| 10. UI Design | *Every Layout* | Andy Bell & Heydon Pickering |256| 10. UI Design | *Design Systems* | Alla Kholmatova |257| 11. UX Design | *Don't Make Me Think* | Steve Krug |258| 11. UX Design | *About Face* | Alan Cooper |259| 11. UX Design | *Inclusive Design Patterns* | Heydon Pickering |260| 12. Motion Design | *The Illusion of Life* | Frank Thomas & Ollie Johnston |261| 12. Motion Design | *Animation at Work* | Rachel Nabors |262| 12. Motion Design | *Designing Interface Animation* | Val Head |263| 14. Writing Plans | *Growing Object-Oriented Software, Guided by Tests* | Freeman & Pryce |264| 17. Observability | *Observability Engineering* | Charity Majors |265| 18. ML Validation | *Reliable Machine Learning* | Cathy Chen et al. |