name: domain-modeling description: Model domains and bounded contexts for complex systems. Use when a senior developer needs domain-driven design guidance.
Domain Modeling
Purpose
Model domains and bounded contexts for complex systems.
Inputs to request
- Business processes and key nouns.
- Existing data models or APIs.
- Known pain points or coupling.
Workflow
- Identify core entities and invariants.
- Define bounded contexts and interfaces.
- Document event flows and consistency needs.
Output
- Domain model outline with context boundaries.
Quality bar
- Keep contexts cohesive and loosely coupled.
- Capture invariants explicitly.