- feat(architect): mode router — greenfield vs revision by OKF/ROADMAP.md state - refactor(architect): plan-project body becomes greenfield.md, update-project becomes revise.md - refactor(architect): roadmap and glossary paths retargeted to OKF/ - chore(skills): delete plan-project and update-project
3.3 KiB
3.3 KiB
name: architect
description: Plan a project or revise its plan — one mode-routed skill replacing plan-project and update-project. Greenfield: research-backed Socratic interview producing OKF/ROADMAP.md. Revision: fold reality back into the roadmap with supersede-never-delete discipline.
disable-model-invocation: true
architect
Owns OKF/ROADMAP.md. Planning only, never implementation.
When to use
- User says "architect", "/architect", "plan project", "plan this with me", "update the roadmap", "mark phase done", "we learned something — revise the plan".
- A verify step,
/diagnosepost-mortem, or prior-art change produced facts the roadmap doesn't reflect.
Mode detection
| State | Mode |
|---|---|
no ./OKF/ |
run scribe-OKF scaffold first |
OKF/ROADMAP.md absent or all-TODO |
Greenfield → greenfield.md |
OKF/ROADMAP.md has real content |
Revision → revise.md |
| code exists but user wants plan-vs-code stress-test only | hand to grill-with-docs |
Half-states (roadmap exists but skeleton-incomplete) are revision mode — fill the missing sections as deltas, don't restart.
Roadmap skeleton (both modes keep this shape)
# <Project> Roadmap
<Vision: 2–3 sentences, links to CONTEXT.md for vocabulary.>
## Why <project> (gap vs prior art) ← gap table with sources
## Locked decisions ← numbered; rationale + reversibility
## Architecture ← one ASCII sketch + main flow in words
## Phases ← each ends "**Verify:** <observable check>"
## Risks & gotchas ← debunked claims: believed / true / source
## Out of scope ← explicit non-goals
Shared rules (both modes)
- One question per message during any grilling; wait for the answer.
- Vocabulary sync: one resolved term → one inline
OKF/CONTEXT.mdedit, per domain-modeling. Roadmap and glossary must use identical canonical terms. - ADRs only by the three-of-three rule (hard to reverse ∧ surprising ∧ real trade-off). Default no.
- Roadmap phases feed blueprint — write phases concrete enough that a spec can trace to them.
Output / done criteria
OKF/ROADMAP.mdmatches the skeleton; every phase has a verify step; every locked decision traces to a user answer or sourced finding.- Revision: superseded decisions remain visible; every edit traces to a named delta.
- No implementation started.
Guardrails
- Never write the roadmap before the prior-art scan (greenfield).
- Never delete a phase, decision, or out-of-scope entry — supersede or move (revision).
- Never monologue, never batch questions, never pick silently between interpretations of the user's idea.
See also
- greenfield.md / revise.md — the loops.
- ../scribe-OKF/SKILL.md — scaffolds the OKF this skill writes into.
- ../blueprint/SKILL.md — decomposes roadmap phases into specs.
- ../../productivity/grill-me/SKILL.md — the interview engine.