Reference Documentation
Defines the canonical template structure for Software Design Specifications (SDS) and the process for generating them within the SEA-Forge™ ecosystem.
| Status: Draft | Review | Approved | Implemented |
Component: [Component Name]
[HTTP_METHOD] /api/path
SDS documents can be generated through the following approved workflows:
@workspace #spec.lean for focused SDS generation@workspace #spec.wide for comprehensive context-aware SDS.github/prompts/spec.plan.sds.prompt.md1
Draft → Review → Approved → Implemented
Each transition should be documented with rationale and date.
| Pattern | When to Use |
|---|---|
| Hexagonal Architecture | Domain-driven design, clear boundaries, testability |
| Layered Architecture | Traditional n-tier applications, clear separation of concerns |
| Microservices | Independent scaling, team autonomy, bounded contexts |
| Event-Driven | Asynchronous processing, decoupling, real-time systems |
| CQRS | Read/write optimization, complex domains, event sourcing |
The example SDS demonstrates Hexagonal Architecture:
Each SDS MUST:
See template source for canonical example (SDS-001):