
Domain Modeling
This is Matt Pocock's domain modeling discipline translated to Chinese, focused on actively building and refining your project's domain model rather than just passively reading it. The key distinction here is that it's about changing the model, not consuming it. You challenge terminology, invent edge case scenarios, and document decisions in real time through CONTEXT.md files and ADRs as concepts form. It supports both single-context repos and multi-context setups via CONTEXT-MAP.md. If you're the type who thinks naming things is half the battle and wants your AI to participate in that struggle rather than just accept whatever terms already exist, this keeps that conversation active during development.
- skills.sh installs
- 4.4K
- GitHub stars
- 5.7K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add vinvcn/mattpocock-skills-zh-cn --skill domain-modeling --agent claude-codeInstalls into .claude/skills of the current project.
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。
与代码交叉对照
Sponsors
Details
- Repository
- github.com/vinvcn/mattpocock-skills-zh-cn
- First seen
- Jul 14, 2026
More from vinvcn/mattpocock-skills-zh-cn
All 39- Code Review4.4K
- Ask Matt4.4K
- Diagnosing Bugs4.4K
- Implement4.3K
- Codebase Design4.3K
- Research4.2K
- Writing Shape3.7K
- Writing Fragments3.7K
- Writing Beats3.7K
- Resolving Merge Conflicts3.5K
- To Prd2.2K
- Design An Interface2.1K
- To Issues2.1K
- Qa2.1K
- Edit Article2.1K
- Obsidian Vault2.1K
- Request Refactor Plan2.1K
- Ubiquitous Language2.1K
- Writing Great Skills2.1K
- Diagnose1.7K
- Caveman1.7K
- Zoom Out1.7K
- Write A Skill1.7K
- Review911