Create the detailed design layer for a sssdd project from requirements and design files, writing refined behavior specs under 20-detail-design/. Use when the user asks for detail design, wants /sssdd.detail behavior, or explicitly mentions $sssdd-detail.
Read 00-requirements.md and relevant files under 10-design/, then write one or more child specs under 20-detail-design/**/*.md.
Turn product design into precise behaviors, states, and interfaces without choosing concrete code files yet.
This layer must refine the design branches, not merge them back into one document.
Push the tree one level deeper. For each design node, identify the sub-branches before drafting the detailed specs, and use short dialogue only where behavior would otherwise fork materially.
Determine the target project under specs/.
Read:
00-requirements.md01-glossary.md when present10-design/For each parent design node, sketch a detail-design split before writing.
Ask at most 3 short questions only if missing information blocks:
Create child files under 20-detail-design/.
Write each file with this structure:
# Detail Design: <slice title>
## Metadata
- Layer: detail-design
- Node ID: DET-<slug>
- Parents:
- ../10-design/<parent>.md
- References:
- ../01-glossary.md
## Parent Coverage
## Relevant Non-Functional Requirements
## Entities and States
## Inputs and Outputs
## Validation Rules
## Failure Handling
## Operational Notes
## Acceptance View
## Open Questions
## Assumptions
## Exit Checks
Parent Coverage should make it obvious which portion of the parent design node is being refined.Relevant Non-Functional Requirements should translate parent quality attributes into concrete behavior expectations, limits, consistency needs, timing sensitivity, audit needs, or failure budgets where relevant.01-glossary.md, and update the glossary when detailed behavior forces a clearer canonical term, wording distinction, or stable implementation-facing identifier hint.Open Questions only for issues that remain unresolved after the current discussion pass.Assumptions only for temporary working assumptions adopted after discussion.Inputs and Outputs, Validation Rules, and Failure Handling should be specific enough that architecture does not need to reinterpret business behavior.Operational Notes for runtime-sensitive behavior implied by upstream non-functional requirements, such as latency-sensitive paths, retry boundaries, timeout expectations, concurrency assumptions, or audit event expectations.Exit Checks should prove the node is architecturally mappable.Report:
$sssdd-architecture