Skill: Domain Evolution
"Don't fear changes—iteration is healthy."
The Standard
- Domains Change: Your first structure won't be your last.
- Refactor Without Fear: Good tests enable structural changes.
- Split When Large: A growing domain means multiple domains.
- Merge When Tiny: Too granular = too much overhead.
The Check
Ask yourself:
- Has this domain grown beyond its original purpose?
- Are there 2+ distinct concepts sharing a namespace?
- Is this domain so small it's just ceremony?
- Has my understanding of the business changed?
The Protocol
- Start Coarse: Begin with fewer, larger domains.
- Observe Pain: Note when a domain feels "off".
- Split Deliberately: Extract sub-domain when clear boundary emerges.
- Document Why: ADR the restructure decision.
Real-World Examples
See examples.md.