Domain Modeling
Structured discipline for building and refining a project's domain model during design, covering glossary terms and ADRs.
- CCM score
- 63 of 100
- skills.sh installs
- 4.6K
- GitHub stars
- 6.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers active domain modeling: challenging term conflicts, sharpening vague language, stress-testing with concrete scenarios, and cross-checking against code
- Maintains
GLOSSARY.mdper context (or a rootGLOSSARY-MAP.mdfor multi-context repos) anddocs/adr/for architecture decisions - Enforces that glossaries hold no implementation details and that ADRs are proposed only when hard to reverse, surprising, and the result of a real trade-off
- Designed for teams clarifying shared terminology and recording architecture decisions while designing
Install
$ npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill domain-modeling -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
领域建模
在设计过程中主动构建并打磨项目的 domain model。这是 active discipline:挑战术语、发明 edge-case scenarios,并在概念成形的当下写入 glossary 和 decisions。
文件结构
多数 repos 只有一个 context:
/
|- GLOSSARY.md
|- docs/
| `- adr/
| |- 0001-event-sourced-orders.md
| `- 0002-postgres-for-write-model.md
`- src/
如果 root 有 GLOSSARY-MAP.md,说明 repo 有多个 contexts。map 指向每个 context 的位置:
/
|- GLOSSARY-MAP.md
|- docs/
| `- adr/ -> system-wide decisions
`- src/
|- ordering/
| |- GLOSSARY.md
| `- docs/adr/ -> context-specific decisions
`- billing/
|- GLOSSARY.md
`- docs/adr/
按需懒创建文件:只有在有内容要写时才创建。如果没有 GLOSSARY.md,当第一个 term 被解决时创建它。如果没有 docs/adr/,当第一个 ADR 需要出现时创建它。
Session 期间
对照术语表质询
当用户使用的术语与 GLOSSARY.md 中既有语言冲突时,立即指出。"Your glossary defines 'cancellation' as X, but you seem to mean Y - which is it?"
打磨模糊用语
当用户使用模糊或过载术语时,提出一个精确的 canonical term。"You're saying 'account' - do you mean the Customer or the User? Those are different things."
讨论具体场景
讨论 domain relationships 时,用具体场景做压力测试。发明能探测 edge cases 的场景,迫使用户精确定义概念之间的 boundaries。
与代码交叉对照
Details
- Repository
- github.com/vinvcn/mattpocock-skills-zh-cn
- Categories
- Agent Workflow & Planning, Technical Documentation
- First seen
- Jul 14, 2026
Questions
What does the domain-modeling skill do?
It builds and refines a project's domain model during design work. It challenges terms, invents edge-case scenarios, and writes concepts into GLOSSARY.md and architecture decision records as they take shape.
Who is the domain-modeling skill for?
It is for developers who want to pin down domain terms or a shared language, record architecture decisions, or who run other skills that need a maintained domain model. The skill is written in Simplified Chinese.
How do I install the domain-modeling skill?
Run npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill domain-modeling -y inside a project. Once installed, the agent can keep GLOSSARY.md and ADR files current as terms are resolved.
More from vinvcn/mattpocock-skills-zh-cn
All 24- Code Review4.6K
- Ask Matt4.6K
- Diagnosing Bugs4.6K
- Implement4.5K
- Codebase Design4.5K
- Research4.4K
- Writing Shape3.9K
- Writing Fragments3.9K
- Writing Beats3.9K
- Grill Me7.1K
- Grill With Docs6.7K
- Setup Matt Pocock Skills6.4K
- Handoff6.3K
- Tdd6.3K
- Improve Codebase Architecture6.2K
- Prototype6.2K
- Triage6K
- Git Guardrails Claude Code5.8K
- Scaffold Exercises5.8K
- Setup Pre Commit5.8K
- Migrate To Shoehorn5.8K
- Teach5.6K
- Grilling4.9K
Similar to Domain Modeling
More Agent Workflow & Planningddd-strategic-designsickn33/agentic-awesome-skills163 installsStructured domain-design guide that classifies subdomains, defines bounded contexts, and builds a shared glossary.
grill-with-docsvinvcn/mattpocock-skills-zh-cn6.7K installsRelentless questioning interview that refines a plan or design while capturing ADRs and a glossary.
domain-modelmattpocock/skills2.3K installsThis is Matt Pocock's technique for building shared understanding before you write code. It interviews you relentlessly about your plan, walking down each branc
domain-driven-designwondelai/skills7.9K installsDomain modeling framework that aligns code with business language, bounded contexts, aggregates, and domain events.
documentation-and-adrsaddyosmani/agent-skills82.6K installsStructured guide for recording architecture decisions (ADRs), inline docs, and API documentation, plus detecting documentation drift.