ddd-refiner
Installation
SKILL.md
DDD Refiner
What This Produces
- Output:
.lattice/standards/ddd-principles.md(or custom path from.lattice/config.yaml→paths.ddd_principles) - Two modes:
- Overlay (
mode: overlay): A slim document containing only sections that differ from the defaults. The domain-driven-design atom reads its embedded defaults first, then applies this document's sections on top. This is the expected common case. - Override (
mode: override): A comprehensive standalone document that fully replaces the atom's embedded defaults. For teams with fundamentally different domain modeling principles.
- Overlay (
- Default mode: Overlay -- produces only what the user wants to change
- Config key:
paths.ddd_principlesin.lattice/config.yaml - Template: Read
./assets/template.mdfor the full document structure, default content, and interview guidance comments
Scope Clarification
This skill defines the rules of domain crafting, not the domain model itself. The domain model evolves through features; this document defines the guardrails. It covers DDD tactical patterns only -- not strategic DDD (no context mapping, no microservice topology, no bounded context integration).