[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CQB8NN047NXHJVMG2QC3E":3,"skill-same:01M78CQB8NN047NXHJVMG2QC3E":58},{"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":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M78CQB8NN047NXHJVMG2QC3E","domain-modeling",null,"Build and sharpen the project's domain terminology inline or via a batch glossary scan. Use when pinning down ubiquitous language, recording a domain decision, grill-with-docs crystallises a term, or refreshing docs\u002Fglossary.md.","stainless-code\u002Flayers","stainless-code","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F188862219?v=4","01M7826VYMCF2NTQWQZRWQ454T","STAINLESS CODE","01M78CPK4PDPTTAGE6Q5TPCM3M",4,"MIT","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: domain-modeling\ndescription: Build and sharpen the project's domain terminology inline or via a batch glossary scan. Use when pinning down ubiquitous language, recording a domain decision, grill-with-docs crystallises a term, or refreshing docs\u002Fglossary.md.\n---\n\n# Domain Modeling\n\nActively build and sharpen the project's domain model as you design. Reading [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) for vocabulary is a one-line habit any skill can do — **this skill is for when you're changing the model**, not just consuming it.\n\nLayers deltas for this repo:\n\n- **No repo-root `docs\u002Fadr\u002F`** — current decisions live in [`docs\u002Farchitecture.md`](..\u002F..\u002F..\u002Fdocs\u002Farchitecture.md); retained audit history in `docs\u002Faudits\u002F\u003Ctopic>.md`; in-flight work in `docs\u002Fplans\u002F\u003Cname>.md`. See [`docs-governance`](..\u002Fdocs-governance\u002FSKILL.md).\n- **Single canonical glossary** — [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) at the repo root (Tier B: one repo-wide surface, no per-feature subtrees). See [`grill-with-docs\u002FARTIFACTS.md`](..\u002Fgrill-with-docs\u002FARTIFACTS.md).\n\n## File structure\n\n```\n\u002F\n├── docs\u002F\n│   ├── glossary.md          ← canonical ubiquitous language (single)\n│   ├── architecture.md      ← current structural decisions\n│   ├── audits\u002F\u003Ctopic>.md    ← retained audit history\n│   └── plans\u002F\u003Cname>.md      ← in-flight decisions\n```\n\nCreate files lazily — only when you have something to write.\n\n## During the session (inline)\n\n### Challenge against the glossary\n\nWhen the user uses a term that conflicts with [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md), call it out immediately.\n\n### Sharpen fuzzy language\n\nWhen the user uses vague or overloaded terms (e.g. \"stack\" for both the `LayerStack` and the JavaScript call stack, or \"layer\" for both the frame and the component that renders it), propose a precise canonical term.\n\n### Discuss concrete scenarios\n\nStress-test domain relationships with specific edge-case scenarios (serial scope queueing, double-`open` on the same key with `upsert`, `gcTime` restore on re-open, `dismissAll` draining a queued caller).\n\n### Cross-reference with code\n\nWhen the user states how something works, check whether the code agrees (`packages\u002Fcore\u002Fsrc`, the framework adapter package entries under `packages\u002F\u003Cfw>\u002Fsrc`). Surface contradictions.\n\n### Update vocabulary inline\n\nWhen a term is resolved, update [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) **right there** — don't batch. Use [GLOSSARY-ENTRY.md](.\u002FGLOSSARY-ENTRY.md).\n\n`docs\u002Fglossary.md` is **glossary only** — no implementation details, not a spec or scratch pad.\n\n### Offer decision docs sparingly\n\nOnly when the decision is hard to reverse, surprising without context, and the result of a real trade-off. Route to `architecture.md`, `plans\u002F`, or `audits\u002F` per docs-governance — not ADRs at repo root.\n\n## Batch glossary scan\n\nWhen the user asks to extract or refresh the full glossary (not one term at a time), follow [GLOSSARY-SCAN.md](.\u002FGLOSSARY-SCAN.md).\n\n**Done when:** resolved terms are in [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md); contradictions with code surfaced or filed as follow-up.\n\n## Reference\n\n- Format: [GLOSSARY-ENTRY.md](.\u002FGLOSSARY-ENTRY.md)\n- Batch scan: [GLOSSARY-SCAN.md](.\u002FGLOSSARY-SCAN.md)\n- Docs lifecycle: [`docs-governance`](..\u002Fdocs-governance\u002FSKILL.md)\n- Grilling + inline updates: [`grill-with-docs\u002FARTIFACTS.md`](..\u002Fgrill-with-docs\u002FARTIFACTS.md)\n","# Domain Modeling\n\nActively build and sharpen the project's domain model as you design. Reading [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) for vocabulary is a one-line habit any skill can do — **this skill is for when you're changing the model**, not just consuming it.\n\nLayers deltas for this repo:\n\n- **No repo-root `docs\u002Fadr\u002F`** — current decisions live in [`docs\u002Farchitecture.md`](..\u002F..\u002F..\u002Fdocs\u002Farchitecture.md); retained audit history in `docs\u002Faudits\u002F\u003Ctopic>.md`; in-flight work in `docs\u002Fplans\u002F\u003Cname>.md`. See [`docs-governance`](..\u002Fdocs-governance\u002FSKILL.md).\n- **Single canonical glossary** — [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) at the repo root (Tier B: one repo-wide surface, no per-feature subtrees). See [`grill-with-docs\u002FARTIFACTS.md`](..\u002Fgrill-with-docs\u002FARTIFACTS.md).\n\n## File structure\n\n```\n\u002F\n├── docs\u002F\n│   ├── glossary.md          ← canonical ubiquitous language (single)\n│   ├── architecture.md      ← current structural decisions\n│   ├── audits\u002F\u003Ctopic>.md    ← retained audit history\n│   └── plans\u002F\u003Cname>.md      ← in-flight decisions\n```\n\nCreate files lazily — only when you have something to write.\n\n## During the session (inline)\n\n### Challenge against the glossary\n\nWhen the user uses a term that conflicts with [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md), call it out immediately.\n\n### Sharpen fuzzy language\n\nWhen the user uses vague or overloaded terms (e.g. \"stack\" for both the `LayerStack` and the JavaScript call stack, or \"layer\" for both the frame and the component that renders it), propose a precise canonical term.\n\n### Discuss concrete scenarios\n\nStress-test domain relationships with specific edge-case scenarios (serial scope queueing, double-`open` on the same key with `upsert`, `gcTime` restore on re-open, `dismissAll` draining a queued caller).\n\n### Cross-reference with code\n\nWhen the user states how something works, check whether the code agrees (`packages\u002Fcore\u002Fsrc`, the framework adapter package entries under `packages\u002F\u003Cfw>\u002Fsrc`). Surface contradictions.\n\n### Update vocabulary inline\n\nWhen a term is resolved, update [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md) **right there** — don't batch. Use [GLOSSARY-ENTRY.md](.\u002FGLOSSARY-ENTRY.md).\n\n`docs\u002Fglossary.md` is **glossary only** — no implementation details, not a spec or scratch pad.\n\n### Offer decision docs sparingly\n\nOnly when the decision is hard to reverse, surprising without context, and the result of a real trade-off. Route to `architecture.md`, `plans\u002F`, or `audits\u002F` per docs-governance — not ADRs at repo root.\n\n## Batch glossary scan\n\nWhen the user asks to extract or refresh the full glossary (not one term at a time), follow [GLOSSARY-SCAN.md](.\u002FGLOSSARY-SCAN.md).\n\n**Done when:** resolved terms are in [`docs\u002Fglossary.md`](..\u002F..\u002F..\u002Fdocs\u002Fglossary.md); contradictions with code surfaced or filed as follow-up.\n\n## Reference\n\n- Format: [GLOSSARY-ENTRY.md](.\u002FGLOSSARY-ENTRY.md)\n- Batch scan: [GLOSSARY-SCAN.md](.\u002FGLOSSARY-SCAN.md)\n- Docs lifecycle: [`docs-governance`](..\u002Fdocs-governance\u002FSKILL.md)\n- Grilling + inline updates: [`grill-with-docs\u002FARTIFACTS.md`](..\u002Fgrill-with-docs\u002FARTIFACTS.md)\n",{"name":5,"description":7},"main","48cb8dae2773a543acd30d0e1af92f9cda91b35a",".agents\u002Fskills\u002Fdomain-modeling",0,"https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers","https:\u002F\u002Fstainless-code.com\u002Flayers","https:\u002F\u002Fgithub.com\u002Fstainless-code","https:\u002F\u002Fstainless-code.com\u002F","Open-source tooling for JS\u002FTS and AI agents.","2026-11-01 20:56:20",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add stainless-code\u002Flayers --skill domain-modeling",{"tool":40,"command":41},"bunx","bunx skills add stainless-code\u002Flayers --skill domain-modeling",{"tool":43,"command":44},"pnpm","pnpm dlx skills add stainless-code\u002Flayers --skill domain-modeling","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdomain-modeling\u002FSKILL.md",true,[48,54],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"GLOSSARY-ENTRY.md","REFERENCE","参考文档",2345,"https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdomain-modeling\u002FGLOSSARY-ENTRY.md",{"path":55,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":56,"sourceHtmlUrl":57},"GLOSSARY-SCAN.md",4281,"https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fdomain-modeling\u002FGLOSSARY-SCAN.md",[59,66,73,80,87,94],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M78CSV0ENFT6T2C1KN4J76HN","vue-layers","Vue adapter for @stainless-code\u002Fvue-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Fvue\u002Fskills\u002Fvue-layers\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M78CSPDPYQ02J822EZNJ0KS6","svelte-layers","Svelte bindings for @stainless-code\u002Fsvelte-layers (runes + stores). Use to open overlay UI imperatively from anywhere, manage ordered named stacks, choose the Svelte 5.7+ runes or Svelte 3+ stores entry, and wire layer context or stack outlets.","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Fsvelte\u002Fskills\u002Fsvelte-layers\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M78CSH8P22QAVQWSY6J4D8FQ","solid-layers","SolidJS adapter for @stainless-code\u002Fsolid-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Fsolid\u002Fskills\u002Fsolid-layers\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M78CSCQE83B2VEM4JAW5FAFP","react-layers","React adapter for @stainless-code\u002Freact-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open`","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Freact\u002Fskills\u002Freact-layers\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M78CS7RYJ25PK8ASR150R8QS","preact-layers","Preact adapter for @stainless-code\u002Fpreact-layers — use for awaitable confirm flows, singleton toasts, nested drawers, stack subscriptions, and custom layer hosts","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Fpreact\u002Fskills\u002Fpreact-layers\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M78CS44RJHSXYT13KZKQPNY3","lit-layers","Lit adapter for @stainless-code\u002Flit-layers; open UI from anywhere and manage ordered, named stacks with typed or fire-and-forget `open` via Reactive Controllers and custom elements","https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002Fpackages\u002Flit\u002Fskills\u002Flit-layers\u002FSKILL.md",[],[]]