Skip to content

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
View on GitHub

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.md per context (or a root GLOSSARY-MAP.md for multi-context repos) and docs/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 -y

Installs 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

Similar to Domain Modeling

More Agent Workflow & Planning