samuelho-dev/dev-config/domain-modeling
Claude Code and agent skill by samuelho-dev/dev-config
- community
Checking that the SKILL.md file is still in the repository.
Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.
Install
npx vskill@latest install samuelho-dev/dev-config/domain-modelingSKILL.md
The same SKILL.md was published earlier as ninehills/skills/domain-modeling.
Domain Modeling
Actively build and sharpen the project's domain model as you design. This is the active discipline — challenging terms, inventing edge-case scenarios, and writing the glossary and decisions down the moment they crystallise. (Merely reading the canonical domain glossary for vocabulary is not this skill — that's a one-line habit any skill can do. This skill is for when you're changing the model, not just consuming it.)
File structure
First inspect project instructions and existing domain documents, including GLOSSARY.md/GLOSSARY-MAP.md, CONTEXT.md/CONTEXT-MAP.md and the documented ADR directory. Follow the established canonical documents and their links; these filenames are conventions, not portable Agent Skills requirements. If both forms exist, use documented authority; if authority is unclear, ask before writing. Never create a second competing glossary/map or rename consumer files as an implicit migration.
The CONTEXT names below are this curated collection's fallback only when the project has no established convention. Current upstream uses GLOSSARY names; retaining this local default does not claim upstream identity. Use the selected canonical glossary throughout the session, not the fallback filename.
A single-context fallback looks like:
For multiple contexts, follow the canonical map's links. The curated fallback map is CONTEXT-MAP.md, which points to each context's glossary:
Create files lazily, only after resolving canonical ownership. When no domain convention exists, create the fallback CONTEXT.md for the first resolved term. Follow the established ADR directory; docs/adr/ is only the fallback when the first ADR is needed.
During the session
Challenge against the glossary
When the user uses a term that conflicts with the existing language in the canonical glossary, call it out immediately. "Your glossary defines 'cancellation' as X, but you seem to mean Y — which is it?"
Sharpen fuzzy language
When the user uses vague or overloaded terms, propose a precise canonical term. "You're saying 'account' — do you mean the Customer or the User? Those are different things."
Discuss concrete scenarios
When domain relationships are being discussed, stress-test them with specific scenarios. Invent scenarios that probe edge cases and force the user to be precise about the boundaries between concepts.
Cross-reference with code
When the user states how something works, check whether the code agrees. If you find a contradiction, surface it: "Your code cancels entire Orders, but you just said partial cancellation is possible — which is right?"
Update the canonical glossary inline
When a term is resolved, update the selected canonical glossary right there. Don't batch these up — capture them as they happen. Use the format in CONTEXT-FORMAT.md.
Keep new glossary entries focused on domain language; record implementation decisions in the project's ADRs/specs. An existing CONTEXT.md may serve a broader project purpose: preserve that content and follow the project's actual glossary location rather than deleting non-glossary material to impose this collection's format.
Offer ADRs sparingly
Only offer to create an ADR when all three are true:
- Hard to reverse — the cost of changing your mind later is meaningful
- Surprising without context — a future reader will wonder "why did they do it this way?"
- The result of a real trade-off — there were genuine alternatives and you picked one for specific reasons
If any of the three is missing, skip the ADR. Use the format in ADR-FORMAT.md.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai/skills/domain-modeling/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/samuelho-dev/dev-config/domain-modeling)