[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CQZSVQAFQD68SD15KBWFQ":3,"skill-same:01M78CQZSVQAFQD68SD15KBWFQ":48},{"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},"01M78CQZSVQAFQD68SD15KBWFQ","product-tenets",null,"The product north-star — four tenets (open & agnostic, composable primitives, production-grade, predictable & type-safe) distilled from TanStack's ethos\u002Ftenets. Use when making a design, API, or architecture decision, evaluating a trade-off, justifying a feature, or writing\u002Freviewing a docs\u002Fplans entry.","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\u002Fproduct-tenets\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: product-tenets\ndescription: The product north-star — four tenets (open & agnostic, composable primitives, production-grade, predictable & type-safe) distilled from TanStack's ethos\u002Ftenets. Use when making a design, API, or architecture decision, evaluating a trade-off, justifying a feature, or writing\u002Freviewing a docs\u002Fplans entry.\n---\n\n# Product tenets (north-star)\n\nDistilled from [TanStack's ethos](https:\u002F\u002Ftanstack.com\u002Fethos) and [product tenets](https:\u002F\u002Ftanstack.com\u002Ftenets) — a great inspiration whose work we respect and learn from. These four tenets are the design north-star for `@stainless-code\u002Flayers`; reach for them whenever a decision needs justifying. Adopted and adapted to a single-package, zero-dep-core, adapter-layered client library.\n\n## 1. Open, independent, technology-agnostic\n\nA provider-agnostic core; integrations layered on top as optional adapters — never the foundation. Swapping a framework is feasible without rewriting business logic; framework-specific behavior is cordoned off in `packages\u002F\u003Cframework>\u002F`.\n\n- Rules out: framework-biased APIs or peer deps in `packages\u002Fcore\u002Fsrc\u002F` (the zero-dep gate); \"all-in on X framework\" assumptions; lock-in that forces a rewrite.\n- Layers shape: one package, subpath exports per framework, optional peers, `itImportsOnlyFromCore` seam test.\n\n## 2. Composable, platform-aligned primitives\n\nFocused, composable building blocks that embrace the web platform rather than hiding it. Adoptable one piece at a time — no rewrites, no hard coupling. Escape hatches by design: always possible to drop down a level.\n\n- Rules out: designs requiring full rewrites or \"all-in\" commitments; heavy global singletons; abstractions that hide platform capabilities without escape routes.\n- Layers shape: `LayerStack`\u002F`LayerClient` primitives; `StackOutlet` is convenience, not required (`useStackHandles` for headless); standard-schema validation stays a spec, not a dep.\n\n## 3. Pragmatic, production-grade quality\n\nDesigned around real-world workloads, edge cases, and long-lived apps — not happy-path demos. Features are not done until we'd run them in our own revenue-critical apps. Performance and scale are requirements, not nice-to-haves.\n\n- Rules out: demo-only features; magic that's impossible to debug; changes that optimize for benchmarks over real-world reliability.\n- Layers shape: no-op update skip + stable snapshot refs; sync flush by default (documented `notifyManager.batch` for burst-coalescing); branded errors + `is*` guards.\n\n## 4. Predictable, explicit, type-safe behavior\n\nMinimal magic, maximum clarity. State, side effects, and data flow understandable from code, not hidden behavior. Type safety guides correct use without drowning users in generics. Evolve carefully with clear migration paths.\n\n- Rules out: hidden global state or surprising side effects; API churn without migration; type signatures technically correct but unusable in practice.\n- Layers shape: opaque `DataTag` keys with `ResponseOf`\u002F`ErrorOf` inference; `OmitKeyof` key-checked omits; `Register`-driven `DefaultLayerError`; pre-release — no breaking-change constraints, prefer the cleanest correct design.\n\n## Using the tenets\n\nWhen a proposal conflicts with a tenet, explicitly address why and how the conflict is justified (a `docs\u002Fplans\u002F` entry for new surface, inline for a line-level change). Maintainers use these as a PR checklist; partners may not bias core toward a platform.\n\n## Reference\n\n- [TanStack ethos](https:\u002F\u002Ftanstack.com\u002Fethos) · [TanStack product tenets](https:\u002F\u002Ftanstack.com\u002Ftenets) — inspiration, with respect.\n- [`architecture-priming`](..\u002F..\u002Frules\u002Farchitecture-priming.md) — STOP signals for structurally significant changes.\n- [`improve-codebase-architecture`](..\u002Fimprove-codebase-architecture\u002FSKILL.md) · [`docs\u002Farchitecture.md`](..\u002F..\u002Fdocs\u002Farchitecture.md)\n","# Product tenets (north-star)\n\nDistilled from [TanStack's ethos](https:\u002F\u002Ftanstack.com\u002Fethos) and [product tenets](https:\u002F\u002Ftanstack.com\u002Ftenets) — a great inspiration whose work we respect and learn from. These four tenets are the design north-star for `@stainless-code\u002Flayers`; reach for them whenever a decision needs justifying. Adopted and adapted to a single-package, zero-dep-core, adapter-layered client library.\n\n## 1. Open, independent, technology-agnostic\n\nA provider-agnostic core; integrations layered on top as optional adapters — never the foundation. Swapping a framework is feasible without rewriting business logic; framework-specific behavior is cordoned off in `packages\u002F\u003Cframework>\u002F`.\n\n- Rules out: framework-biased APIs or peer deps in `packages\u002Fcore\u002Fsrc\u002F` (the zero-dep gate); \"all-in on X framework\" assumptions; lock-in that forces a rewrite.\n- Layers shape: one package, subpath exports per framework, optional peers, `itImportsOnlyFromCore` seam test.\n\n## 2. Composable, platform-aligned primitives\n\nFocused, composable building blocks that embrace the web platform rather than hiding it. Adoptable one piece at a time — no rewrites, no hard coupling. Escape hatches by design: always possible to drop down a level.\n\n- Rules out: designs requiring full rewrites or \"all-in\" commitments; heavy global singletons; abstractions that hide platform capabilities without escape routes.\n- Layers shape: `LayerStack`\u002F`LayerClient` primitives; `StackOutlet` is convenience, not required (`useStackHandles` for headless); standard-schema validation stays a spec, not a dep.\n\n## 3. Pragmatic, production-grade quality\n\nDesigned around real-world workloads, edge cases, and long-lived apps — not happy-path demos. Features are not done until we'd run them in our own revenue-critical apps. Performance and scale are requirements, not nice-to-haves.\n\n- Rules out: demo-only features; magic that's impossible to debug; changes that optimize for benchmarks over real-world reliability.\n- Layers shape: no-op update skip + stable snapshot refs; sync flush by default (documented `notifyManager.batch` for burst-coalescing); branded errors + `is*` guards.\n\n## 4. Predictable, explicit, type-safe behavior\n\nMinimal magic, maximum clarity. State, side effects, and data flow understandable from code, not hidden behavior. Type safety guides correct use without drowning users in generics. Evolve carefully with clear migration paths.\n\n- Rules out: hidden global state or surprising side effects; API churn without migration; type signatures technically correct but unusable in practice.\n- Layers shape: opaque `DataTag` keys with `ResponseOf`\u002F`ErrorOf` inference; `OmitKeyof` key-checked omits; `Register`-driven `DefaultLayerError`; pre-release — no breaking-change constraints, prefer the cleanest correct design.\n\n## Using the tenets\n\nWhen a proposal conflicts with a tenet, explicitly address why and how the conflict is justified (a `docs\u002Fplans\u002F` entry for new surface, inline for a line-level change). Maintainers use these as a PR checklist; partners may not bias core toward a platform.\n\n## Reference\n\n- [TanStack ethos](https:\u002F\u002Ftanstack.com\u002Fethos) · [TanStack product tenets](https:\u002F\u002Ftanstack.com\u002Ftenets) — inspiration, with respect.\n- [`architecture-priming`](..\u002F..\u002Frules\u002Farchitecture-priming.md) — STOP signals for structurally significant changes.\n- [`improve-codebase-architecture`](..\u002Fimprove-codebase-architecture\u002FSKILL.md) · [`docs\u002Farchitecture.md`](..\u002F..\u002Fdocs\u002Farchitecture.md)\n",{"name":5,"description":7},"main","48cb8dae2773a543acd30d0e1af92f9cda91b35a",".agents\u002Fskills\u002Fproduct-tenets",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 product-tenets",{"tool":40,"command":41},"bunx","bunx skills add stainless-code\u002Flayers --skill product-tenets",{"tool":43,"command":44},"pnpm","pnpm dlx skills add stainless-code\u002Flayers --skill product-tenets","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fproduct-tenets\u002FSKILL.md",true,[],[49,56,63,70,77,84],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"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":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"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":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"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":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"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":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"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":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"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",[],[]]