sdd-design
Architecture and interface design for spec-driven development
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Architecture and interface design for spec-driven development
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Structured code review
Find and load available skills
PR description generation
Spec-faithful implementation for spec-driven development
Architecture and interface design for spec-driven development
Codebase analysis and context gathering for spec-driven development
| name | sdd-design |
| description | Architecture and interface design for spec-driven development |
| methodology | sdd |
Translate a specification into a concrete architecture. Define module boundaries, interface contracts, and data flow before any code is written.
Identify modules: Break the system into coherent units.
Define interfaces: Specify the contract between modules.
Design data flow: Map how data moves through the system.
Draw architecture diagrams: Use text-based diagrams.
[Input] → [Parser] → [Validator] → [Processor] → [Output]
↓
[Storage]
Specify error propagation: Define how errors flow.
Identify extension points: Design for known future needs.
Validate against the spec: Check each design decision against constraints.
## Design: <feature name>
### Module Structure
- **<module>**: <responsibility>
- Implements: <interface>
- Depends on: <interfaces>
### Interfaces
#### <InterfaceName>
```go
type InterfaceName interface {
Method(param Type) (ReturnType, error)
}
Implemented by: Consumed by:
[source] → [module] → [module] → [destination]
| Error | Type | Where handled | How propagated |
|---|
<ASCII diagram>