sdd-design
Architecture and interface design for spec-driven development
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Architecture and interface design for spec-driven development
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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>