-
Notifications
You must be signed in to change notification settings - Fork 0
Author A Design
Important
Status: pending (V5-10 sibling #5, design-command). This is a forward-declared skeleton — the /design command is not yet built. Step bodies are reserved, not written; a later /work task fills them from the shipped diff. Do not follow these steps yet.
Note
Goal: Take a problem from ambiguous brief to a sequenced set of named plans using the /design command's three sub-verbs — author (walk the 10-section design-doc template to Status: final), translate (split the final doc into structural parts), and sequence (emit one named plan per part, first activated and the rest staged).
Prereqs: the developer-workflows plugin installed (Install crickets plugins) at the version that ships /design; a clean working tree; a problem worth a design (ambiguous, multi-stakeholder, or with cross-cutting Quality-Attributes / Operations concerns). For an already-settled design, skip /design and go straight to /plan. Exact version + prereqs filled by /work once the task ships.
/design is the upstream authoring step of the phase loop — it starts earlier than /plan. Use it when the problem is not yet tasks-shaped; use /plan once the design is settled. The three sub-verbs run in order: author → translate → sequence. Each gate is a Status: check, so you cannot skip ahead.
-
Author the design doc (
/design author). Walk the 10-section template — Context → Design → Alternatives Considered → Dependencies → Migrations → Technical Debt & Risks → Quality Attributes → Project management → Operations → Document History — with the 11-sub-attr Quality-Attributes drill-down (each concern described, or markedN/A: <one-sentence reason>). The command drives the Status lifecycledraft → review → finaland runs an inline review pass (approve / revise / skip). Onlyauthortransitions Status; it refuses re-invocation once the doc isfinal.Filled by
/workonce the task ships. -
Translate the final doc into parts (
/design translate). With the doc atStatus: final, the command proposes a part split (one part per Detailed-Design subsection by default, capped at ~6), offers an interactive reshape (merge / split / rename / reorder), and writes the structural part files at<doc-dir>/parts/<part-slug>.md. Translate hard-gates onStatus: final— it refuses adraftorreviewdoc.Filled by
/workonce the task ships. -
Populate the part files. Fill each
parts/<part-slug>.mdwith the detailed-design content for that slice before sequencing.Filled by
/workonce the task ships. -
Sequence the parts into plans (
/design sequence). The command reads the populatedparts/, topo-sorts them (deterministic; alphabetical tie-break), and emits one named plan per part via the shippedstage_plan.pywriter: the first part is activated asPLAN-<doc-slug>-<part-slug>.md, and the rest are staged intoqueued-plans/. It never touches the singletonPLAN.md.Filled by
/workonce the task ships. -
Run the sequenced plans. Pick up the activated plan with
/work --name <doc-slug>-<part-slug>(or hand it to a worker — see Run a coordinator-directed worker team), then activate the next staged part when ready (Run a named plan).Filled by
/workonce the task ships.
Note
The three scenarios below are reserved placeholders. Each will be filled by /work from a real run once the command ships.
A visibility: published design routed to wiki/designs/<slug>.md, authored → translated → sequenced end-to-end. Filled by /work once the task ships.
A visibility: confidential design routed to <resolved-harness>/designs/<slug>.md (harness root resolved via resolve_plan.py, storage-agnostic), authored → translated → sequenced. Filled by /work once the task ships.
A design whose default one-part-per-subsection split is reshaped (merge / split / rename / reorder) during /design translate before /design sequence emits the plans. Filled by /work once the task ships.
Verification commands filled by /work once the task ships. Expected shape: after step 1 the doc carries Status: final; after step 2 <doc-dir>/parts/ holds one file per part; after step 4 the active PLAN-<doc-slug>-<part-slug>.md exists, the remaining parts sit in queued-plans/, and the singleton PLAN.md is untouched.
-
/design translateor/design sequencerefuses. The doc is notStatus: final— the translate/sequence gate is a hardStatus: finalcheck. Finish theauthorreview pass first. Fix detail filled by/workonce the task ships. -
/design authorrefuses to re-open afinaldoc. By design — onlyauthortransitions Status, and it will not re-invoke afterfinal. Escape-hatch detail filled by/workonce the task ships. -
/design sequencewould clobber the singletonPLAN.md. It never does — it writes only named plans (PLAN-<doc-slug>-<part-slug>.md) viastage_plan.py. If you see singleton churn, that is a bug. Detail filled by/workonce the task ships.
-
Named plans — the reference for the phase-loop command surface
/designjoins, including the/designrow. -
Run a named plan — drive the named plans
/design sequenceemits. -
Run a coordinator-directed worker team — hand the sequenced plans to workers;
tech-leadforward-references the/design→/planauthoring arc. -
Coordinator roles — the
tech-leadrole whose authoring floor/designraises. -
ADR 0024 — package /design as a command — why
/designships as a command (tested Python helper + thin prompt), not a skill.
🔧 How-to
- Install plugins
- Using code review
- Provision a repo's wiki
- Declare a project's Architecture
- Maintain a wiki — wiki-watcher
- Review a change — code review
- In-flight decision review — /doubt
- Author a design (pending)
- Run a named plan
- Spawn a worker in a worktree
- Run isolated tasks
- Configure main branch protection
- Integrate a worker
- See every active plan
- Run a coordinator-directed worker team (pending)
- Install the vault backend (pending)
- Sync a project board