What problem does it solve?
This Skill provides a comprehensive guide to Domain-Driven Design's tactical patterns, helping developers build robust, maintainable, and domain-centric software by clarifying complex modeling concepts.
Core Features & Use Cases
- Domain Modeling Guidance: Offers clear definitions and best practices for Entities, Value Objects, Aggregates, Repositories, Domain Services, and Domain Events.
- Code Examples: Illustrates good and bad practices with TypeScript code snippets for each pattern.
- Layered Architecture Principles: Explains the dependency rules and responsibilities of Domain, Application, Infrastructure, and Presentation layers.
- Use Case: When designing a new feature for an e-commerce platform, use this Skill to ensure the
Order aggregate is correctly modeled, its invariants are protected, and interactions with Customer and Product are managed via ID references.
Quick Start
Consult the DDD skill for guidance on modeling a Product entity with Value Objects for Price and Dimensions.