[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ARH43ZBD0KMZ5BRQBST3BW":3,"skill-same:01M7ARH43ZBD0KMZ5BRQBST3BW":57},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7ARH43ZBD0KMZ5BRQBST3BW","domain-modeling",null,"构建并打磨项目的领域模型。当讨论代码库术语、编写或修改 GLOSSARY.md、记录或修改 ADR 时使用。","FeatherHunter\u002Fdsh-mattpocock-skills-deck","FeatherHunter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12967785?v=4","01M71JFD7JMNT8HWC3Y9JKMWGG","王辰浩","01M7ARGR9XSH26AXVRCDJYP6T5",363,"MIT","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills-zh\u002Fdomain-modeling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: domain-modeling\ndescription: 构建并打磨项目的领域模型。当讨论代码库术语、编写或修改 GLOSSARY.md、记录或修改 ADR 时使用。\n---\n\n# 领域建模\n\n在设计的过程中主动构建并打磨项目的领域模型。这是一项*主动*的实践：质疑术语、构想边界场景，并在术语和决定刚刚成形的那一刻，就把词汇表和决定写下来。（仅仅为了查词而*阅读* `GLOSSARY.md` 不算这项技能：那只是一句话就能带过的习惯，任何技能都做得到。这项技能用在你要改变模型的时候，而不只是使用模型的时候。）\n\n## 文件结构\n\n大多数仓库只有一个上下文：\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`，这个仓库就有多个上下文。这张地图指出每个上下文各自放在哪里：\n\n```\n\u002F\n├── GLOSSARY-MAP.md\n├── docs\u002F\n│   └── adr\u002F                          ← system-wide decisions\n├── src\u002F\n│   ├── ordering\u002F\n│   │   ├── GLOSSARY.md\n│   │   └── docs\u002Fadr\u002F                 ← context-specific decisions\n│   └── billing\u002F\n│       ├── GLOSSARY.md\n│       └── docs\u002Fadr\u002F\n```\n\n按需创建文件：只在确实有东西要写的时候才建。如果还没有 `GLOSSARY.md`，就在第一个术语定下来时创建一个。如果还没有 `docs\u002Fadr\u002F`，就在需要第一条 ADR 时创建它。\n\n## 会话期间\n\n### 对照词汇表提出质疑\n\n当用户使用的术语与 `GLOSSARY.md` 里既有的说法冲突时，立刻指出来。「你的词汇表把“cancellation”定义为 X，但你似乎想说的是 Y。到底是哪一个？」\n\n### 打磨含糊的说法\n\n当用户使用含糊或一词多义的词时，提出一个精确的规范术语。「你在说“account”：你指的是 Customer 还是 User？这是两回事。」\n\n### 讨论具体场景\n\n当讨论到领域关系时，用具体的场景给它们做压力测试。构想一些触及边界情况的场景，逼用户把概念之间的界线说清楚。\n\n### 与代码交叉核对\n\n当用户说明某件事是怎么运作的，去核对代码是否与之相符。如果你发现矛盾，就把它摆出来：「你的代码会取消整张 Order，但你刚说部分取消是可能的。哪个才是对的？」\n\n### 就地更新 GLOSSARY.md\n\n当一个术语定下来时，就当场更新 `GLOSSARY.md`。不要攒着一起改：事情发生的时候就记下来。使用 [GLOSSARY-FORMAT.md](.\u002FGLOSSARY-FORMAT.md) 里的格式。\n\n`GLOSSARY.md` 里应当完全没有实现细节。不要把 `GLOSSARY.md` 当成规格说明、草稿纸，或实现决策的存放处。它是词汇表，仅此而已。\n\n### 谨慎地提议写 ADR\n\n只有当以下三条同时成立时，才提议创建 ADR：\n\n1. **难以逆转**：日后改变主意的代价不小\n2. **没有上下文会让人意外**：未来的读者会琢磨「他们当初为什么这么做？」\n3. **真正做过取舍后的结果**：当时确实有真正的备选方案，而你出于具体理由选了其中一个\n\n三条里缺任何一条，就跳过 ADR。使用 [ADR-FORMAT.md](.\u002FADR-FORMAT.md) 里的格式。\n","# 领域建模\n\n在设计的过程中主动构建并打磨项目的领域模型。这是一项*主动*的实践：质疑术语、构想边界场景，并在术语和决定刚刚成形的那一刻，就把词汇表和决定写下来。（仅仅为了查词而*阅读* `GLOSSARY.md` 不算这项技能：那只是一句话就能带过的习惯，任何技能都做得到。这项技能用在你要改变模型的时候，而不只是使用模型的时候。）\n\n## 文件结构\n\n大多数仓库只有一个上下文：\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`，这个仓库就有多个上下文。这张地图指出每个上下文各自放在哪里：\n\n```\n\u002F\n├── GLOSSARY-MAP.md\n├── docs\u002F\n│   └── adr\u002F                          ← system-wide decisions\n├── src\u002F\n│   ├── ordering\u002F\n│   │   ├── GLOSSARY.md\n│   │   └── docs\u002Fadr\u002F                 ← context-specific decisions\n│   └── billing\u002F\n│       ├── GLOSSARY.md\n│       └── docs\u002Fadr\u002F\n```\n\n按需创建文件：只在确实有东西要写的时候才建。如果还没有 `GLOSSARY.md`，就在第一个术语定下来时创建一个。如果还没有 `docs\u002Fadr\u002F`，就在需要第一条 ADR 时创建它。\n\n## 会话期间\n\n### 对照词汇表提出质疑\n\n当用户使用的术语与 `GLOSSARY.md` 里既有的说法冲突时，立刻指出来。「你的词汇表把“cancellation”定义为 X，但你似乎想说的是 Y。到底是哪一个？」\n\n### 打磨含糊的说法\n\n当用户使用含糊或一词多义的词时，提出一个精确的规范术语。「你在说“account”：你指的是 Customer 还是 User？这是两回事。」\n\n### 讨论具体场景\n\n当讨论到领域关系时，用具体的场景给它们做压力测试。构想一些触及边界情况的场景，逼用户把概念之间的界线说清楚。\n\n### 与代码交叉核对\n\n当用户说明某件事是怎么运作的，去核对代码是否与之相符。如果你发现矛盾，就把它摆出来：「你的代码会取消整张 Order，但你刚说部分取消是可能的。哪个才是对的？」\n\n### 就地更新 GLOSSARY.md\n\n当一个术语定下来时，就当场更新 `GLOSSARY.md`。不要攒着一起改：事情发生的时候就记下来。使用 [GLOSSARY-FORMAT.md](.\u002FGLOSSARY-FORMAT.md) 里的格式。\n\n`GLOSSARY.md` 里应当完全没有实现细节。不要把 `GLOSSARY.md` 当成规格说明、草稿纸，或实现决策的存放处。它是词汇表，仅此而已。\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","5b4d78f3b2f70a7de1743ddf59b1999330daa1d1","package\u002Fbundled-skills-zh\u002Fdomain-modeling",33,"https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck","https:\u002F\u002Ffeatherhunter.github.io\u002Fdsh-mattpocock-skills-deck\u002Farchitecture\u002FMattSkills-architecture.html","https:\u002F\u002Fgithub.com\u002FFeatherHunter","The Boy, The Man, The Human.","2026-11-14 17:21:39",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add FeatherHunter\u002Fdsh-mattpocock-skills-deck --skill domain-modeling",{"tool":39,"command":40},"bunx","bunx skills add FeatherHunter\u002Fdsh-mattpocock-skills-deck --skill domain-modeling",{"tool":42,"command":43},"pnpm","pnpm dlx skills add FeatherHunter\u002Fdsh-mattpocock-skills-deck --skill domain-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills-zh\u002Fdomain-modeling\u002FSKILL.md",true,[47,53],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"ADR-FORMAT.md","REFERENCE","参考文档",2790,"https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills-zh\u002Fdomain-modeling\u002FADR-FORMAT.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"GLOSSARY-FORMAT.md",2358,"https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills-zh\u002Fdomain-modeling\u002FGLOSSARY-FORMAT.md",[58,65,72,79,86,93],{"skillNo":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7ARN2HT5PJ948V8V1X6AE2P","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7ARMY0H53GWTKKDWEFW38H7","wizard","Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7ARMTZHMWQCM1VN87EFKHYF","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Fwayfinder\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7ARMS9JVG5BJSAGBZCYFEJV","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7ARMPH1T621Q493BRNJA4M9","triage","Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Ftriage\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M7ARMJ9YHKAQQ9Z2WSQ5Y9VK","to-tickets","Break a plan, spec, or the current conversation into a set of tracer-bullet tickets, each declaring its blocking edges, published to the configured tracker (edges as text in one file per ticket locally, or native blocking links on a real tracker).","https:\u002F\u002Fgithub.com\u002FFeatherHunter\u002Fdsh-mattpocock-skills-deck\u002Fblob\u002Fmain\u002Fpackage\u002Fbundled-skills\u002Fto-tickets\u002FSKILL.md",[],[]]