domain-modeling
Installation
SKILL.md
Domain Modeling — Ubiquitous Language & Bounded Contexts
Mandatory Pre-Flight Context Inspection
Before designing domain entities or business modeling, you MUST inspect:
- Ubiquitous Language Uniformity (Section 25) → Standardize 1 explicit term across UI, code, and DB (e.g. Customer vs User); ban interchangeable synonyms
- Bounded Context Separation (Section 30) → Isolate models per context (e.g. Inventory Product vs Catalog Product); ban 60-column monolithic entities
- Aggregate Root Invariants (Section 34) → Mutate child entities strictly through Aggregate Root methods (
order.addItem(...)); ban direct child mutations
Model business domain concepts cleanly before committing to database schemas or API signatures.
Activation Boundaries
- Activate when: Operating in tasks requiring Builds and sharpens project domain models, ubiquitous language, entity relationships, and bounded contexts before writing code..
- DO NOT activate when: The task falls strictly outside domain-modeling domain or belongs to a different dedicated specialist.