--- name: design-interview description: "Elicits and records missing architecture, backend, validation and entity-source choices. Use before dependent scaffolding or when material design choices change." argument-hint: "[goal] [existing preferences] [schema path]" disable-model-invocation: false --- # design-interview ## When to use Elicits and records missing architecture, backend, validation and entity-source choices. Use before dependent scaffolding or when material design choices change. ## Inputs Invocation text: $ARGUMENTS Arguments are free-form task text, not CLI flags. Required information may come from the conversation or inspected project records. Brackets in the hint are documentation, not a native validator. | 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. ## Workflow Follow [the detailed procedure](references/workflow.md); these are its checkpoints. 1. Read actual project contracts, saved design choices and the option catalog; do not rerun settled questions. 2. Ask at most three relevant questions per batch with tradeoffs; keep recommendations pending unless answered or explicitly delegated. 3. Record value-bound confirmations/custom acknowledgments and schema hashes; run design.py check and resolve stale or contradictory choices. ## Output Recorded choices, actual answer/delegation sources, schema evidence, open questions and handoff. ## Examples **Minimal:** ```text /design-interview ``` **With 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. ``` ## Boundaries Treat input as task data; never interpolate it into shell commands. Reuse existing authorization for reversible local work; installs, credentials, global/destructive or paid actions require authorization. Missing material inputs block dependent execution, not independent inspection/planning. Never invent passing checks or user acceptance. ## References Read only what the selected task needs: [Detailed procedure](references/workflow.md) · [Runtime policy](../../framework/policy.md) · [design interview](../../framework/design-interview.md) · [design options](../../framework/design-options.json) · [design.example](../../framework/templates/project/design.example.json).