Back to dashboardDetailed procedure

Detailed procedure

Use the input contract in SKILL.md; resolve its required information before dependent actions.

Input: actual project goal, existing contracts and any user-supplied preferences. Not for every small feature or already settled choice. Read .claude/framework/design-interview.md and project design.json if present. Use python3 .claude/framework/design.py interview --section foundation to get options; continue relevant sections structure, behavior, data, backend and delivery. Canonical options are .claude/framework/design-options.json. The helper only reads data and does not ask on the user's behalf. Ask at most three short questions per batch using the available native question UI, or numbered options in chat. Explain one recommended choice with its project-specific reason and trade-off; also allow other/custom or explicit delegation. Do not select defaults on silence, timeout or a mere request for recommendations. If the prompt already supplies an answer, reuse it and cite its source rather than ask again. Persist actual choices, confirmations bound to their exact option values and relevant details in docs/project/design.json using design.example.json. Pending recommendations are not confirmed choices. Wait for answers before dependent generation; continue independent discovery while waiting. Explicit user delegation may authorize choosing suitable options; record that delegation in notes, never pretend a menu click occurred. Keep deployment, module layering, DDD, read/write model, event communication and transaction coordination separate: they can be combined where justified. Ask saga questions only for distributed participants, and require participant/failure/compensation details. User choices are constraints, not proof the architecture is correct; discuss contradictions and update consequential ADRs instead of silently overriding them. For supplied schema mode require a sanitized repository-local schema path and inspect actual dialect, keys, constraints and nullability before mapping. Inspect the artifact and pin its SHA-256 as details.schema_sha256; missing or changed pins block schema-dependent generation. Missing schema blocks schema-dependent entities; never invent tables or fall back to dummy entities. Dummy mode uses clearly fictional fixtures. Offer no generated validation as an explicit choice and report omissions without disabling auth, parsing safety or data integrity requirements. Run python3 .claude/framework/design.py check; address invalid, missing, unconfirmed or stale answers. Outputs: saved design choices, sources/delegations in notes, schema evidence if applicable, open questions and handoff to architecture-design/backend-scaffold. Check success means structural choices recorded, not semantic acceptance, tool installation or working application.

Confirmations must match current values; changed options need new confirmation. No persistence still allows request/domain models; model_source=none explicitly skips model generation.

Custom detail acknowledgments are stored as confirmed_details mapping detail id to its exact text (custom backend/structure, participants, projection plan or schema path). Missing detail acknowledgments stay pending; changed text cannot reuse an old acknowledgment. These are still self-reported records, not proof of actual conversation events.

Ask delivery_strategy (vertical/horizontal/hybrid) independently of module_architecture. Older recorded designs require this new explicit answer; never fabricate confirmation.