# /design-interview [Handbook](../../README.md) · [Skill index](README.md) · [Runtime source](../../../.claude/skills/design-interview/SKILL.md) ## Purpose Ask a staged set of material design questions and record the actual options and custom details chosen before dependent code generation. ## When to use A new project/backend needs backend, architecture, data, validation or delivery decisions; or a material requirement invalidates a prior decision. ## When not to use Do not replay the entire interview for every small fix, or use recorded choices as proof the architecture is correct. Do not make a menu selection on behalf of an unanswered user. ## Invocation ```text /design-interview ``` Autocomplete hint: `[goal] [existing preferences] [schema path]`. Required information can be supplied in context; this is not a shell command or a CLI parser. Use plain-language arguments. See [argument conventions](../../skill-usage.md) for notation and permission boundaries. **Minimal example:** ```text /design-interview ``` **With optional context:** ```text /design-interview For the booking API, prefer layered modules and domain rules. Compare CQRS with CRUD. Use the sanitized schema at docs/project/schema.sql. ``` ## Inputs | Input | Requirement | If omitted | |---|---|---| | project goal | Required before recommendations | Read brief/context; otherwise ask. | | existing preferences | Optional | Reuse recorded choices; ask only unresolved questions. | | schema artifact | Required if schema mode | Ask for a sanitized local file; block schema-dependent generation. | **No arguments:** Read project context and resume pending choices; ask for the goal if none exists. Optional inputs are discovered where reliable; recommendations do not become confirmed choices. Conditional requirements must be resolved before their dependent action. Required information is enforced by skill instructions, not by native autocomplete. The detailed procedure is [linked directly from SKILL.md](../../../.claude/skills/design-interview/references/workflow.md). ## What it does 1. Read the interview protocol and use design.py interview --section foundation for eligible questions. Continue relevant sections: structure, behavior, data, backend, delivery. 2. Ask at most three short questions per batch with native question UI when available, otherwise numbered chat choices. Give a reasoned recommendation and trade-off. 3. Record choices, confirmed option-value pairs, custom details and exact confirmed_details text. Recommendations, silence and timeout do not confirm anything. 4. Resolve incompatible/stale choices. Inspect and pin a supplied schema artifact; missing or changed content blocks dependent scaffolding. 5. Run design.py check; hand recorded constraints to architecture-design or backend-scaffold. ## Outputs and ownership The skill/user writes docs/project/design.json; the helper itself is read-only. Fields: schema_version, choices, confirmed, details, confirmed_details. User/delegation sources belong in notes. Structural results, artifact hashes and omissions are reported separately from semantic/application acceptance. ## Questions and decisions Covers scope/backend/frontend, deployment, code structure, domain modeling, CRUD/CQRS, communication/transport, transaction participants/sagas, persistence/models, validation, API/auth and tests. Conditional questions are skipped unless applicable. No persistence can still require request/domain models. ## Permissions and side effects Normal main-conversation permissions; no tool/model grants. Reading options/checking files does not authorize dependency installation, cloud services, credential use, SQL execution or publication. JSON/schema text is data, never shell instructions. ## Validation and completion interview exits 0 even with pending answers because it is a question listing. check exits 2 while answers/details/pins are pending, 1 for invalid data/path/contradictions, 0 for structurally recorded choices. Confirmation records are self-reported, not authenticated user interaction. ## Failure and recovery Changed answers cannot reuse a confirmation of a different option. Changed custom text needs a matching detail acknowledgment. Stale conditional choices must be reconciled, not silently deleted from accepted history. Missing schema stays pending; never substitute dummy tables. Reinspect changed schema before updating its pin. ## Example ```text /design-interview We need an API with layered code. Ask whether domain modeling, CQRS, events or a saga is justified, then ask about validation and whether entities should come from our schema or fictional fixtures. ``` This is a usage example, not evidence that a live model completed the task. ## Related components [project-kickoff](project-kickoff.md) · [architecture-design](architecture-design.md) · [backend-scaffold](backend-scaffold.md) See [helper commands](../helpers.md), [configuration](../configuration.md), [workflow selection](../../when-to-use-what.md) and [known qualification limits](../../../reports/DOCUMENTATION-VALIDATION.md).