[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CCACC44H2K2H8SDGMVZMVT":3,"skill-same:01M7CCACC44H2K2H8SDGMVZMVT":61},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":6,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M7CCACC44H2K2H8SDGMVZMVT","react-expert",null,"Use when building React 18+ applications in .jsx or .tsx files, Next.js App Router projects, or create-react-app setups. Creates components, implements custom hooks, debugs rendering issues, migrates class components to functional, and implements state management. Invoke for Server Components, Suspense boundaries, useActionState forms, performance optimization, or React 19 features.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Freact-expert\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: react-expert\ndescription: Use when building React 18+ applications in .jsx or .tsx files, Next.js App Router projects, or create-react-app setups. Creates components, implements custom hooks, debugs rendering issues, migrates class components to functional, and implements state management. Invoke for Server Components, Suspense boundaries, useActionState forms, performance optimization, or React 19 features.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: frontend\n  triggers: React, JSX, hooks, useState, useEffect, useContext, Server Components, React 19, Suspense, TanStack Query, Redux, Zustand, component, frontend\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fullstack-guardian, playwright-expert, test-master\n---\n\n# React Expert\n\nSenior React specialist with deep expertise in React 19, Server Components, and production-grade application architecture.\n\n## When to Use This Skill\n\n- Building new React components or features\n- Implementing state management (local, Context, Redux, Zustand)\n- Optimizing React performance\n- Setting up React project architecture\n- Working with React 19 Server Components\n- Implementing forms with React 19 actions\n- Data fetching patterns with TanStack Query or `use()`\n\n## Core Workflow\n\n1. **Analyze requirements** - Identify component hierarchy, state needs, data flow\n2. **Choose patterns** - Select appropriate state management, data fetching approach\n3. **Implement** - Write TypeScript components with proper types\n4. **Validate** - Run `tsc --noEmit`; if it fails, review reported errors, fix all type issues, and re-run until clean before proceeding\n5. **Optimize** - Apply memoization where needed, ensure accessibility; if new type errors are introduced, return to step 4\n6. **Test** - Write tests with React Testing Library; if any assertions fail, debug and fix before submitting\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Server Components | `references\u002Fserver-components.md` | RSC patterns, Next.js App Router |\n| React 19 | `references\u002Freact-19-features.md` | use() hook, useActionState, forms |\n| State Management | `references\u002Fstate-management.md` | Context, Zustand, Redux, TanStack |\n| Hooks | `references\u002Fhooks-patterns.md` | Custom hooks, useEffect, useCallback |\n| Performance | `references\u002Fperformance.md` | memo, lazy, virtualization |\n| Testing | `references\u002Ftesting-react.md` | Testing Library, mocking |\n| Class Migration | `references\u002Fmigration-class-to-modern.md` | Converting class components to hooks\u002FRSC |\n\n## Key Patterns\n\n### Server Component (Next.js App Router)\n```tsx\n\u002F\u002F app\u002Fusers\u002Fpage.tsx — Server Component, no \"use client\"\nimport { db } from '@\u002Flib\u002Fdb';\n\ninterface User {\n  id: string;\n  name: string;\n}\n\nexport default async function UsersPage() {\n  const users: User[] = await db.user.findMany();\n\n  return (\n    \u003Cul>\n      {users.map((user) => (\n        \u003Cli key={user.id}>{user.name}\u003C\u002Fli>\n      ))}\n    \u003C\u002Ful>\n  );\n}\n```\n\n### React 19 Form with `useActionState`\n```tsx\n'use client';\nimport { useActionState } from 'react';\n\nasync function submitForm(_prev: string, formData: FormData): Promise\u003Cstring> {\n  const name = formData.get('name') as string;\n  \u002F\u002F perform server action or fetch\n  return `Hello, ${name}!`;\n}\n\nexport function GreetForm() {\n  const [message, action, isPending] = useActionState(submitForm, '');\n\n  return (\n    \u003Cform action={action}>\n      \u003Cinput name=\"name\" required \u002F>\n      \u003Cbutton type=\"submit\" disabled={isPending}>\n        {isPending ? 'Submitting…' : 'Submit'}\n      \u003C\u002Fbutton>\n      {message && \u003Cp>{message}\u003C\u002Fp>}\n    \u003C\u002Fform>\n  );\n}\n```\n\n### Custom Hook with Cleanup\n```tsx\nimport { useState, useEffect } from 'react';\n\nfunction useWindowWidth(): number {\n  const [width, setWidth] = useState(() => window.innerWidth);\n\n  useEffect(() => {\n    const handler = () => setWidth(window.innerWidth);\n    window.addEventListener('resize', handler);\n    return () => window.removeEventListener('resize', handler); \u002F\u002F cleanup\n  }, []);\n\n  return width;\n}\n```\n\n## Constraints\n\n### MUST DO\n- Use TypeScript with strict mode\n- Implement error boundaries for graceful failures\n- Use `key` props correctly (stable, unique identifiers)\n- Clean up effects (return cleanup function)\n- Use semantic HTML and ARIA for accessibility\n- Memoize when passing callbacks\u002Fobjects to memoized children\n- Use Suspense boundaries for async operations\n\n### MUST NOT DO\n- Mutate state directly\n- Use array index as key for dynamic lists\n- Create functions inside JSX (causes re-renders)\n- Forget useEffect cleanup (memory leaks)\n- Ignore React strict mode warnings\n- Skip error boundaries in production\n\n## Output Templates\n\nWhen implementing React features, provide:\n1. Component file with TypeScript types\n2. Test file if non-trivial logic\n3. Brief explanation of key decisions\n\n## Knowledge Reference\n\nReact 19, Server Components, use() hook, Suspense, TypeScript, TanStack Query, Zustand, Redux Toolkit, React Router, React Testing Library, Vitest\u002FJest, Next.js App Router, accessibility (WCAG)\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Ffrontend\u002Freact-expert\u002F)\n","# React Expert\n\nSenior React specialist with deep expertise in React 19, Server Components, and production-grade application architecture.\n\n## When to Use This Skill\n\n- Building new React components or features\n- Implementing state management (local, Context, Redux, Zustand)\n- Optimizing React performance\n- Setting up React project architecture\n- Working with React 19 Server Components\n- Implementing forms with React 19 actions\n- Data fetching patterns with TanStack Query or `use()`\n\n## Core Workflow\n\n1. **Analyze requirements** - Identify component hierarchy, state needs, data flow\n2. **Choose patterns** - Select appropriate state management, data fetching approach\n3. **Implement** - Write TypeScript components with proper types\n4. **Validate** - Run `tsc --noEmit`; if it fails, review reported errors, fix all type issues, and re-run until clean before proceeding\n5. **Optimize** - Apply memoization where needed, ensure accessibility; if new type errors are introduced, return to step 4\n6. **Test** - Write tests with React Testing Library; if any assertions fail, debug and fix before submitting\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Server Components | `references\u002Fserver-components.md` | RSC patterns, Next.js App Router |\n| React 19 | `references\u002Freact-19-features.md` | use() hook, useActionState, forms |\n| State Management | `references\u002Fstate-management.md` | Context, Zustand, Redux, TanStack |\n| Hooks | `references\u002Fhooks-patterns.md` | Custom hooks, useEffect, useCallback |\n| Performance | `references\u002Fperformance.md` | memo, lazy, virtualization |\n| Testing | `references\u002Ftesting-react.md` | Testing Library, mocking |\n| Class Migration | `references\u002Fmigration-class-to-modern.md` | Converting class components to hooks\u002FRSC |\n\n## Key Patterns\n\n### Server Component (Next.js App Router)\n```tsx\n\u002F\u002F app\u002Fusers\u002Fpage.tsx — Server Component, no \"use client\"\nimport { db } from '@\u002Flib\u002Fdb';\n\ninterface User {\n  id: string;\n  name: string;\n}\n\nexport default async function UsersPage() {\n  const users: User[] = await db.user.findMany();\n\n  return (\n    \u003Cul>\n      {users.map((user) => (\n        \u003Cli key={user.id}>{user.name}\u003C\u002Fli>\n      ))}\n    \u003C\u002Ful>\n  );\n}\n```\n\n### React 19 Form with `useActionState`\n```tsx\n'use client';\nimport { useActionState } from 'react';\n\nasync function submitForm(_prev: string, formData: FormData): Promise\u003Cstring> {\n  const name = formData.get('name') as string;\n  \u002F\u002F perform server action or fetch\n  return `Hello, ${name}!`;\n}\n\nexport function GreetForm() {\n  const [message, action, isPending] = useActionState(submitForm, '');\n\n  return (\n    \u003Cform action={action}>\n      \u003Cinput name=\"name\" required \u002F>\n      \u003Cbutton type=\"submit\" disabled={isPending}>\n        {isPending ? 'Submitting…' : 'Submit'}\n      \u003C\u002Fbutton>\n      {message && \u003Cp>{message}\u003C\u002Fp>}\n    \u003C\u002Fform>\n  );\n}\n```\n\n### Custom Hook with Cleanup\n```tsx\nimport { useState, useEffect } from 'react';\n\nfunction useWindowWidth(): number {\n  const [width, setWidth] = useState(() => window.innerWidth);\n\n  useEffect(() => {\n    const handler = () => setWidth(window.innerWidth);\n    window.addEventListener('resize', handler);\n    return () => window.removeEventListener('resize', handler); \u002F\u002F cleanup\n  }, []);\n\n  return width;\n}\n```\n\n## Constraints\n\n### MUST DO\n- Use TypeScript with strict mode\n- Implement error boundaries for graceful failures\n- Use `key` props correctly (stable, unique identifiers)\n- Clean up effects (return cleanup function)\n- Use semantic HTML and ARIA for accessibility\n- Memoize when passing callbacks\u002Fobjects to memoized children\n- Use Suspense boundaries for async operations\n\n### MUST NOT DO\n- Mutate state directly\n- Use array index as key for dynamic lists\n- Create functions inside JSX (causes re-renders)\n- Forget useEffect cleanup (memory leaks)\n- Ignore React strict mode warnings\n- Skip error boundaries in production\n\n## Output Templates\n\nWhen implementing React features, provide:\n1. Component file with TypeScript types\n2. Test file if non-trivial logic\n3. Brief explanation of key decisions\n\n## Knowledge Reference\n\nReact 19, Server Components, use() hook, Suspense, TypeScript, TanStack Query, Zustand, Redux Toolkit, React Router, React Testing Library, Vitest\u002FJest, Next.js App Router, accessibility (WCAG)\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Ffrontend\u002Freact-expert\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","frontend","1.1.0","React, JSX, hooks, useState, useEffect, useContext, Server Components, React 19, Suspense, TanStack Query, Redux, Zustand, component, frontend","code","fullstack-guardian, playwright-expert, test-master","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fjeffallan-claude-skills\u002Freact-expert",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill react-expert",{"tool":47,"command":48},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill react-expert",{"tool":50,"command":51},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill react-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Freact-expert\u002FSkill.md",true,[55],{"path":56,"resourceType":57,"resourceTypeDesc":58,"sizeBytes":59,"sourceHtmlUrl":60},"metadata.json","REFERENCE","参考文档",448,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fjeffallan-claude-skills\u002Freact-expert\u002Fmetadata.json",[62,69,74,81,86,93],{"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},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":70,"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":71,"categories":72,"keywords":73,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":82,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":94,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]