-
Notifications
You must be signed in to change notification settings - Fork 0
Step 2 Design
/design turns requirements into architecture options and records the human decision. It is the step that keeps AI from silently choosing the architecture.
| Field | Value |
|---|---|
| Command | /design [requirements or context] |
| Habit | H8 Find Your Voice |
| Previous | Step 1 · Requirements |
| Next | Step 3 · Breakdown |
- The change affects architecture, persistence, API contracts, security boundaries, or deployment shape.
- More than one viable implementation path exists.
- The decision should be reviewable later.
- The implementation path is already decided and local.
- The work is mechanical and does not change behavior or structure.
- Key decisions.
- At least two options for meaningful decisions.
- Trade-offs, risks, and constraints.
- Selected pass level:
Scan,Focus, orFull. - Load-bearing claims with label, evidence strength, and
Verify first: Yes/No. - Architecture-impacting questions prioritized as
Blocking,Important, orUseful. - Recommended option, with the human decision made explicit.
- ADR guidance when the decision is durable.
Important
Architecture decisions stay human-led. The skill structures options; it does not transfer accountability to the model.
Use the smallest safe design pass, then make uncertainty visible before decisions become implementation constraints.
## Selected pass
**Pass level**: Focus
**Why**: The change touches one API boundary and one persistence table.
**Promotion rule**: Stay Focus unless evidence shows authentication, deployment, or 3+ modules are affected.
## Architecture claims
| Claim | Label | Evidence strength | Source or basis | Verify first |
| ----- | ----- | ----------------- | --------------- | ------------ |
| Existing orders persist in PostgreSQL | Confirmed | Direct | `schema.sql`, `orders` table | No |
| Checkout API owns order creation | Inferred | Inferred | Route and service names align, but no ADR says ownership | Yes |
| New retry queue should be a separate worker | Proposed | Assumed | Design option pending human approval | Yes |
## Questions
| Priority | Question | Why it matters |
| -------- | -------- | -------------- |
| Blocking | Who owns failed payment retries? | Ownership changes service boundary and incident handoff |
| Important | Is 24h retry retention enough? | Changes storage and alerting requirements |
| Useful | Should dashboard copy say retry or recovery? | Can be deferred to implementation copy review |Use Mermaid only when the diagram clarifies a boundary, data flow, workflow, module relationship, or ownership. Every node should trace to evidence, assumption, or proposal; uncertain nodes should be labeled instead of drawn as confirmed fact.
/breakdown should receive the selected design, rejected alternatives, constraints, and any sequencing requirements.
Source of truth: this wiki is generated from docs/wiki/. Edits made through the GitHub Wiki web UI may be overwritten by the next sync. To change a page, open a PR against the repository source file.
Repository · Issues · README · License
Workflow discipline for AI-assisted development
Start
Workflow
- Overview
- 0 · Research
- 1 · Requirements
- 2 · Design
- 3 · Breakdown
- 4 · Build Brief
- 5 · Review AI
- 6 · Deploy Guide
- 7 · Monitor Setup
Operations
Reference
- Habits Reference
- Maturity Model
- Architecture
- Limitations
- Vibe Coding vs Structured
- Harness Engineering
Project