[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7536BBV85HQNXSSMATES1JF":3,"skill-same:01M7536BBV85HQNXSSMATES1JF":68},{"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":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M7536BBV85HQNXSSMATES1JF","speclite-domain-modeling",null,"Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.","flanliulf\u002FSpecLite","flanliulf","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3830171?v=4","01M752MYG3GGEADW105E2F6154","Fancy Liu","01M752MYGXQ0R06TYQG3BVVABS",4,"MIT","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: speclite-domain-modeling\ndescription: Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.\nallowed-tools: Read, Write, Bash, Grep, Glob\nmetadata:\n  version: \"1.1.0\"\n  author: \"fancyliu\"\n  catalog: \"speclite\"\n---\n\n# Domain Modeling（领域建模）\n\n在设计过程中主动构建并打磨项目的 domain model。这是一项 *主动* 的实践——质疑术语、构造 edge-case scenarios，并在 glossary 和 decisions 一旦明确时立即将其写下。（仅仅为了词汇而 *读取* `CONTEXT.md` 并不属于本 Skill——那只是任何 Skill 都能做到的一行习惯。本 Skill 用于改变 model，而不只是使用它。）\n\n## File structure（文件结构）\n\n`{solutioning_artifacts}` 是 SDLC solutioning artifact root。写入前先运行 `speclite resolve artifact-roots --project-root {project-root}`，取 `solutioning_artifacts` 的 `resolvedRoot`（fresh install 默认 `_speclite-output\u002F3-solutioning-artifacts`），并记录 `resolutionMode`；不要手写路径，也不要迁移旧位置的既有文件。\n\n大多数仓库只有一个 context：\n\n```\n\u002F\n├── {solutioning_artifacts}\u002F\n│   └── architecture\u002F\n│           ├── CONTEXT.md\n│           └── adr\u002F\n│               ├── 0001-event-sourced-orders.md\n│               └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n如果 `{solutioning_artifacts}\u002Farchitecture\u002F` 下存在 `CONTEXT-MAP.md`，该仓库就有多个 contexts。该 map 指向每个 context 所在的位置：\n\n```\n\u002F\n├── {solutioning_artifacts}\u002F\n│   └── architecture\u002F\n│           ├── CONTEXT-MAP.md\n│           └── adr\u002F                          ← system-wide decisions\n└── src\u002F\n    ├── ordering\u002F\n    │   └── CONTEXT.md\n    └── billing\u002F\n        └── CONTEXT.md\n```\n\n延迟创建文件——仅在有内容可写时才创建。如果不存在 `CONTEXT.md`，就在第一个术语确定时创建。如果不存在 `{solutioning_artifacts}\u002Farchitecture\u002Fadr\u002F`，就在需要第一个 ADR 时创建。\n\n## During the session（会话期间）\n\n### Challenge against the glossary（对照术语表提出质疑）\n\n当用户使用的术语与 `CONTEXT.md` 中的现有语言冲突时，立即指出。“你的 glossary 将 'cancellation' 定义为 X，但你现在似乎指的是 Y——到底是哪一个？”\n\n### Sharpen fuzzy language（明确模糊语言）\n\n当用户使用模糊或含义过多的术语时，提出一个精确的 canonical term。“你说的是 'account'——你指的是 Customer 还是 User？它们是不同的事物。”\n\n### Discuss concrete scenarios（讨论具体场景）\n\n讨论 domain relationships 时，使用具体场景对其进行 stress-test。构造能够探查 edge cases 的场景，迫使用户精确说明 concepts 之间的边界。\n\n### Cross-reference with code（与代码交叉核对）\n\n当用户说明某事如何运作时，检查代码是否与之相符。如果发现矛盾，就指出来：“你的代码会取消整个 Orders，但你刚才说 partial cancellation 是可行的——哪一个才是正确的？”\n\n### Update CONTEXT.md inline（即时更新 CONTEXT.md）\n\n每次写入 `CONTEXT.md`、`CONTEXT-MAP.md` 或 ADR 时保留文件开头的 artifact metadata frontmatter（`workflowType`、`sourceSkill: speclite-domain-modeling`、ISO `generatedAt`），并在重写时刷新 `generatedAt`；缺少 frontmatter 的文件会被 `speclite validate` 报 `artifact-path.missing-required-metadata`。\n\n术语一旦确定，就立即更新 `CONTEXT.md`。不要批量处理——在术语确定时随即记录。使用 [CONTEXT-FORMAT.md](.\u002Freferences\u002FCONTEXT-FORMAT.md) 中的格式。\n\n`CONTEXT.md` 应完全不包含 implementation details。不要把 `CONTEXT.md` 当作 spec、scratch pad 或 implementation decisions 的存储库。它只是 glossary，除此之外什么都不是。\n\n### Offer ADRs sparingly（谨慎提出 ADR）\n\n仅当以下三个条件全部成立时，才提出创建 ADR：\n\n1. **Hard to reverse（难以逆转）**——之后改变主意的成本很大\n2. **Surprising without context（缺少上下文时令人意外）**——未来的读者会疑惑“他们为什么要这样做？”\n3. **The result of a real trade-off（真实权衡的结果）**——确实存在不同方案，并且你出于具体原因选择了其中一个\n\n如果缺少其中任何一个条件，就跳过 ADR。使用 [ADR-FORMAT.md](.\u002Freferences\u002FADR-FORMAT.md) 中的格式。\n\n[Generation Metadata（生成信息）]\n    本 Skill 由 speclite-skill-creator 自动生成。如需修改，必须同步更新 SKILL.md 与 SKILL.en.md，并同步 `assets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002F` 与实际安装副本。\n","# Domain Modeling（领域建模）\n\n在设计过程中主动构建并打磨项目的 domain model。这是一项 *主动* 的实践——质疑术语、构造 edge-case scenarios，并在 glossary 和 decisions 一旦明确时立即将其写下。（仅仅为了词汇而 *读取* `CONTEXT.md` 并不属于本 Skill——那只是任何 Skill 都能做到的一行习惯。本 Skill 用于改变 model，而不只是使用它。）\n\n## File structure（文件结构）\n\n`{solutioning_artifacts}` 是 SDLC solutioning artifact root。写入前先运行 `speclite resolve artifact-roots --project-root {project-root}`，取 `solutioning_artifacts` 的 `resolvedRoot`（fresh install 默认 `_speclite-output\u002F3-solutioning-artifacts`），并记录 `resolutionMode`；不要手写路径，也不要迁移旧位置的既有文件。\n\n大多数仓库只有一个 context：\n\n```\n\u002F\n├── {solutioning_artifacts}\u002F\n│   └── architecture\u002F\n│           ├── CONTEXT.md\n│           └── adr\u002F\n│               ├── 0001-event-sourced-orders.md\n│               └── 0002-postgres-for-write-model.md\n└── src\u002F\n```\n\n如果 `{solutioning_artifacts}\u002Farchitecture\u002F` 下存在 `CONTEXT-MAP.md`，该仓库就有多个 contexts。该 map 指向每个 context 所在的位置：\n\n```\n\u002F\n├── {solutioning_artifacts}\u002F\n│   └── architecture\u002F\n│           ├── CONTEXT-MAP.md\n│           └── adr\u002F                          ← system-wide decisions\n└── src\u002F\n    ├── ordering\u002F\n    │   └── CONTEXT.md\n    └── billing\u002F\n        └── CONTEXT.md\n```\n\n延迟创建文件——仅在有内容可写时才创建。如果不存在 `CONTEXT.md`，就在第一个术语确定时创建。如果不存在 `{solutioning_artifacts}\u002Farchitecture\u002Fadr\u002F`，就在需要第一个 ADR 时创建。\n\n## During the session（会话期间）\n\n### Challenge against the glossary（对照术语表提出质疑）\n\n当用户使用的术语与 `CONTEXT.md` 中的现有语言冲突时，立即指出。“你的 glossary 将 'cancellation' 定义为 X，但你现在似乎指的是 Y——到底是哪一个？”\n\n### Sharpen fuzzy language（明确模糊语言）\n\n当用户使用模糊或含义过多的术语时，提出一个精确的 canonical term。“你说的是 'account'——你指的是 Customer 还是 User？它们是不同的事物。”\n\n### Discuss concrete scenarios（讨论具体场景）\n\n讨论 domain relationships 时，使用具体场景对其进行 stress-test。构造能够探查 edge cases 的场景，迫使用户精确说明 concepts 之间的边界。\n\n### Cross-reference with code（与代码交叉核对）\n\n当用户说明某事如何运作时，检查代码是否与之相符。如果发现矛盾，就指出来：“你的代码会取消整个 Orders，但你刚才说 partial cancellation 是可行的——哪一个才是正确的？”\n\n### Update CONTEXT.md inline（即时更新 CONTEXT.md）\n\n每次写入 `CONTEXT.md`、`CONTEXT-MAP.md` 或 ADR 时保留文件开头的 artifact metadata frontmatter（`workflowType`、`sourceSkill: speclite-domain-modeling`、ISO `generatedAt`），并在重写时刷新 `generatedAt`；缺少 frontmatter 的文件会被 `speclite validate` 报 `artifact-path.missing-required-metadata`。\n\n术语一旦确定，就立即更新 `CONTEXT.md`。不要批量处理——在术语确定时随即记录。使用 [CONTEXT-FORMAT.md](.\u002Freferences\u002FCONTEXT-FORMAT.md) 中的格式。\n\n`CONTEXT.md` 应完全不包含 implementation details。不要把 `CONTEXT.md` 当作 spec、scratch pad 或 implementation decisions 的存储库。它只是 glossary，除此之外什么都不是。\n\n### Offer ADRs sparingly（谨慎提出 ADR）\n\n仅当以下三个条件全部成立时，才提出创建 ADR：\n\n1. **Hard to reverse（难以逆转）**——之后改变主意的成本很大\n2. **Surprising without context（缺少上下文时令人意外）**——未来的读者会疑惑“他们为什么要这样做？”\n3. **The result of a real trade-off（真实权衡的结果）**——确实存在不同方案，并且你出于具体原因选择了其中一个\n\n如果缺少其中任何一个条件，就跳过 ADR。使用 [ADR-FORMAT.md](.\u002Freferences\u002FADR-FORMAT.md) 中的格式。\n\n[Generation Metadata（生成信息）]\n    本 Skill 由 speclite-skill-creator 自动生成。如需修改，必须同步更新 SKILL.md 与 SKILL.en.md，并同步 `assets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002F` 与实际安装副本。\n",{"name":5,"metadata":24,"description":7,"allowed-tools":28},{"author":25,"catalog":26,"version":27},"fancyliu","speclite","1.1.0","Read, Write, Bash, Grep, Glob","main","73fff74748dc0e27169d3ae76818d545bdbe8591","assets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling",0,"https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite","https:\u002F\u002Fgithub.com\u002Fflanliulf","2026-11-12 11:47:29",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add flanliulf\u002FSpecLite --skill speclite-domain-modeling",{"tool":42,"command":43},"bunx","bunx skills add flanliulf\u002FSpecLite --skill speclite-domain-modeling",{"tool":45,"command":46},"pnpm","pnpm dlx skills add flanliulf\u002FSpecLite --skill speclite-domain-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002FSKILL.md",true,[50,56,60,64],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"CHANGELOG.md","REFERENCE","参考文档",1084,"https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002FCHANGELOG.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002FADR-FORMAT.md",3183,"https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002Freferences\u002FADR-FORMAT.md",{"path":61,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002FCONTEXT-FORMAT.md",3187,"https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002Freferences\u002FCONTEXT-FORMAT.md",{"path":65,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":66,"sourceHtmlUrl":67},"SKILL.en.md",4598,"https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fcore-skills\u002Fspeclite-domain-modeling\u002FSKILL.en.md",[69,75,82,89,96,103],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M76P89DWEDZ1JG6DSCQQPRPN","speclite-dev-story","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fsource-integrity\u002Flocal-source-snapshot-unverified\u002Finput\u002Fsource\u002Fcore-skills\u002Fspeclite-dev-story\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M76P87XBP3W1CZY0AJWPFSGE","speclite-code-review-01-reviewer","Fixture-owned installed skill entry for the minimal artifact loop.","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fskill-artifact-loop\u002Finput\u002F.claude\u002Fskills\u002Fspeclite-code-review-01-reviewer\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M76P8507WMXJVZ17BFKADNWV","speclite-skill-lint","只读检查 Skill 定义；用于 lint skill、check skill、检查技能或评估 Skill 规范。区分基础格式、Codex 适配和 SpecLite 约定，报告证据及未检查项；Agent 定义包转交 speclite-agent-lint。","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fsupport-skills\u002Fspeclite-skill-lint\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M76P82YCP8G07G0DFBB6VZGE","speclite-skill-creator","创建或迭代 SpecLite workflow Skill；用于 create skill、新建技能、生成技能包或封装工作流。设计入口、辅助资源和验证用例；Agent 定义包转交 speclite-agent-creator。","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fsupport-skills\u002Fspeclite-skill-creator\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M76P7ZVEPVECYC258WNSD9XC","speclite-html-ppt-generator","生成 SpecLite-owned 单文件 HTML PPT。用于用户要求创建 docs presentation、HTML PPT、网页 slides、Swiss Style deck、杂志风 deck，或其他可直接浏览器打开的介绍\u002F分享型 deck。核心能力：使用本 Skill 内置模板、主题、layout 和 validator 生成横向翻页 HTML，并避免依赖外部个人 skill 路径。","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fsupport-skills\u002Fspeclite-html-ppt-generator\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":19},"01M76P7WQ9NZDFZ306HKP8J6QX","speclite-docs-intro-ppt-creator","生成 SpecLite docs 下的介绍型 HTML PPT。用于用户要求把某个项目体系、系统设计、治理机制、理念或工作流总结成 docs presentation、HTML PPT、网页 slides、介绍 deck。核心能力：限定输出目录、基于事实材料规划叙事、调用 speclite-html-ppt-generator 生成单 HTML deck，并用确定性检查和浏览器抽样收口。","https:\u002F\u002Fgithub.com\u002Fflanliulf\u002FSpecLite\u002Fblob\u002Fmain\u002Fassets\u002Fsource\u002Fspeclite\u002Fsupport-skills\u002Fspeclite-docs-intro-ppt-creator\u002FSKILL.md",[],[]]