domain-modeling
构建并打磨项目的 domain model。在讨论代码库术语、编写或编辑 GLOSSARY.md、或记录或编辑 ADR 时使用。
Skill by toRolex
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/torolex-domain-modeling
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/domain-modeling
What's inside
- Skill name
domain-modeling- Description
- 构建并打磨项目的 domain model。在讨论代码库术语、编写或编辑 GLOSSARY.md、或记录或编辑 ADR 时使用。
- License
- MIT
- Instructions
- 71 lines in SKILL.md · view on GitHub
Files (3)
- ADR-FORMAT.md
- GLOSSARY-FORMAT.md
- SKILL.md
SKILL.md (first lines)
# Domain Modeling 在设计中主动构建并打磨项目的 domain model。这是一门 *主动* 的功夫:质疑术语、编造 edge case 场景,并在 glossary 和 decisions 一经成形时立刻把它们写下来。(仅仅 *读* `GLOSSARY.md` 来取词汇并不是这个 skill:那是任何 skill 都能做到的一行习惯。这个 skill 适用于你在*改变*模型,而不只是消费它。) ## 文件结构 大多数仓库只有一个 context: ``` / ├── GLOSSARY.md ├── docs/ │ └── adr/ │ ├── 0001-event-sourced-orders.md │ └── 0002-postgres-for-write-model.md └── src/ ``` 如果根目录存在 `GLOSSARY-MAP.md`,说明仓库有多个 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`,在第一个术语被确定时创建它。如果不存在 `docs/adr/`,在第一个 ADR 需要时创建它。 ## 会话期间 ### 用 glossary 提出质疑 当用户使用一个与 `GLOSSARY.md` 中现有语言冲突的术语时,立刻指出来。「你的 glossary 把 'cancellation' 定义为 X,但你看起来想说的是 Y。到底是哪个?」 ### 打磨模糊的语言 当用户使用模糊或过载的术语时,提出一个精确的规范术语。「你说的是 'account':你指的是 Customer 还是 User?两者是不同的东西。」 ### 讨论具体场景 当讨论领域关系时,用具体场景做压力测试。编造能探测 edge cases、迫使用户对概念之间的边界做到精确的场景。 ### 与代码交叉核对 当用户描述某件事如何运作时,检查代码是否一致。如果发现矛盾,就把它摆出来:「你的代码取消的是整个 Orders,但你刚才说可以部分取消。哪个才是对的?」 ### 就地更新 GLOSSARY.md 当一个术语被确定时,就地更新 `GLOSSARY.md`。不要攒起来:随时发生随时记录。使用 [GLOSSARY-FORMAT.md](./GLOSSARY-FORMAT.md) 中的格式。 `GLOSSARY.md` 应该完全不含实现细节。不要把 `GLOSSARY.md` 当作 spec、草稿本或实现决策的仓库。它只是一个 glossary,仅此而已。 ### 审慎地提供 ADRs 只有以下三条全部成立时才主动提出创建 ADR: 1. **Hard to reverse**:日后改变主意的代价是实质性的 2. **Surprising without context**:未来的读者会疑惑"他们为什么这样做?" 3. **The result of a real trade-off**:存在真正的备选方案,而你基于特定理由选了一个 三条缺一,就跳过 ADR。使用 [ADR-FORMAT.md](./ADR-FORMAT.md) 中的格式。
From toRolex/rolex-skills, MIT.
More from toRolex/rolex-skills
- 0.586score
diagnosing-bugs
toRolex
针对硬 bug 和 performance regression 的诊断循环。当用户说"诊断"/"调试这个",或报告有东西坏了/抛异常/失败/慢时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-review
toRolex
审查自某个 fixed point(commit、branch、tag 或 merge-base)以来的变更,沿两个轴进行:Standards(代码是否遵循本仓库文档化的编码规范?)和 Spec(代码是否匹配原始 issue/spec 的要求?)。两个并行 sub-agent 分别运行审查并并排报告结果。当用户想要…
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
codebase-design
toRolex
用于设计 deep modules 的 shared vocabulary。当用户想设计或改进某个 module 的 interface、寻找 deepening 机会、决定 seam 放在哪里、让代码更可测试或更易被 AI 导航,或当其他 skill 需要 deep-module vocabulary 时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
unknowns
toRolex
实现前走完四个象限,通过盲点扫描、头脑风暴、原型和访谈,交付一份 unknowns map。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
improve-codebase-architecture
toRolex
扫描代码库找出 deepening opportunities,以可视化的 HTML report 呈现出来,然后对你挑中的那个进行 grilling。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
prototype
toRolex
构建一个 throwaway prototype 来回答设计问题。当用户想确认某个 state model 或 logic 是否合理,或想探索 UI 应该长什么样时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
ask-rolex
toRolex
询问哪个 skill 或 flow 适合当前场景。本仓库所有 user-invoked skill 的路由器。
SkillAFreshness: A★ 1Claude Code +9 - 0.578score
implement-spec
toRolex
把 /to-spec 和 /to-tickets 的产出实现为代码。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
pre-implement
toRolex
在计划或讨论结束、开始实际交付多步骤任务时调用:新建并维护 implementation notes,逐步记录实现决策;偏离 plan、spec 时记录 Deviations。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
blind-spot-pass
toRolex
找出并解释任务相关的 unknown unknowns。当用户要求盲点扫描、进入陌生代码或领域,或 unknowns 流程需要先教学扫盲时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
brainstorm
toRolex
用多个截然不同的候选显化 unknown knowns。当用户要求头脑风暴、需要界定范围、说不出偏好但看到能认出,或 unknowns 流程进入候选探索阶段时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.576score
research
toRolex
针对高信任度一手资料调研问题,并将发现作为 Markdown 文件保存在仓库中。当用户希望调研某个主题、查阅文档或 API 事实、或将阅读工作委托给后台 agent 时使用。
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 1
- Last commit (this folder)
- Oct 1, 2026 (28 days ago)
- Last release
- Oct 1, 2026 (28 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/toRolex/rolex-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from toRolex
- 0.586score
diagnosing-bugs
toRolex
针对硬 bug 和 performance regression 的诊断循环。当用户说"诊断"/"调试这个",或报告有东西坏了/抛异常/失败/慢时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
codebase-design
toRolex
用于设计 deep modules 的 shared vocabulary。当用户想设计或改进某个 module 的 interface、寻找 deepening 机会、决定 seam 放在哪里、让代码更可测试或更易被 AI 导航,或当其他 skill 需要 deep-module vocabulary 时使用。
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
code-review
toRolex
审查自某个 fixed point(commit、branch、tag 或 merge-base)以来的变更,沿两个轴进行:Standards(代码是否遵循本仓库文档化的编码规范?)和 Spec(代码是否匹配原始 issue/spec 的要求?)。两个并行 sub-agent 分别运行审查并并排报告结果。当用户想要…
SkillAFreshness: A★ 1Claude Code +9 - 0.583score
unknowns
toRolex
实现前走完四个象限,通过盲点扫描、头脑风暴、原型和访谈,交付一份 unknowns map。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
improve-codebase-architecture
toRolex
扫描代码库找出 deepening opportunities,以可视化的 HTML report 呈现出来,然后对你挑中的那个进行 grilling。
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
prototype
toRolex
构建一个 throwaway prototype 来回答设计问题。当用户想确认某个 state model 或 logic 是否合理,或想探索 UI 应该长什么样时使用。
SkillAFreshness: A★ 1Claude Code +9
Cite this page
domain-modeling skill. Agent Mart. https://agentmart.dev/skills/torolex-domain-modeling (last updated 2026-10-24)