What problem does it solve?
This Skill solves the common architectural challenge of defining correct consistency boundaries in Domain-Driven Design, preventing the performance and scalability issues caused by oversized or poorly scoped Aggregates.
Core Features & Use Cases
- Boundary Validation: Provides a rigorous, step-by-step decision framework to determine if objects belong together or should be separated.
- Invariant Enforcement: Guides the identification of True Invariants versus business rules that can tolerate eventual consistency.
- Implementation Guidance: Offers prescriptive Go patterns for identity generation, concurrency strategies, and event-sourced design.
- Use Case: Use this Skill when designing a new Bounded Context to ensure your Aggregate roots are correctly sized and that cross-Aggregate coordination is handled via reliable Domain Events rather than distributed transactions.
Quick Start
Use the aggregate-design skill to scaffold a new design document for the Order Bounded Context in the E-commerce product.