[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EAQXCT9TT975X8TY460Q1Z":3,"skill-same:01M7EAQXCT9TT975X8TY460Q1Z":82},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":13,"repositoryHtmlUrl":35,"repositoryHomepageUrl":6,"ownerHtmlUrl":36,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":37,"install":38,"resources":51},"01M7EAQXCT9TT975X8TY460Q1Z","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.","infinityplatformhub\u002Fopencode-gen","infinityplatformhub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F254854803?v=4","01M7EAN7RB68HJBYF1V0TEYCE1","01M7EAN7SDY3K98M6J16DQNQ5Y",0,"MIT","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\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","# 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",{"name":5,"license":14,"metadata":23,"description":7},{"role":24,"scope":25,"author":26,"domain":27,"version":28,"triggers":29,"output-format":30,"related-skills":31},"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","master","630f92e7d70ca0702a45824c77b5ea1ec042fa81","skills-library\u002F_cache\u002Freact-expert","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub","2026-10-09 11:55:04",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add infinityplatformhub\u002Fopencode-gen --skill react-expert",{"tool":44,"command":45},"bunx","bunx skills add infinityplatformhub\u002Fopencode-gen --skill react-expert",{"tool":47,"command":48},"pnpm","pnpm dlx skills add infinityplatformhub\u002Fopencode-gen --skill react-expert","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002FSKILL.md",true,[52,58,62,66,70,74,78],{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fhooks-patterns.md","REFERENCE","参考文档",3724,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Fhooks-patterns.md",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"references\u002Fmigration-class-to-modern.md",24037,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Fmigration-class-to-modern.md",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"references\u002Fperformance.md",4041,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Fperformance.md",{"path":67,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":68,"sourceHtmlUrl":69},"references\u002Freact-19-features.md",3851,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Freact-19-features.md",{"path":71,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fserver-components.md",3149,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Fserver-components.md",{"path":75,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fstate-management.md",4134,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Fstate-management.md",{"path":79,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Ftesting-react.md",4036,"https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Freact-expert\u002Freferences\u002Ftesting-react.md",[83,90,99,106,113,120],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M7EARBNC37P86X4Y8MBDM3J6","typescript-pro","Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Ftypescript-pro\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":94,"licenseFileUrl":95,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":18},"01M7EAR4SD7KJGZMH3Z280KYC6","security-audit","Security code review for vulnerabilities. Use when asked to \"security review\", \"find vulnerabilities\", \"check for security issues\", \"audit security\", \"OWASP review\", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.","CC-BY-SA-4.0","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fsecurity-audit\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fsecurity-audit\u002FSKILL.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":18},"01M7EAQPPXJYHMN5WG8X5GYK5V","python-pro","Use when building Python 3.11+ applications requiring type safety, async programming, or robust error handling. Generates type-annotated Python code, configures mypy in strict mode, writes pytest test suites with fixtures and mocking, and validates code with black and ruff. Invoke for type hints, async\u002Fawait patterns, dataclasses, dependency injection, logging configuration, and structured error handling.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fpython-pro\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":18},"01M7EAQFW1N62N8P6S6A1G9X1P","php-pro","Use when building PHP applications with modern PHP 8.3+ features, Laravel, or Symfony frameworks. Invokes strict typing, PHPStan level 9, async patterns with Swoole, and PSR standards. Creates controllers, configures middleware, generates migrations, writes PHPUnit\u002FPest tests, defines typed DTOs and value objects, sets up dependency injection, and scaffolds REST\u002FGraphQL APIs. Use when working with Eloquent, Doctrine, Composer, Psalm, ReactPHP, or any PHP API development.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fphp-pro\u002FSKILL.md",[],[],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":18},"01M7EAQ45FDXE4CYKD59813QM7","nextjs-developer","Use when building Next.js 14+ applications with App Router, server components, or server actions. Invoke to configure route handlers, implement middleware, set up API routes, add streaming SSR, write generateMetadata for SEO, scaffold loading.tsx\u002Ferror.tsx boundaries, or deploy to Vercel. Triggers on: Next.js, Next.js 14, App Router, RSC, use server, Server Components, Server Actions, React Server Components, generateMetadata, loading.tsx, Next.js deployment, Vercel, Next.js performance.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Fnextjs-developer\u002FSKILL.md",[],[],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":18},"01M7EAPWMXHSN8BHZ99XDRBYX8","laravel-specialist","Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers, implementing Sanctum auth flows, building Livewire components, optimising Eloquent queries, or writing Pest\u002FPHPUnit tests for Laravel features.","https:\u002F\u002Fgithub.com\u002Finfinityplatformhub\u002Fopencode-gen\u002Fblob\u002Fmaster\u002Fskills-library\u002F_cache\u002Flaravel-specialist\u002FSKILL.md",[],[]]