[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DS27FA8C6TBS02DHT6R6D2":3,"skill-same:01M7DS27FA8C6TBS02DHT6R6D2":59},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M7DS27FA8C6TBS02DHT6R6D2","react-review",null,"Use when reviewing React components, hooks, or route files for idiomatic React, when the user asks for refactor targets or a React cleanup pass, or types \u002Freact-review. Reports composition, colocation, state ownership, and repo-idiom findings ranked by hurt. It reports, it does not fix. External scanner counterpart is react-doctor.","krake747\u002Fnext-bite","krake747","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F41166160?v=4","01M6C7NZHDDRQH3NNDXXY1WMDS","Kevin Kraemer","01M6C7NZNM7ZQ1XMT6ZSSFZ3CY",0,"AGPL-3.0","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-review\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-review\ndescription: Use when reviewing React components, hooks, or route files for idiomatic React, when the user asks for refactor targets or a React cleanup pass, or types \u002Freact-review. Reports composition, colocation, state ownership, and repo-idiom findings ranked by hurt. It reports, it does not fix. External scanner counterpart is react-doctor.\nversion: \"1.0.0\"\n---\n\n# React Review\n\nA specialized review skill. It does one thing: judge React code against this repo's idioms and report what to refactor, ranked by how much it hurts. It does not build features or fix the code. Point it at a diff, a component, a hook, or a file.\n\nThis skill owns structure: composition, colocation, ownership, and idiom. When a finding is visual (spacing, motion, contrast), leave it for a UI review pass. When a finding is a known diagnostic with a scanner recipe, defer to `react-doctor`.\n\n## Operating posture\n\nReview like the engineer who will maintain the file. Code that renders but resists change, hides its data flow, or duplicates what the framework owns is a regression, not a pass. Default to flagging. Approval is earned, not assumed.\n\n## Behavior first\n\nStart from the user-observable behavior, not the code shape. No behavior change means no finding above a nit. Judge data shapes from the caller's side: the reader decides the shape, so a shape that serves no caller gets deleted and a shape two callers read differently gets split.\n\nA refactor must lock current behavior before it moves code: a regression test that fails on the old shape and passes on the new one, or a recorded before\u002Fafter run. Flag any restructure with no behavior lock, however clean it reads.\n\nEvery finding states the behavior at stake and its proof: the test output, the repro steps, or the spec line. Style without a behavioral consequence is a nit at most. If the intended behavior is not evident from the diff and its tests, grill for intent first instead of guessing (the grilling skill owns the interview); a review that invents intent manufactures findings.\n\n## What to review, in priority order\n\nRead the target first, then judge it against these dimensions. The order is the triage order: a broken hook outranks an awkward prop. Expanded checklists with repo examples live in [references\u002Fdimensions.md](references\u002Fdimensions.md).\n\n1. **Correctness of hooks and rendering**: hooks called unconditionally and in stable order, stable `key` values, no state that duplicates derivable data, effects that clean up async work which can outlive unmount. Prefer derived values, maps, and explicit state models over effects that sync state step by step; effects that touch the world stay effects. Name the machine when two or more flags jointly decide one UI outcome: separate boot from op pending, never let `undefined` mean a screen, type the union once and export it, and give every async transition one owner with a generation check so a late response cannot overwrite newer state. See `useCopyFeedback`-style timers as the model: ref-held, cleared on retrigger and on unmount.\n2. **Composition over configuration**: layout shells take `children`, related pieces compose as compound components, call sites pass layout only. A pile of boolean props that switches between renders is a component begging to be split; a new `showHeader` or `renderActions` prop where the caller could pass children is the violation to name. Wrappers own styling; call sites never restyle. An abstraction earns its place only if deleting it would move meaningful complexity into its callers; a wrapper forwarding props unchanged with no logic gets inlined.\n3. **Colocation**: logic lives next to its only consumers: helpers beside their single call site, tables beside the rows they render, maps beside the registry they index. A shared module with one importer is a file waiting to be inlined. Each concept keeps one defining home; reuse the existing component, token, validator, or query instead of making another version. Flag duplicated status literals, magic strings, and route paths; one validator or helper owns each.\n4. **State ownership**: props for one level of passing, context (read through `use()`, never `useContext`) when it goes deeper. A component that renders from optional data owns its guard and returns null instead of pushing conditionals to its caller. Each component destructures only what it reads. When a module splits, every state transition keeps one owner; siblings never duplicate controlled state or callbacks.\n5. **Repo idioms**: React Compiler owns memoization, so `useMemo`, `useCallback`, and `React.memo` never appear (ADR-0009). Prefer `function` declarations over arrow function expressions, except in-component handlers, inline callbacks, and one-liners. Layout shells type props as `React.ComponentProps\u003Celement>`; data carriers keep explicit types. Multi-line event logic lives in named `handle*` functions; single-expression delegation stays inline. Props are `Readonly`, types beat interfaces, and nothing is ever cast.\n6. **Dead code**: a prop with zero call sites gets deleted, an unused helper goes with it. Extraction waits for the third copy: the first duplication is a note, the second is a candidate, the third is the refactor.\n\n## Escalation triggers: flag on sight\n\nThese are almost always wrong. You do not need to deliberate. Wrong-to-right snippets for each trigger live in [references\u002Ftriggers.md](references\u002Ftriggers.md).\n\n- `useMemo`, `useCallback`, or `React.memo`.\n- `useContext` (the repo reads context through `use()`).\n- An `as` cast or a non-null assertion.\n- `Omit` that redeclares props just to re-add them, or a `...rest` spread (the spread is named `...props`).\n- `children` riding inside the spread instead of destructured and rendered.\n- Multi-line logic inline in `onClick` or JSX instead of a named handler.\n- A prop drilled through an intermediary that never reads it (context instead).\n- Nullable `useState` whose value reaches render without narrowing through a union.\n- A `catch` whose body only swallows, with no state update.\n- Arrow function declarations for components or module helpers (in-component handlers, inline callbacks, and one-liners are exempt).\n- Async `setState` after an `await` with no generation check, so a late response can overwrite newer state.\n- One boolean read two ways (boot versus op, page versus button).\n- A nullable phase where `undefined` means a different screen instead of missing data.\n\n## Output format\n\nLead with the verdict, then the findings. Do not bury the one thing that matters under ten nits.\n\n- **Verdict**: one line: **Blocked**, **Approve with changes**, or **Ship it**. Blocked means at least one finding breaks hooks, data flow, or the repo lint gate.\n- **Blocking**: findings that must be fixed before the code lands. Each: what is wrong, where (`file:line`), the behavior at stake plus its proof, why it hurts, and the fix with the repo rule it follows.\n- **Should fix**: real structural problems that are not blockers. Same shape.\n- **Nits**: small polish, clearly labeled as optional.\n\nBe specific and cite the exact code. \"This component is hard to follow\" is weak; \"this page threads `entry` through four layers that never read it: provide it once through context and let each section read what it needs\" is a review. Name the repo rule (an `AGENTS.md` row, a `CODING_STANDARDS.md` section, an ADR) so the fix is grounded, not invented.\n\n## What earns approval\n\nA target ships when hooks are correct, pieces compose instead of configuring, logic sits next to its consumers, state has a clear owner, repo idioms hold, and nothing dead remains. Approval is the absence of findings, not the absence of effort. If you cannot find anything wrong, say so plainly.\n","# React Review\n\nA specialized review skill. It does one thing: judge React code against this repo's idioms and report what to refactor, ranked by how much it hurts. It does not build features or fix the code. Point it at a diff, a component, a hook, or a file.\n\nThis skill owns structure: composition, colocation, ownership, and idiom. When a finding is visual (spacing, motion, contrast), leave it for a UI review pass. When a finding is a known diagnostic with a scanner recipe, defer to `react-doctor`.\n\n## Operating posture\n\nReview like the engineer who will maintain the file. Code that renders but resists change, hides its data flow, or duplicates what the framework owns is a regression, not a pass. Default to flagging. Approval is earned, not assumed.\n\n## Behavior first\n\nStart from the user-observable behavior, not the code shape. No behavior change means no finding above a nit. Judge data shapes from the caller's side: the reader decides the shape, so a shape that serves no caller gets deleted and a shape two callers read differently gets split.\n\nA refactor must lock current behavior before it moves code: a regression test that fails on the old shape and passes on the new one, or a recorded before\u002Fafter run. Flag any restructure with no behavior lock, however clean it reads.\n\nEvery finding states the behavior at stake and its proof: the test output, the repro steps, or the spec line. Style without a behavioral consequence is a nit at most. If the intended behavior is not evident from the diff and its tests, grill for intent first instead of guessing (the grilling skill owns the interview); a review that invents intent manufactures findings.\n\n## What to review, in priority order\n\nRead the target first, then judge it against these dimensions. The order is the triage order: a broken hook outranks an awkward prop. Expanded checklists with repo examples live in [references\u002Fdimensions.md](references\u002Fdimensions.md).\n\n1. **Correctness of hooks and rendering**: hooks called unconditionally and in stable order, stable `key` values, no state that duplicates derivable data, effects that clean up async work which can outlive unmount. Prefer derived values, maps, and explicit state models over effects that sync state step by step; effects that touch the world stay effects. Name the machine when two or more flags jointly decide one UI outcome: separate boot from op pending, never let `undefined` mean a screen, type the union once and export it, and give every async transition one owner with a generation check so a late response cannot overwrite newer state. See `useCopyFeedback`-style timers as the model: ref-held, cleared on retrigger and on unmount.\n2. **Composition over configuration**: layout shells take `children`, related pieces compose as compound components, call sites pass layout only. A pile of boolean props that switches between renders is a component begging to be split; a new `showHeader` or `renderActions` prop where the caller could pass children is the violation to name. Wrappers own styling; call sites never restyle. An abstraction earns its place only if deleting it would move meaningful complexity into its callers; a wrapper forwarding props unchanged with no logic gets inlined.\n3. **Colocation**: logic lives next to its only consumers: helpers beside their single call site, tables beside the rows they render, maps beside the registry they index. A shared module with one importer is a file waiting to be inlined. Each concept keeps one defining home; reuse the existing component, token, validator, or query instead of making another version. Flag duplicated status literals, magic strings, and route paths; one validator or helper owns each.\n4. **State ownership**: props for one level of passing, context (read through `use()`, never `useContext`) when it goes deeper. A component that renders from optional data owns its guard and returns null instead of pushing conditionals to its caller. Each component destructures only what it reads. When a module splits, every state transition keeps one owner; siblings never duplicate controlled state or callbacks.\n5. **Repo idioms**: React Compiler owns memoization, so `useMemo`, `useCallback`, and `React.memo` never appear (ADR-0009). Prefer `function` declarations over arrow function expressions, except in-component handlers, inline callbacks, and one-liners. Layout shells type props as `React.ComponentProps\u003Celement>`; data carriers keep explicit types. Multi-line event logic lives in named `handle*` functions; single-expression delegation stays inline. Props are `Readonly`, types beat interfaces, and nothing is ever cast.\n6. **Dead code**: a prop with zero call sites gets deleted, an unused helper goes with it. Extraction waits for the third copy: the first duplication is a note, the second is a candidate, the third is the refactor.\n\n## Escalation triggers: flag on sight\n\nThese are almost always wrong. You do not need to deliberate. Wrong-to-right snippets for each trigger live in [references\u002Ftriggers.md](references\u002Ftriggers.md).\n\n- `useMemo`, `useCallback`, or `React.memo`.\n- `useContext` (the repo reads context through `use()`).\n- An `as` cast or a non-null assertion.\n- `Omit` that redeclares props just to re-add them, or a `...rest` spread (the spread is named `...props`).\n- `children` riding inside the spread instead of destructured and rendered.\n- Multi-line logic inline in `onClick` or JSX instead of a named handler.\n- A prop drilled through an intermediary that never reads it (context instead).\n- Nullable `useState` whose value reaches render without narrowing through a union.\n- A `catch` whose body only swallows, with no state update.\n- Arrow function declarations for components or module helpers (in-component handlers, inline callbacks, and one-liners are exempt).\n- Async `setState` after an `await` with no generation check, so a late response can overwrite newer state.\n- One boolean read two ways (boot versus op, page versus button).\n- A nullable phase where `undefined` means a different screen instead of missing data.\n\n## Output format\n\nLead with the verdict, then the findings. Do not bury the one thing that matters under ten nits.\n\n- **Verdict**: one line: **Blocked**, **Approve with changes**, or **Ship it**. Blocked means at least one finding breaks hooks, data flow, or the repo lint gate.\n- **Blocking**: findings that must be fixed before the code lands. Each: what is wrong, where (`file:line`), the behavior at stake plus its proof, why it hurts, and the fix with the repo rule it follows.\n- **Should fix**: real structural problems that are not blockers. Same shape.\n- **Nits**: small polish, clearly labeled as optional.\n\nBe specific and cite the exact code. \"This component is hard to follow\" is weak; \"this page threads `entry` through four layers that never read it: provide it once through context and let each section read what it needs\" is a review. Name the repo rule (an `AGENTS.md` row, a `CODING_STANDARDS.md` section, an ADR) so the fix is grounded, not invented.\n\n## What earns approval\n\nA target ships when hooks are correct, pieces compose instead of configuring, logic sits next to its consumers, state has a clear owner, repo idioms hold, and nothing dead remains. Approval is the absence of findings, not the absence of effort. If you cannot find anything wrong, say so plainly.\n",{"name":5,"version":24,"description":7},"1.0.0","main","ff543c3cad9742985b70cd96f0b11e5e556583f2",".agents\u002Fskills\u002Freact-review",1,"https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite","https:\u002F\u002Fnextbite.kevinkraemer.com","https:\u002F\u002Fgithub.com\u002Fkrake747","https:\u002F\u002Fwww.kevinkraemer.com","Full-stack dev into functional programming. Curious, easy-going, and always up for a ride on road or gravel.","2026-11-15 03:33:16",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add krake747\u002Fnext-bite --skill react-review",{"tool":41,"command":42},"bunx","bunx skills add krake747\u002Fnext-bite --skill react-review",{"tool":44,"command":45},"pnpm","pnpm dlx skills add krake747\u002Fnext-bite --skill react-review","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-review\u002FSKILL.md",true,[49,55],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"references\u002Fdimensions.md","REFERENCE","参考文档",4503,"https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-review\u002Freferences\u002Fdimensions.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Ftriggers.md",3959,"https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-review\u002Freferences\u002Ftriggers.md",[60,68,75,82,89,96],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":67},"01M743DFMPGZYXA36R160AE5GQ","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":69,"name":70,"nameZh":6,"description":71,"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":67},"01M743DD5BX30Q0369WKWK16ZZ","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\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwizard\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":67},"01M743D9JSP6KD0YRZ96AXB4DN","wait-what","Stop. That last message did not land: re-pitch it.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fwait-what\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":67},"01M743D26PT5F1DTZKKAAXNQHH","to-questionnaire","Turn a decision you can't fully answer into a questionnaire for someone else to fill in.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fto-questionnaire\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":67},"01M743CTKH749CZ429C9XWF2GJ","retro","Conduct a retrospective on a coding session.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fretro\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":67},"01M743CNYNDF31A6AAQ4XNGE4A","react-doctor","Use when finishing a feature, fixing a bug, before committing React code, or when the user types `\u002Fdoctor`, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.","https:\u002F\u002Fgithub.com\u002Fkrake747\u002Fnext-bite\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Freact-doctor\u002FSKILL.md",[],[]]