[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EZA2YV2KARRT62BKKY7G9N":3,"skill-same:01M6EZA2YV2KARRT62BKKY7G9N":72},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M6EZA2YV2KARRT62BKKY7G9N","react-component-pro",null,"Build reusable, accessible, performant React components with hooks, composition patterns, and modern best practices. Use when building React UIs, creating component libraries, or optimizing React performance.","luokai0\u002Fai-agent-skills-by-luo-kai","luokai0","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F266954973?v=4","01M6E16VNT42JB8B3X3254QWJ7","luo kai","01M6E16VTFVP6S5XJF1V1MPV90",14,"CC0-1.0","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F14-skillsdirectory\u002Fskills\u002Freact-component-pro\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"react component pro","react","component","react component","best practices","with","with hooks","windsurf","reusable","hooks","use","Composition","performance","code","development","libraries","copilot","github copilot","react components","components","2026-11-10 10:12:30",false,"---\nname: react-component-pro\ndescription: Build reusable, accessible, performant React components with hooks, composition patterns, and modern best practices. Use when building React UIs, creating component libraries, or optimizing React performance.\nlicense: CC0-1.0\ncompatibility: Works with Cursor, Windsurf, GitHub Copilot, Claude Code, and any AI coding assistant\nmetadata:\n  author: skillsdirectory\n  version: \"1.0\"\n  category: web-development\n  tools: cursor, windsurf, copilot, claude-code\n---\n\n# React Component Pro\n\nYou build production-grade React components that are reusable, accessible, and performant.\n\n## Component Principles\n\n1. **Composition over inheritance** — Build with small, composable pieces\n2. **Single responsibility** — One component, one purpose\n3. **Props down, events up** — Data flows down, actions flow up\n4. **Controlled > Uncontrolled** — Parent controls state when possible\n5. **Accessibility first** — ARIA attributes, keyboard navigation, semantic HTML\n\n## Component Patterns\n\n### Compound Components\n```tsx\n\u003CSelect value={value} onChange={onChange}>\n  \u003CSelect.Trigger>Choose option\u003C\u002FSelect.Trigger>\n  \u003CSelect.Content>\n    \u003CSelect.Item value=\"a\">Option A\u003C\u002FSelect.Item>\n    \u003CSelect.Item value=\"b\">Option B\u003C\u002FSelect.Item>\n  \u003C\u002FSelect.Content>\n\u003C\u002FSelect>\n```\n\n### Custom Hooks\n```tsx\nfunction useDebounce\u003CT>(value: T, delay: number): T {\n  const [debouncedValue, setDebouncedValue] = useState(value)\n  \n  useEffect(() => {\n    const timer = setTimeout(() => setDebouncedValue(value), delay)\n    return () => clearTimeout(timer)\n  }, [value, delay])\n  \n  return debouncedValue\n}\n```\n\n### Render Props \u002F Children as Function\n```tsx\n\u003CDataFetcher url=\"\u002Fapi\u002Fusers\">\n  {({ data, loading, error }) => (\n    loading ? \u003CSpinner \u002F> : \u003CUserList users={data} \u002F>\n  )}\n\u003C\u002FDataFetcher>\n```\n\n## Performance Optimization\n\n| Problem | Solution |\n|---|---|\n| Unnecessary re-renders | `React.memo`, `useMemo`, `useCallback` |\n| Heavy computations | `useMemo` with proper deps |\n| Large lists | Virtualization (react-window) |\n| Code splitting | `React.lazy` + `Suspense` |\n| State updates causing full re-render | Local state, context splitting |\n\n## TypeScript Patterns for Components\n\n```tsx\n\u002F\u002F Props with children\ninterface CardProps {\n  title: string\n  variant?: 'default' | 'outlined' | 'elevated'\n  children: React.ReactNode\n}\n\n\u002F\u002F Forwarded ref\nconst Input = React.forwardRef\u003CHTMLInputElement, InputProps>(\n  ({ label, ...props }, ref) => (\n    \u003Cdiv>\n      \u003Clabel>{label}\u003C\u002Flabel>\n      \u003Cinput ref={ref} {...props} \u002F>\n    \u003C\u002Fdiv>\n  )\n)\n\n\u002F\u002F Generic component\ninterface ListProps\u003CT> {\n  items: T[]\n  renderItem: (item: T) => React.ReactNode\n}\n```\n\n## Accessibility Checklist\n- [ ] Semantic HTML (`button` not `div onClick`)\n- [ ] ARIA labels for interactive elements\n- [ ] Keyboard navigation (Tab, Enter, Escape)\n- [ ] Focus management (modals, dropdowns)\n- [ ] Color contrast ≥ 4.5:1\n- [ ] Screen reader tested\n","# React Component Pro\n\nYou build production-grade React components that are reusable, accessible, and performant.\n\n## Component Principles\n\n1. **Composition over inheritance** — Build with small, composable pieces\n2. **Single responsibility** — One component, one purpose\n3. **Props down, events up** — Data flows down, actions flow up\n4. **Controlled > Uncontrolled** — Parent controls state when possible\n5. **Accessibility first** — ARIA attributes, keyboard navigation, semantic HTML\n\n## Component Patterns\n\n### Compound Components\n```tsx\n\u003CSelect value={value} onChange={onChange}>\n  \u003CSelect.Trigger>Choose option\u003C\u002FSelect.Trigger>\n  \u003CSelect.Content>\n    \u003CSelect.Item value=\"a\">Option A\u003C\u002FSelect.Item>\n    \u003CSelect.Item value=\"b\">Option B\u003C\u002FSelect.Item>\n  \u003C\u002FSelect.Content>\n\u003C\u002FSelect>\n```\n\n### Custom Hooks\n```tsx\nfunction useDebounce\u003CT>(value: T, delay: number): T {\n  const [debouncedValue, setDebouncedValue] = useState(value)\n  \n  useEffect(() => {\n    const timer = setTimeout(() => setDebouncedValue(value), delay)\n    return () => clearTimeout(timer)\n  }, [value, delay])\n  \n  return debouncedValue\n}\n```\n\n### Render Props \u002F Children as Function\n```tsx\n\u003CDataFetcher url=\"\u002Fapi\u002Fusers\">\n  {({ data, loading, error }) => (\n    loading ? \u003CSpinner \u002F> : \u003CUserList users={data} \u002F>\n  )}\n\u003C\u002FDataFetcher>\n```\n\n## Performance Optimization\n\n| Problem | Solution |\n|---|---|\n| Unnecessary re-renders | `React.memo`, `useMemo`, `useCallback` |\n| Heavy computations | `useMemo` with proper deps |\n| Large lists | Virtualization (react-window) |\n| Code splitting | `React.lazy` + `Suspense` |\n| State updates causing full re-render | Local state, context splitting |\n\n## TypeScript Patterns for Components\n\n```tsx\n\u002F\u002F Props with children\ninterface CardProps {\n  title: string\n  variant?: 'default' | 'outlined' | 'elevated'\n  children: React.ReactNode\n}\n\n\u002F\u002F Forwarded ref\nconst Input = React.forwardRef\u003CHTMLInputElement, InputProps>(\n  ({ label, ...props }, ref) => (\n    \u003Cdiv>\n      \u003Clabel>{label}\u003C\u002Flabel>\n      \u003Cinput ref={ref} {...props} \u002F>\n    \u003C\u002Fdiv>\n  )\n)\n\n\u002F\u002F Generic component\ninterface ListProps\u003CT> {\n  items: T[]\n  renderItem: (item: T) => React.ReactNode\n}\n```\n\n## Accessibility Checklist\n- [ ] Semantic HTML (`button` not `div onClick`)\n- [ ] ARIA labels for interactive elements\n- [ ] Keyboard navigation (Tab, Enter, Escape)\n- [ ] Focus management (modals, dropdowns)\n- [ ] Color contrast ≥ 4.5:1\n- [ ] Screen reader tested\n",{"name":5,"license":15,"metadata":44,"description":7,"compatibility":49},{"tools":45,"author":46,"version":47,"category":48},"cursor, windsurf, copilot, claude-code","skillsdirectory","1.0","web-development","Works with Cursor, Windsurf, GitHub Copilot, Claude Code, and any AI coding assistant","main","4d2fb89cdfb75f3f6fd3c6c5ec9ad90ea129eb3c","ai-agent-skills\u002F21-external-registries\u002F14-skillsdirectory\u002Fskills\u002Freact-component-pro",2,"https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai","https:\u002F\u002Fgithub.com\u002Fluokai0","a solo builder.","2026-05-06 04:29:04",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill react-component-pro",{"tool":64,"command":65},"bunx","bunx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill react-component-pro",{"tool":67,"command":68},"pnpm","pnpm dlx skills add luokai0\u002Fai-agent-skills-by-luo-kai --skill react-component-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F21-external-registries\u002F14-skillsdirectory\u002Fskills\u002Freact-component-pro\u002FSKILL.md",true,[],[73,101,118,142,163,188],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6F2SKTE208174C7S7JJCZC7","write-contracts","Generates secure Aptos Move V2 smart contracts with Object model, Digital Asset integration, security patterns, and storage type guidance. Includes comprehensive storage decision framework for optimal data structure selection. Triggers on: 'write contract', 'create NFT collection', 'build marketplace', 'implement minting', 'generate Move module', 'create token contract', 'build DAO', 'implement staking'. Ask storage questions when: 'store', 'track', 'registry', 'mapping', 'list', 'collection'.","MIT","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fwrite-contracts\u002FSKILL.md",[],[81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100],"write","contracts","write contracts","storage","secure","create","generate","collection","model","decision","ask","smart-contracts","selection","objects","structure","nft","token","aptos","critical","move",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6F2RFXJ6T9MKW0A7N7GM45B","web-search","通用网络搜索技能，支持多引擎搜索（百度、必应、DuckDuckGo），无需API密钥即可获取实时信息","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fweb-search-ex-skill\u002FSKILL.md",[],[108,109,110,111,112,113,114,115,116,117],"web","search","web search","搜索","baidu","bing","duckduckgo","百度","多引擎","internet",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":39},"01M6F2K968G1FZEZFPW2E6B222","solo-build","Execute implementation plan tasks with TDD workflow, auto-commit, and phase gates. Use when user says \"build it\", \"start building\", \"execute plan\", \"implement tasks\", \"ship it\", or references a track ID. Do NOT use for planning (use \u002Fplan) or scaffolding (use \u002Fscaffold).","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fsolo-build\u002FSKILL.md",[],[125,126,127,128,129,130,131,32,109,132,133,134,81,135,136,137,138,139,140,141],"build","solo","solo build","MCP","workflow","commit","tasks","Bash","plan","read","auto","references","context7","query","scaffolding","ship it","project",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":39},"01M6F2GKN39SGHSPWYB3662YC8","react-email","Use when building HTML email templates with React components, adding a visual email editor to an application using the React Email visual editor, rendering emails to HTML, or sending emails with Resend. Covers welcome emails, password resets, notifications, order confirmations, newsletters, transactional emails, and the embeddable email editor component.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Freact-email-skills\u002FSKILL.md",[],[20,149,150,151,152,38,37,21,153,154,155,156,157,29,158,159,160,161,162,24],"email","react email","github","editor","welcome","https","notifications","password","node","html","resend","visual","emails","rendering",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":169,"publishedAt":39},"01M6F2FBVGVDFSG8SSFJGXA40C","APITester Agent-Driven API Testing","Test API endpoints and document responses. Define tests in plain English, run them, get formatted results. Agent-driven Postman alternative.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fopenclaw-api-tester\u002FSKILL.md",[],[170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187],"testing","api","api testing","driven","APITester Agent Driven API Testing","test","run","postman","results","plain english","tester","endpoints","document","get","define","tests","english","api-tester",{"skillNo":189,"name":190,"nameZh":6,"description":191,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":77,"licenseFileUrl":6,"sourceHtmlUrl":192,"categories":193,"keywords":194,"publishedAt":39},"01M6F273Y3NGAPVJZ608BC0G9G","hubspot-implementation-plan","Generate a phased implementation plan from a HubSpot audit report. Creates prioritized, sequenced cleanup processes with effort estimates, dependencies, and automation feasibility. Use after running \u002Fhubspot-audit.","https:\u002F\u002Fgithub.com\u002Fluokai0\u002Fai-agent-skills-by-luo-kai\u002Fblob\u002Fmain\u002Fai-agent-skills\u002F22-clawhub-skills\u002Fhubspot-implementation-plan\u002FSKILL.md",[],[133,195,196,197,198,199,200,87,201,202,203,204,205,29,206,207,24,208],"implementation","hubspot","hubspot implementation plan","automation","feasibility","cleanup","planning","report","audit","audit report","phased implementation","dependencies","processes","hubspot audit"]