domain-modeling-zh

domain-modeling-zh is a skill for Claude Code, Codex from gongyijie85/mattpocock-skills-dsh-zh. It costs 43 tokens per session (907 once invoked), scanned A, original, MIT.

A practice for creating and refining a project's domain model: the precise terms, concepts, relationships, and decisions that describe how the project works.

In plain words
What is it for?
Use it when defining project terminology, editing CONTEXT.md, recording architectural decisions, or testing concepts against concrete edge cases and the code.
Why use it?
It reduces confusion when the same word can mean different things and keeps documentation, decisions, and code aligned.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when defining project terminology, editing CONTEXT.md, recording architectural decisions, or testing concepts against concrete edge cases and the code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add gongyijie85/mattpocock-skills-dsh-zh --skill domain-modeling-zh
Clone the repo
git clone --depth 1 https://github.com/gongyijie85/mattpocock-skills-dsh-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for domain-modeling-zh

README.md
[![agentmods](https://agentmods.dev/badge/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh/github.svg)](https://agentmods.dev/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh)
Your own site
<a href="https://agentmods.dev/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh"><img src="https://agentmods.dev/badge/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for domain-modeling-zh

Your own site · 80×15
<a href="https://agentmods.dev/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh"><img src="https://agentmods.dev/badge/skills/gongyijie85/mattpocock-skills-dsh-zh/domain-modeling-zh.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 907 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.00907
Opus 5 $0.00022 $0.00453
Sonnet 5 $0.00009 $0.00181
Haiku 4.5 $0.00004 $0.00091

Measured yesterday against content hash 309d9f28735a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

domain-modeling-zh scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/domain-modeling-zh/SKILL.md · 75 lines

What it actually says

Domain Modeling

在设计过程中主动构建并打磨项目的 domain model。这是一种主动的纪律 — 质疑术语、虚构 edge-case(边界情况)场景,并在术语和决策成形的瞬间把它们写下来。(仅仅阅读 CONTEXT.md 获取词汇不是本 skill 的职责 — 那是任何 skill 都能做到的一行习惯。本 skill 适用于你在改变模型,而不只是消费它的时候。)

文件结构

大多数仓库只有一个 context:

/
├── CONTEXT.md
├── docs/
│   └── adr/
│       ├── 0001-event-sourced-orders.md
│       └── 0002-postgres-for-write-model.md
└── src/

如果根目录存在 CONTEXT-MAP.md,说明仓库有多个 contexts。该地图指向每个 context 所在的位置:

/
├── CONTEXT-MAP.md
├── docs/
│   └── adr/                          ← system-wide decisions
├── src/
│   ├── ordering/
│   │   ├── CONTEXT.md
│   │   └── docs/adr/                 ← context-specific decisions
│   └── billing/
│       ├── CONTEXT.md
│       └── docs/adr/

惰性创建文件 — 只有当你确实有东西要写时才创建。如果不存在 CONTEXT.md,在第一个术语被确定时创建它。如果不存在 docs/adr/,在需要第一个 ADR 时创建它。

会话期间

对照 glossary 提出质疑

当用户使用的术语与 CONTEXT.md 中现有的语言冲突时,立即指出来。"你的 glossary 把 'cancellation' 定义为 X,但你似乎指的是 Y — 到底是哪个?"

打磨模糊的语言

当用户使用含糊或一词多义的术语时,提出一个精确的规范术语。"你在说 'account' — 你指的是 Customer 还是 User?那是两个不同的东西。"

讨论具体的场景

当讨论 domain 关系时,用具体的场景对它们做压力测试。虚构一些探针式 edge cases 的场景,迫使用户对概念之间的边界保持精确。

与代码交叉对照

当用户陈述某样东西如何运作时,检查代码是否一致。如果发现矛盾,把它摆到台面上:"你的代码取消整个 Orders,但你刚才说部分取消是可能的 — 哪个是对的?"

即时更新 CONTEXT.md

当一个术语被确定时,就地更新 CONTEXT.md。不要批量积攒 — 随时发生随时记录。使用 CONTEXT-FORMAT.md 中的格式。

CONTEXT.md 应该完全不含 implementation 细节。不要把 CONTEXT.md 当作 spec、草稿本或 implementation 决策的仓库。它是 glossary,仅此而已。

谨慎地提议 ADR

只有当以下三件事都成立时,才提议创建 ADR:

  1. 难以逆转(Hard to reverse) — 日后改变主意的成本是实质性的
  2. 脱离上下文会令人费解(Surprising without context) — 未来的读者会想 "why did they do it this way?(他们为什么这样做?)"
  3. 真实权衡的结果(The result of a real trade-off) — 存在真正的备选方案,而你出于具体原因选择了其中一个

如果三者缺一,跳过 ADR。使用 ADR-FORMAT.md 中的格式。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 75 lines · 43 tokens per session scan A 309d9f28735a

Subscribe to this mod's changes

domain-modeling-zh is a skill published in the GitHub repository gongyijie85/mattpocock-skills-dsh-zh (5 stars, last pushed yesterday), licensed MIT. It adds 43 tokens to every session and 907 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-11.

Related

Other skills, from other repositories

dsh-web-skin-developer

Build a new skin for the dsh-web skin collection (DSH Web GUI) and publish it into the Skin Center — the first-level settings section — scaffold with scripts/dsh-skin-new, author the v2 skin.json manifest plus skin.css token remap (pure asset directory, no package.json, no build step), validate with scripts/dsh-skin…

zhu1090093659/dsh-web · 120 tokens

dsh-web-pet-developer

Create a pet for the dsh-pet plugin and integrate it into the dsh web GUI — author a v2 pet.json manifest plus an 8-column x 9-row atlas per the Codex/hatch-pet contract (live2d pets, voice packs and status decorations included), drop it into the pet-center user directory or contribute it as a built-in asset under…

zhu1090093659/dsh-web · 162 tokens

dsh-skill-dev

A specialist review agent for software that handles purchasing, suppliers, payments, or spending approvals.

pingfanfan/hello-dsh · 59 tokens

error-handling

A set of rules for deciding how software should report failures and what information error messages should contain.

pingfanfan/hello-dsh · 51 tokens

ask-good-questions

Guidance for asking technical questions and reporting bugs so another developer can reproduce and answer them. It covers versions, environment details, minimal reproduction steps, expected and actual results, errors, and attempted fixes.

pingfanfan/hello-dsh · 61 tokens

commit-message

Guidance for writing Git commit messages using Conventional Commits, a common format such as fix, feat, or docs followed by a short description. It focuses on explaining why a change was made.

pingfanfan/hello-dsh · 43 tokens