ddd-model
Installation
SKILL.md
ddd-model
MODELS GROUND DECISIONS. DECISIONS GROUND CLAIMS. CLAIMS GROUND CODE. NO MODEL WITHOUT EVIDENCE.
Core principle: Models are the bridge between domain knowledge and code. They make state, invariants, and threats explicit and traceable.
When to invoke
- Designing domain logic that involves state transitions, invariants, or aggregates
- Modeling a new bounded context or entity relationship
- Performing threat modeling (STRIDE) for a security-sensitive change
- Documenting system architecture (components, boundaries, data flows)
- When
ddd-scopeidentifies domain-modeling or threat-modeling knowledge domains - When
ddd-bookinitialization detects domain code without existing models - When
ddd-groundneeds a model to ground claims about domain behavior