[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78CQXGPVMSAVPT1QE5113VC":3,"skill-same:01M78CQXGPVMSAVPT1QE5113VC":54},{"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},"01M78CQXGPVMSAVPT1QE5113VC","pr-comment-fact-check",null,"STOP and fact-check PR review comments before applying or dismissing reviewer or bot feedback. Use on CodeRabbit, Copilot, Cursor bot, dependabot, or human reviewer comments.","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\u002Fpr-comment-fact-check\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pr-comment-fact-check\ndescription: STOP and fact-check PR review comments before applying or dismissing reviewer or bot feedback. Use on CodeRabbit, Copilot, Cursor bot, dependabot, or human reviewer comments.\n---\n\n# PR comment fact-check\n\n**STOP** before applying or dismissing any PR comment. Each comment is a **claim** — verify against the actual code and this repo's authoritative sources (`.agents\u002F`, `docs\u002Farchitecture.md`, JSDoc, tests) before acting. **Workflow:** [WORKFLOW.md](.\u002FWORKFLOW.md).\n\n| Verdict         | Default action                                                       |\n| --------------- | -------------------------------------------------------------------- |\n| ✅ Correct      | Apply + resolve                                                      |\n| ⚠️ Partial      | Apply salvageable part + explain nuance                              |\n| ❌ Hallucinated | Push back with evidence; resolve-on-merge-gate exception in WORKFLOW |\n| 🕒 Outdated     | Point at fix commit + resolve                                        |\n| 💭 Style        | Apply if cheap, else defer                                           |\n\n## Hallucination catalog (scrutinize harder)\n\nCommon LLM-reviewer patterns on this repo:\n\n1. **\"This isn't tested\" without checking siblings** — core contracts are pinned across `packages\u002Fcore\u002Fsrc\u002FlayerStack.test.ts` (open\u002Fdismiss\u002Fscope\u002FgcTime\u002FloadFn cancel, transitions `enteringDelay`\u002F`exitingDelay`\u002F`settle`, blockers `addBlocker`\u002F`dismissing`\u002Fasync veto, `dismissAll` modes); each framework adapter has co-located tests under `packages\u002F\u003Cfw>\u002Fsrc\u002F`; real-renderer paths span `packages\u002F*\u002Ftests-dom\u002F**` (vitest, rerender\u002Fdetach — e.g. React `confirm.test.tsx`, `blocker.test.tsx`, `transition.test.tsx`). Import isolation is enforced by package manifests, `sherif`, and workspace-aware `knip`, not an `itImportsOnlyFromCore` test. Verify coverage before accepting.\n2. **Type-safety alarms** — if `bun run typecheck` passes, the claim is almost always wrong, or about runtime behavior the type system can't see (then the reviewer must justify with the runtime case).\n3. **Generic \"best practice\" claims unsupported by our rules** — \"always destructure\", \"prefer interfaces over types\", \"add `useMemo`\u002F`useCallback`\" — stylistic; we either have a rule or we don't. Grep `.agents\u002F` for the convention.\n4. **Convention citations that don't exist** — \"this breaks the library's API conventions\" — grep `.agents\u002F` + `docs\u002Farchitecture.md`. If not codified, it's preference, not rule.\n5. **Memory-leak \u002F race-condition claims with no concrete trigger** — \"this could leak\" without a scenario is speculation; ask for the path. Real candidates here: `notifyManager.batch` flushing, `AbortController` cancel on dismiss, `gcTime` cache teardown, `useSyncExternalStore` unmount-detach, the scope queue draining on `dismissAll` — demand the specific path.\n6. **Wrong API for our seam** — bot suggests reaching into `LayerStack` internals from an adapter when the seam is `subscribe`\u002F`getSnapshot`; suggests a per-adapter core fork when the core\u002Fadapter seam is meant to keep one engine across all frameworks.\n7. **Public-API suggestions that leak internals** — `createCallContext` is public and intentionally generic; `Layer`'s `#state` and `LayerStack`'s `#layers` \u002F `#snapshot` \u002F `#queuedSnapshot` \u002F `#scopeQueue` \u002F `#gcCache` \u002F `#blockers` are deliberately private. Push back on \"export this helper\" \u002F \"tighten this to the internal type\".\n\n## Anti-patterns\n\n- ❌ Applying every suggestion to clear the queue.\n- ❌ Replying \"fixed!\" without verifying.\n- ❌ Dismissing without evidence.\n- ❌ Resolving a thread you rejected as hallucinated (the reviewer needs to see the receipts).\n\n## Reference\n\n- [`verify-after-each-step`](..\u002F..\u002Frules\u002Fverify-after-each-step.md) — run after applying a fix.\n- [`harden-pr`](..\u002Fharden-pr\u002FSKILL.md) — optional full pass on the branch once comments are triaged.\n- `docs\u002Farchitecture.md` — seam model, public-surface policy, test matrix (authoritative for \"is this the right seam \u002F is this tested\" claims).\n","# PR comment fact-check\n\n**STOP** before applying or dismissing any PR comment. Each comment is a **claim** — verify against the actual code and this repo's authoritative sources (`.agents\u002F`, `docs\u002Farchitecture.md`, JSDoc, tests) before acting. **Workflow:** [WORKFLOW.md](.\u002FWORKFLOW.md).\n\n| Verdict         | Default action                                                       |\n| --------------- | -------------------------------------------------------------------- |\n| ✅ Correct      | Apply + resolve                                                      |\n| ⚠️ Partial      | Apply salvageable part + explain nuance                              |\n| ❌ Hallucinated | Push back with evidence; resolve-on-merge-gate exception in WORKFLOW |\n| 🕒 Outdated     | Point at fix commit + resolve                                        |\n| 💭 Style        | Apply if cheap, else defer                                           |\n\n## Hallucination catalog (scrutinize harder)\n\nCommon LLM-reviewer patterns on this repo:\n\n1. **\"This isn't tested\" without checking siblings** — core contracts are pinned across `packages\u002Fcore\u002Fsrc\u002FlayerStack.test.ts` (open\u002Fdismiss\u002Fscope\u002FgcTime\u002FloadFn cancel, transitions `enteringDelay`\u002F`exitingDelay`\u002F`settle`, blockers `addBlocker`\u002F`dismissing`\u002Fasync veto, `dismissAll` modes); each framework adapter has co-located tests under `packages\u002F\u003Cfw>\u002Fsrc\u002F`; real-renderer paths span `packages\u002F*\u002Ftests-dom\u002F**` (vitest, rerender\u002Fdetach — e.g. React `confirm.test.tsx`, `blocker.test.tsx`, `transition.test.tsx`). Import isolation is enforced by package manifests, `sherif`, and workspace-aware `knip`, not an `itImportsOnlyFromCore` test. Verify coverage before accepting.\n2. **Type-safety alarms** — if `bun run typecheck` passes, the claim is almost always wrong, or about runtime behavior the type system can't see (then the reviewer must justify with the runtime case).\n3. **Generic \"best practice\" claims unsupported by our rules** — \"always destructure\", \"prefer interfaces over types\", \"add `useMemo`\u002F`useCallback`\" — stylistic; we either have a rule or we don't. Grep `.agents\u002F` for the convention.\n4. **Convention citations that don't exist** — \"this breaks the library's API conventions\" — grep `.agents\u002F` + `docs\u002Farchitecture.md`. If not codified, it's preference, not rule.\n5. **Memory-leak \u002F race-condition claims with no concrete trigger** — \"this could leak\" without a scenario is speculation; ask for the path. Real candidates here: `notifyManager.batch` flushing, `AbortController` cancel on dismiss, `gcTime` cache teardown, `useSyncExternalStore` unmount-detach, the scope queue draining on `dismissAll` — demand the specific path.\n6. **Wrong API for our seam** — bot suggests reaching into `LayerStack` internals from an adapter when the seam is `subscribe`\u002F`getSnapshot`; suggests a per-adapter core fork when the core\u002Fadapter seam is meant to keep one engine across all frameworks.\n7. **Public-API suggestions that leak internals** — `createCallContext` is public and intentionally generic; `Layer`'s `#state` and `LayerStack`'s `#layers` \u002F `#snapshot` \u002F `#queuedSnapshot` \u002F `#scopeQueue` \u002F `#gcCache` \u002F `#blockers` are deliberately private. Push back on \"export this helper\" \u002F \"tighten this to the internal type\".\n\n## Anti-patterns\n\n- ❌ Applying every suggestion to clear the queue.\n- ❌ Replying \"fixed!\" without verifying.\n- ❌ Dismissing without evidence.\n- ❌ Resolving a thread you rejected as hallucinated (the reviewer needs to see the receipts).\n\n## Reference\n\n- [`verify-after-each-step`](..\u002F..\u002Frules\u002Fverify-after-each-step.md) — run after applying a fix.\n- [`harden-pr`](..\u002Fharden-pr\u002FSKILL.md) — optional full pass on the branch once comments are triaged.\n- `docs\u002Farchitecture.md` — seam model, public-surface policy, test matrix (authoritative for \"is this the right seam \u002F is this tested\" claims).\n",{"name":5,"description":7},"main","48cb8dae2773a543acd30d0e1af92f9cda91b35a",".agents\u002Fskills\u002Fpr-comment-fact-check",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 pr-comment-fact-check",{"tool":40,"command":41},"bunx","bunx skills add stainless-code\u002Flayers --skill pr-comment-fact-check",{"tool":43,"command":44},"pnpm","pnpm dlx skills add stainless-code\u002Flayers --skill pr-comment-fact-check","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-comment-fact-check\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"WORKFLOW.md","REFERENCE","参考文档",11025,"https:\u002F\u002Fgithub.com\u002Fstainless-code\u002Flayers\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fpr-comment-fact-check\u002FWORKFLOW.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"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":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"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":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"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":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"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":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"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":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"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",[],[]]