| name | domain-modeling |
| description | Build and sharpen a project's domain model โ glossary, ubiquitous language, ADRs. Use when changing the model, not just reading CONTEXT.md. |
Domain Modeling
Actively sharpen the domain model: challenge terms, stress-test scenarios, write decisions as they crystallise. Reading CONTEXT.md for vocabulary is a one-line habit โ this skill is for changing the model.
Where files live
Single context: CONTEXT.md + docs/adr/. Multi-context: CONTEXT-MAP.md points to per-area CONTEXT.md and ADRs. Create files lazily when you have something to write. Formats: CONTEXT-FORMAT.md, ADR-FORMAT.md.
During the session
- Challenge glossary โ call out terms that conflict with
CONTEXT.md.
- Sharpen fuzzy language โ propose precise canonical terms.
- Stress-test with scenarios โ edge cases that force boundary decisions.
- Cross-check code โ surface contradictions between stated rules and implementation.
- Cross-check with code graph โ if
graphify-out/graph.json exists, tell the user "็จไปฃ็ ๅพ่ฐฑ้ช่ฏๆจกๅ่พน็ๅ่ฎพ" then query module boundaries and dependency density to validate concept boundary assumptions. Use /code-graph query modules for the overview and /code-graph query deps <module> to verify that proposed domain boundaries align with actual code boundaries.
- Update CONTEXT.md inline โ one term at a time; glossary only, no implementation detail.
ADRs โ offer only when all three hold
- Hard to reverse
- Surprising without context
- Result of a real trade-off with alternatives
Otherwise skip the ADR.