[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79TJKA9AY8H1RC45SQE0835":3,"skill-same:01M79TJKA9AY8H1RC45SQE0835":53},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":14,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":37,"updatedAt":38,"install":39,"resources":52},"01M79TJKA9AY8H1RC45SQE0835","react-core-architect",null,"Architect-level React application structure — server\u002Fclient boundary, component taxonomy, composition over configuration, state locality, effects policy, Suspense and error boundaries, and the import rules that keep a React codebase navigable. Use when designing or reviewing how a React app is organised, not for syntax questions.","SriAkhilSJ\u002FPulseAIRepo","SriAkhilSJ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F206201543?v=4","01M79RWFD1Q09B89SXTTKKJY6Z","Sri Akhil SJ","01M79RWFE26NPG0BZ1FRNX376H",0,"MIT","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Freact-architect\u002Freact-core-architect\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-core-architect\ndescription: Architect-level React application structure — server\u002Fclient boundary, component taxonomy, composition over configuration, state locality, effects policy, Suspense and error boundaries, and the import rules that keep a React codebase navigable. Use when designing or reviewing how a React app is organised, not for syntax questions.\nlicense: MIT\ncompatibility: React 18+ and React 19; framework-agnostic (Vite, Next, Remix, React Router)\nmetadata:\n  crusor-domain: website-architect\n  crusor-path: website-architect\u002Ffrontend-development-architect\u002Freact-architect\u002Freact-core-architect\n  crusor-origin: original\n  crusor-sources: \"vercel-labs\u002Fagent-skills@063bee94 (react-best-practices, composition-patterns) — reference only: the repo grants no licence\"\n  crusor-verified-on: \"2026-10-30\"\n  crusor-triggers: \"react components, component composition, react hooks, state locality, error boundary, suspense, folder structure, rerender\"\n---\n\n# React Core Architecture\n\nReact's failure mode is not syntax — it is a component graph with no ownership\nmodel. Your job is to decide **where state lives, where data enters, what may\nre-render, and what may import what**, before any component is written.\n\n## When to use\n\n- Designing a new React app or a new feature area.\n- A codebase where every change touches five files, or one 900-line component.\n- Deciding whether a piece of state belongs to a component, the URL, the server,\n  or a store.\n- Reviewing a PR that introduces a new context, a new store, or a new fetch.\n\n## When NOT to use\n\n- A single-props or styling change inside an already-governed structure.\n- A pure server-side task with no React surface.\n\n## Decision 1 — Rendering model, first\n\nPick the boundary before the components exist:\n\n| Need | Model |\n|---|---|\n| Content-first, SEO, mostly static | server-rendered \u002F static (Next App Router, Remix, Astro) |\n| Highly interactive, authenticated, behind login | client-rendered SPA is defensible |\n| Mixed | server shell + client islands; keep the client boundary at the leaves |\n\nThe rule that survives every framework: **push `\"use client\"` down, never up.**\nA single client boundary at the root ships the entire tree to the browser and\nremoves the server model's benefits while keeping its complexity.\n\n## Decision 2 — Component taxonomy\n\nEvery component belongs to exactly one layer:\n\n```\napp\u002F          route composition, data wiring, error\u002Floading boundaries\n  features\u002F   one product capability: owns its state, hooks and API calls\n    ui\u002F       shared, data-free presentational primitives\n      lib\u002F    framework-free utilities\n```\n\nImport rules (enforce with lint, not with review):\n\n- `app` → `features` → `ui` → `lib`. Never upward.\n- `ui` never imports a feature, a store, or a `fetch`.\n- Two features never import each other's internals; they exchange props or a\n  shared `lib` contract.\n- A file that both fetches and renders is a screen, and screens live in `app`.\n\n## Decision 3 — State locality\n\nDefault answers, in order:\n\n1. **Component state** — anything only that component reads.\n2. **Lifted parent state** — two siblings, one owner, no store.\n3. **URL** — anything a user should be able to link, refresh, or back into:\n   filters, tabs, pagination, selected entity.\n4. **Server cache** — anything that came from the server (TanStack Query\u002FSWR\u002F\n   RSC). Never copy it into a client store.\n5. **Global store** — only cross-feature, long-lived client state (session UI,\n   draft, preferences).\n\nIf you cannot name the owner of a piece of state, the design is not finished.\n\n## Decision 4 — Effects are for synchronising with the outside world\n\n`useEffect` is not a data-fetching tool, not a derived-state tool, and not an\nevent handler. Its only job is to synchronise React with something external\n(browser API, subscription, analytics, focus).\n\n- Derive during render; do not mirror props into state.\n- Handle user actions in event handlers, not effects watching state.\n- Data fetching belongs to the router loader, RSC, or the query library's cache.\n- Every subscription returns a cleanup; every effect names what it synchronises.\n\n## Decision 5 — Boundaries are part of the architecture\n\n- **Error boundaries** per route segment and per independently-failing widget.\n- **Suspense boundaries** at the same seams, so a slow subtree cannot blank the\n  page.\n- **Loading and empty states are designed at the seam**, not sprinkled inside\n  components: the boundary owns the fallback, the leaf owns the content.\n- A boundary that hides an error without a recovery path is a bug, not a\n  feature.\n\n## Decision 6 — Composition over configuration\n\nPrefer explicit composition (`\u003CCard>\u003CCard.Header\u002F>\u003CCard.Body\u002F>\u003C\u002FCard>`) over\nboolean-prop soup (`\u003CCard variant=\"compact\" showHeader hasFooter dense\u002F>`).\n\n- Props describe *what* the component is; children describe *how it is used*.\n- A component with more than ~4 boolean variants almost always wants a smaller\n  set of composable pieces.\n- Never define a component inside another component: identity changes every\n  render and the subtree remounts.\n\n## Failure modes at scale\n\n- **Re-render storms** from a single context holding fast-changing values: split\n  contexts by update frequency, or subscribe at the leaf.\n- **Barrel imports** making every route pay for the whole library: import from\n  the module, not the package index.\n- **Redundant de-duplication**: query cache + store + local state all holding the\n  same payload, each able to drift.\n- **Client boundary creep**: one `\"use client\"` added for a dropdown pulls the\n  page into the bundle and nobody notices until LCP regresses.\n\n## Anti-patterns\n\n- `useEffect(() => setX(prop), [prop])` — mirrored state.\n- A context that exists to avoid prop-drilling a value used by three siblings.\n- Fetch-on-render with no cache, retry, cancellation or loading contract.\n- `any` at a component boundary: the contract disappears exactly where it is\n  needed.\n- Directory-by-filetype (`components\u002F`, `hooks\u002F`, `services\u002F`) at scale — it\n  destroys ownership; organise by capability.\n\n## Verification receipts\n\n1. `tsc --noEmit` (or the framework's typecheck) clean.\n2. Lint rule proving the import direction (no feature → app, no ui → feature).\n3. A render-count or profiler check on the hottest interaction.\n4. Bundle report: no route pulls a library it does not use.\n5. The route's error + loading states exercised (boundary test), not just the\n   happy path.\n","# React Core Architecture\n\nReact's failure mode is not syntax — it is a component graph with no ownership\nmodel. Your job is to decide **where state lives, where data enters, what may\nre-render, and what may import what**, before any component is written.\n\n## When to use\n\n- Designing a new React app or a new feature area.\n- A codebase where every change touches five files, or one 900-line component.\n- Deciding whether a piece of state belongs to a component, the URL, the server,\n  or a store.\n- Reviewing a PR that introduces a new context, a new store, or a new fetch.\n\n## When NOT to use\n\n- A single-props or styling change inside an already-governed structure.\n- A pure server-side task with no React surface.\n\n## Decision 1 — Rendering model, first\n\nPick the boundary before the components exist:\n\n| Need | Model |\n|---|---|\n| Content-first, SEO, mostly static | server-rendered \u002F static (Next App Router, Remix, Astro) |\n| Highly interactive, authenticated, behind login | client-rendered SPA is defensible |\n| Mixed | server shell + client islands; keep the client boundary at the leaves |\n\nThe rule that survives every framework: **push `\"use client\"` down, never up.**\nA single client boundary at the root ships the entire tree to the browser and\nremoves the server model's benefits while keeping its complexity.\n\n## Decision 2 — Component taxonomy\n\nEvery component belongs to exactly one layer:\n\n```\napp\u002F          route composition, data wiring, error\u002Floading boundaries\n  features\u002F   one product capability: owns its state, hooks and API calls\n    ui\u002F       shared, data-free presentational primitives\n      lib\u002F    framework-free utilities\n```\n\nImport rules (enforce with lint, not with review):\n\n- `app` → `features` → `ui` → `lib`. Never upward.\n- `ui` never imports a feature, a store, or a `fetch`.\n- Two features never import each other's internals; they exchange props or a\n  shared `lib` contract.\n- A file that both fetches and renders is a screen, and screens live in `app`.\n\n## Decision 3 — State locality\n\nDefault answers, in order:\n\n1. **Component state** — anything only that component reads.\n2. **Lifted parent state** — two siblings, one owner, no store.\n3. **URL** — anything a user should be able to link, refresh, or back into:\n   filters, tabs, pagination, selected entity.\n4. **Server cache** — anything that came from the server (TanStack Query\u002FSWR\u002F\n   RSC). Never copy it into a client store.\n5. **Global store** — only cross-feature, long-lived client state (session UI,\n   draft, preferences).\n\nIf you cannot name the owner of a piece of state, the design is not finished.\n\n## Decision 4 — Effects are for synchronising with the outside world\n\n`useEffect` is not a data-fetching tool, not a derived-state tool, and not an\nevent handler. Its only job is to synchronise React with something external\n(browser API, subscription, analytics, focus).\n\n- Derive during render; do not mirror props into state.\n- Handle user actions in event handlers, not effects watching state.\n- Data fetching belongs to the router loader, RSC, or the query library's cache.\n- Every subscription returns a cleanup; every effect names what it synchronises.\n\n## Decision 5 — Boundaries are part of the architecture\n\n- **Error boundaries** per route segment and per independently-failing widget.\n- **Suspense boundaries** at the same seams, so a slow subtree cannot blank the\n  page.\n- **Loading and empty states are designed at the seam**, not sprinkled inside\n  components: the boundary owns the fallback, the leaf owns the content.\n- A boundary that hides an error without a recovery path is a bug, not a\n  feature.\n\n## Decision 6 — Composition over configuration\n\nPrefer explicit composition (`\u003CCard>\u003CCard.Header\u002F>\u003CCard.Body\u002F>\u003C\u002FCard>`) over\nboolean-prop soup (`\u003CCard variant=\"compact\" showHeader hasFooter dense\u002F>`).\n\n- Props describe *what* the component is; children describe *how it is used*.\n- A component with more than ~4 boolean variants almost always wants a smaller\n  set of composable pieces.\n- Never define a component inside another component: identity changes every\n  render and the subtree remounts.\n\n## Failure modes at scale\n\n- **Re-render storms** from a single context holding fast-changing values: split\n  contexts by update frequency, or subscribe at the leaf.\n- **Barrel imports** making every route pay for the whole library: import from\n  the module, not the package index.\n- **Redundant de-duplication**: query cache + store + local state all holding the\n  same payload, each able to drift.\n- **Client boundary creep**: one `\"use client\"` added for a dropdown pulls the\n  page into the bundle and nobody notices until LCP regresses.\n\n## Anti-patterns\n\n- `useEffect(() => setX(prop), [prop])` — mirrored state.\n- A context that exists to avoid prop-drilling a value used by three siblings.\n- Fetch-on-render with no cache, retry, cancellation or loading contract.\n- `any` at a component boundary: the contract disappears exactly where it is\n  needed.\n- Directory-by-filetype (`components\u002F`, `hooks\u002F`, `services\u002F`) at scale — it\n  destroys ownership; organise by capability.\n\n## Verification receipts\n\n1. `tsc --noEmit` (or the framework's typecheck) clean.\n2. Lint rule proving the import direction (no feature → app, no ui → feature).\n3. A render-count or profiler check on the hottest interaction.\n4. Bundle report: no route pulls a library it does not use.\n5. The route's error + loading states exercised (boundary test), not just the\n   happy path.\n",{"name":5,"license":15,"metadata":24,"description":7,"compatibility":31},{"crusor-path":25,"crusor-domain":26,"crusor-origin":27,"crusor-sources":28,"crusor-triggers":29,"crusor-verified-on":30},"website-architect\u002Ffrontend-development-architect\u002Freact-architect\u002Freact-core-architect","website-architect","original","vercel-labs\u002Fagent-skills@063bee94 (react-best-practices, composition-patterns) — reference only: the repo grants no licence","react components, component composition, react hooks, state locality, error boundary, suspense, folder structure, rerender","2026-10-30","React 18+ and React 19; framework-agnostic (Vite, Next, Remix, React Router)","main","8fa4e240be65b98472c9b2d3a505ade2aea1a5c6","skills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Freact-architect\u002Freact-core-architect","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ","Studying in CMR institute of Technology\r\n2024 - 2028","2026-11-13 21:02:23",{"source":8,"skillName":5,"commands":40,"prompt":50,"zipAvailable":51},[41,44,47],{"tool":42,"command":43},"npx","npx skills add SriAkhilSJ\u002FPulseAIRepo --skill react-core-architect",{"tool":45,"command":46},"bunx","bunx skills add SriAkhilSJ\u002FPulseAIRepo --skill react-core-architect",{"tool":48,"command":49},"pnpm","pnpm dlx skills add SriAkhilSJ\u002FPulseAIRepo --skill react-core-architect","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ffrontend-development-architect\u002Freact-architect\u002Freact-core-architect\u002FSKILL.md",true,[],[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M79TTAJNACCNXCEN3649CMMD","interaction-patterns-architect","Architect-level interaction design in code — choosing established patterns over invented ones, feedback and latency behaviour, destructive-action safeguards, navigation and overlay conventions, and the state model behind every interactive surface. Use when a screen has to behave, not just look.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Finteraction-patterns-architect\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M79TT2ESKB1TKZBYY9KYJHV9","design-system-ops-architect","Architect-level operation of a design system in code — token pipelines and versioning, component API and variant policy, the catalogue as the contract, adoption metrics, and the governance that stops a system from forking into three. Use when a component library must survive several teams.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fdesign-system-ops-architect\u002FSKILL.md",[],[],{"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":19},"01M79TSV0PWGNK3PRX9P4JDR9N","design-handoff-architect","Architect-level design handoff — what must be specified before implementation starts, tokens over raw values, responsive and content-limit contracts, state matrices, and the review loop that catches drift between design and code. Use when a design is about to become code.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fdesign-handoff-architect\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},"01M79TSJS9BFXNP696FMJ9GKDA","content-microcopy-architect","Architect-level UI content — where strings live, voice and terminology consistency, error and empty-state copy as part of the interface, translation-ready authoring, and the content model a product needs before it multiplies screens. Use when the words in the interface matter as much as the pixels.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\u002Fcontent-microcopy-architect\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},"01M79TSCNBST3N1M68V1KPH9HQ","ui-ux-implementation-architect","Architect-level direction for turning a design into working UI — the handoff contract, component ownership versus screen-level layout, interaction and state conventions, design QA gates, and the review habits that keep an implementation faithful without frozen pixels. Use before any specific UI implementation skill.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Fui-ux-implementation-architect\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},"01M79TS4N6A4D2QQ433VXS5D0R","test-strategy-architect","Architect-level test strategy — allocating assertions across unit, integration, contract and end-to-end layers, designing for testability through dependency boundaries, fixture and data strategy, and the flake and coverage policies that keep a suite trustworthy. Use when defining how a codebase is tested.","https:\u002F\u002Fgithub.com\u002FSriAkhilSJ\u002FPulseAIRepo\u002Fblob\u002Fmain\u002Fskills\u002Fwebsite-architect\u002Ftesting-and-deployment-architect\u002Ftest-strategy-architect\u002FSKILL.md",[],[]]