[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75MJGXJJSH61MYEY48JJGD6":3,"skill-same:01M75MJGXJJSH61MYEY48JJGD6":59},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75MJGXJJSH61MYEY48JJGD6","domain-modeling",null,"构建和完善项目的领域模型。当讨论代码库术语、编写或编辑 GLOSSARY.md，或记录或编辑 ADR 时使用。","devcxl\u002Fmattpocock-skills-zh","devcxl","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F64475363?v=4","01M75MJ7N3BE0AK24Q83ZVY13N","半颗白菜","01M75MJ7P58635MPFAW17AG3SV",541,"MIT","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdomain-modeling\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: domain-modeling\ndescription: 构建和完善项目的领域模型。当讨论代码库术语、编写或编辑 GLOSSARY.md，或记录或编辑 ADR 时使用。\n---\n\n# Domain Modeling（领域建模）\n\n在设计过程中主动构建和完善项目的领域模型。这是一门**主动**的学科——质疑术语、创造边界场景、在术语和决策形成的瞬间将其记录在案。（仅仅*阅读* `GLOSSARY.md` 来获取词汇不是此 skill 的用途——那是任何 skill 都能做的单行习惯。此 skill 用于你在*修改*模型，而非仅仅消费它。）\n\n## 文件结构\n\n大多数 repo 只有一个 context：\n\n```\n\u002F\n├── GLOSSARY.md\n├── docs\u002F\n│   └── adr\u002F\n│       ├── 0001-event-sourced-orders.md\n│       └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n如果根目录存在 `GLOSSARY-MAP.md`，则该 repo 有多个 context。该 map 指向每个 context 的位置：\n\n```\n\u002F\n├── GLOSSARY-MAP.md\n├── docs\u002F\n│   └── adr\u002F                          ← 系统级决策\n├── src\u002F\n│   ├── ordering\u002F\n│   │   ├── GLOSSARY.md\n│   │   └── docs\u002Fadr\u002F                 ← context 特定决策\n│   └── billing\u002F\n│       ├── GLOSSARY.md\n│       └── docs\u002Fadr\u002F\n```\n\n懒加载创建文件——仅当有内容需要写入时才创建。如果 `GLOSSARY.md` 不存在，在第一个术语确定时创建。如果 `docs\u002Fadr\u002F` 不存在，在第一个 ADR 需要时创建。\n\n## 在会话期间\n\n### 对照 glossary 提出质疑\n\n当用户使用与 `GLOSSARY.md` 中已有语言冲突的术语时，立即指出。\"你的 glossary 将 'cancellation' 定义为 X，但你似乎指的是 Y——到底是哪个？\"\n\n### 优化模糊语言\n\n当用户使用模糊或过载的术语时，提出精确的标准术语。\"你说 'account'——指的是 Customer 还是 User？它们是不同的东西。\"\n\n### 讨论具体场景\n\n当领域关系被讨论时，用具体的场景进行压力测试。创造能够探测边界案例的场景，迫使用户精确描述概念之间的界限。\n\n### 与代码交叉引用\n\n当用户陈述某事物的工作方式时，检查代码是否一致。如果发现矛盾，指出：\"你的代码取消了整个 Orders，但你刚才说部分取消是可能的——哪个是对的？\"\n\n### 内联更新 GLOSSARY.md\n\n当术语确定时，立即更新 `GLOSSARY.md`。不要批量处理——在发生时即时捕获。使用 [GLOSSARY-FORMAT.md](.\u002FGLOSSARY-FORMAT.md) 中的格式。\n\n`GLOSSARY.md` 应完全不含实现细节。不要将 `GLOSSARY.md` 视为 spec、草稿本或实现决策的仓库。它是 glossary，仅此而已。\n\n### 谨慎提供 ADR\n\n仅当以下三个条件同时满足时才提供创建 ADR：\n\n1. **难以逆转**——事后改变想法的成本很高\n2. **脱离上下文会令人困惑**——未来的读者会想\"他们为什么这样做？\"\n3. **是真实权衡的结果**——存在真正的替代方案，你因特定原因选择了其中一个\n\n如果缺少任何一条，跳过 ADR。使用 [ADR-FORMAT.md](.\u002FADR-FORMAT.md) 中的格式。\n","# Domain Modeling（领域建模）\n\n在设计过程中主动构建和完善项目的领域模型。这是一门**主动**的学科——质疑术语、创造边界场景、在术语和决策形成的瞬间将其记录在案。（仅仅*阅读* `GLOSSARY.md` 来获取词汇不是此 skill 的用途——那是任何 skill 都能做的单行习惯。此 skill 用于你在*修改*模型，而非仅仅消费它。）\n\n## 文件结构\n\n大多数 repo 只有一个 context：\n\n```\n\u002F\n├── GLOSSARY.md\n├── docs\u002F\n│   └── adr\u002F\n│       ├── 0001-event-sourced-orders.md\n│       └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n如果根目录存在 `GLOSSARY-MAP.md`，则该 repo 有多个 context。该 map 指向每个 context 的位置：\n\n```\n\u002F\n├── GLOSSARY-MAP.md\n├── docs\u002F\n│   └── adr\u002F                          ← 系统级决策\n├── src\u002F\n│   ├── ordering\u002F\n│   │   ├── GLOSSARY.md\n│   │   └── docs\u002Fadr\u002F                 ← context 特定决策\n│   └── billing\u002F\n│       ├── GLOSSARY.md\n│       └── docs\u002Fadr\u002F\n```\n\n懒加载创建文件——仅当有内容需要写入时才创建。如果 `GLOSSARY.md` 不存在，在第一个术语确定时创建。如果 `docs\u002Fadr\u002F` 不存在，在第一个 ADR 需要时创建。\n\n## 在会话期间\n\n### 对照 glossary 提出质疑\n\n当用户使用与 `GLOSSARY.md` 中已有语言冲突的术语时，立即指出。\"你的 glossary 将 'cancellation' 定义为 X，但你似乎指的是 Y——到底是哪个？\"\n\n### 优化模糊语言\n\n当用户使用模糊或过载的术语时，提出精确的标准术语。\"你说 'account'——指的是 Customer 还是 User？它们是不同的东西。\"\n\n### 讨论具体场景\n\n当领域关系被讨论时，用具体的场景进行压力测试。创造能够探测边界案例的场景，迫使用户精确描述概念之间的界限。\n\n### 与代码交叉引用\n\n当用户陈述某事物的工作方式时，检查代码是否一致。如果发现矛盾，指出：\"你的代码取消了整个 Orders，但你刚才说部分取消是可能的——哪个是对的？\"\n\n### 内联更新 GLOSSARY.md\n\n当术语确定时，立即更新 `GLOSSARY.md`。不要批量处理——在发生时即时捕获。使用 [GLOSSARY-FORMAT.md](.\u002FGLOSSARY-FORMAT.md) 中的格式。\n\n`GLOSSARY.md` 应完全不含实现细节。不要将 `GLOSSARY.md` 视为 spec、草稿本或实现决策的仓库。它是 glossary，仅此而已。\n\n### 谨慎提供 ADR\n\n仅当以下三个条件同时满足时才提供创建 ADR：\n\n1. **难以逆转**——事后改变想法的成本很高\n2. **脱离上下文会令人困惑**——未来的读者会想\"他们为什么这样做？\"\n3. **是真实权衡的结果**——存在真正的替代方案，你因特定原因选择了其中一个\n\n如果缺少任何一条，跳过 ADR。使用 [ADR-FORMAT.md](.\u002FADR-FORMAT.md) 中的格式。\n",{"name":5,"description":7},"main","30fc5dbf9380144598f3593e6c1e22c713a52c2a","skills\u002Fengineering\u002Fdomain-modeling",48,"https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh","https:\u002F\u002Fgithub.com\u002Fdevcxl","2026-11-13 04:10:40",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add devcxl\u002Fmattpocock-skills-zh --skill domain-modeling",{"tool":37,"command":38},"bunx","bunx skills add devcxl\u002Fmattpocock-skills-zh --skill domain-modeling",{"tool":40,"command":41},"pnpm","pnpm dlx skills add devcxl\u002Fmattpocock-skills-zh --skill domain-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdomain-modeling\u002FSKILL.md",true,[45,51,55],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"ADR-FORMAT.md","REFERENCE","参考文档",2723,"https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdomain-modeling\u002FADR-FORMAT.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"agents\u002Fopenai.yaml",105,"https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdomain-modeling\u002Fagents\u002Fopenai.yaml",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"GLOSSARY-FORMAT.md",2291,"https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fengineering\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md",[60,67,74,81,88,95],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M75MMJXWKRN5DFAYWKNHCG28","writing-for-agents","为智能体编写文档。当你正在创建或编辑技能，或者修改 AGENTS.md \u002F CLAUDE.md 时使用。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M75MMHVFN4B6QBPNGQ5GJSDT","wait-what","等等。上一条消息我没理解：重新解释一下。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M75MMGNH9G1M7WC7NKP6100Y","to-questionnaire","将你无法完全回答的决策转化为供他人填写的问卷。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fto-questionnaire\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M75MME5PC8MBS7M6R6RH7VDH","teach","在当前工作区中教会用户一项新技能或概念。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fteach\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M75MMD05VWVMK55W6GEWJNX3","handoff","将当前对话压缩为一份交接文档，供另一个智能体继续工作。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fhandoff\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":19},"01M75MMBS30DRYPMC6SADZ7ZTT","grilling","对用户的计划、决策或想法进行层层盘问。当用户想要压力测试自己的思考，或使用任何 'grill' 触发短语时使用。","https:\u002F\u002Fgithub.com\u002Fdevcxl\u002Fmattpocock-skills-zh\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[]]