[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70FXY3ESBXJV35R1D4HSW2Z":3,"skill-same:01M70FXY3ESBXJV35R1D4HSW2Z":55},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":31,"commitSha":32,"skillDirectory":33,"forksCount":34,"repositoryHtmlUrl":35,"repositoryHomepageUrl":36,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M70FXY3ESBXJV35R1D4HSW2Z","react",null,"Frontend component library.","dhaupin\u002Fvant","dhaupin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6352930?v=4","01M70FR23MK9RWZMWEQCWXMJ5Y","01M70FR24ETCQQSC3TGH374C6A",16,"MIT","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-react\u002FSKILL.md",[],[5,18,19,20,21,22],"frontend","component","component library","library","frontend component","2026-11-10 10:12:30",false,"---\nname: react\ndescription: Frontend component library.\nlicense: MIT\nmetadata:\n  author: vant\n  version: \"1.0\"\n---\n\n# React\n\n> Frontend component library.\n\n---\n\n## When To Use\n\n- DOM components\n- SPA framework\n- Component-based UI\n\n---\n\n## What To Do\n\n### 1. Component Pattern\n\n```jsx\nfunction MyComponent({ prop }) {\n  const [state, setState] = useState(null)\n\n  useEffect(() => {\n    \u002F\u002F side effects\n  }, [])\n\n  return \u003Cdiv>{prop}\u003C\u002Fdiv>\n}\n```\n\n### 2. Common Hooks\n\n| Hook | What |\n|------|------|\n| useState | Local state |\n| useEffect | Side effects |\n| useContext | Shared state |\n| useRef | DOM reference |\n| useMemo | Memorized value |\n| useCallback | Memorized function |\n\n### 3. Patterns\n\n```jsx\n\u002F\u002F Conditional\n{condition && \u003CComponent \u002F>}\n\n\u002F\u002F List\nitems.map(item => \u003CItem key={item.id} {...item} \u002F>)\n\n\u002F\u002F Form\n\u003Cform onSubmit={handleSubmit}>\n  \u003Cinput value={value} onChange={e => setValue(e.target.value)} \u002F>\n\u003C\u002Fform>\n```\n\n### 4. Testing\n\n```javascript\nrender(\u003CMyComponent prop=\"value\" \u002F>)\nexpect(screen.getByText('value')).toBeInTheDocument()\n```\n\n---\n\n## Output\n\n```\n## React\n\n| Component | Tested | Status |\n|------------|--------|--------|\n| [name] | [YES\u002FNO] | [OK] |\n\n### Props Interface\n- [list]\n```\n\n---\n\n**Role**: React Developer **Input**: Components **Output**: Working UI\n\n> Component-based UI.","# React\n\n> Frontend component library.\n\n---\n\n## When To Use\n\n- DOM components\n- SPA framework\n- Component-based UI\n\n---\n\n## What To Do\n\n### 1. Component Pattern\n\n```jsx\nfunction MyComponent({ prop }) {\n  const [state, setState] = useState(null)\n\n  useEffect(() => {\n    \u002F\u002F side effects\n  }, [])\n\n  return \u003Cdiv>{prop}\u003C\u002Fdiv>\n}\n```\n\n### 2. Common Hooks\n\n| Hook | What |\n|------|------|\n| useState | Local state |\n| useEffect | Side effects |\n| useContext | Shared state |\n| useRef | DOM reference |\n| useMemo | Memorized value |\n| useCallback | Memorized function |\n\n### 3. Patterns\n\n```jsx\n\u002F\u002F Conditional\n{condition && \u003CComponent \u002F>}\n\n\u002F\u002F List\nitems.map(item => \u003CItem key={item.id} {...item} \u002F>)\n\n\u002F\u002F Form\n\u003Cform onSubmit={handleSubmit}>\n  \u003Cinput value={value} onChange={e => setValue(e.target.value)} \u002F>\n\u003C\u002Fform>\n```\n\n### 4. Testing\n\n```javascript\nrender(\u003CMyComponent prop=\"value\" \u002F>)\nexpect(screen.getByText('value')).toBeInTheDocument()\n```\n\n---\n\n## Output\n\n```\n## React\n\n| Component | Tested | Status |\n|------------|--------|--------|\n| [name] | [YES\u002FNO] | [OK] |\n\n### Props Interface\n- [list]\n```\n\n---\n\n**Role**: React Developer **Input**: Components **Output**: Working UI\n\n> Component-based UI.",{"name":5,"license":14,"metadata":28,"description":7},{"author":29,"version":30},"vant","1.0","main","8b503d1512c76e22a20a6ec9300fa670b37a79be","models\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-react",1,"https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant","https:\u002F\u002Fvant.creadev.org","https:\u002F\u002Fgithub.com\u002Fdhaupin","https:\u002F\u002Fcreadev.org\u002F","Hi. I make web, app, ecom, enterprise, agent, and orchestration things. Let me know if I can help with your next project. 🤝 Part of the Creadev.org team.","2026-11-13 16:43:16",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add dhaupin\u002Fvant --skill react",{"tool":47,"command":48},"bunx","bunx skills add dhaupin\u002Fvant --skill react",{"tool":50,"command":51},"pnpm","pnpm dlx skills add dhaupin\u002Fvant --skill react","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-react\u002FSKILL.md",true,[],[56,65,75,83,105,128],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":23},"01M70G0NZMN2E0RPCAH59497C3","yaml","Data serialization.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-yaml\u002FSKILL.md",[],[58,63,64],"serialization","data",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":23},"01M70G0MV7JGRXJ60VZZ692ZTM","vite","Frontend build tool.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-vite\u002FSKILL.md",[],[67,72,73,74,18],"tool","build tool","build",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":23},"01M70G0HAFQC4K6N14B5CWPMQ2","typescript","Typed JavaScript.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-typescript\u002FSKILL.md",[],[77,82],"javascript",{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":23},"01M70G0CH5E4PVJ62YBP7WKV44","test-unit","Test individual functions and methods in isolation. Test happy path, edge cases, and error handling. Use when adding new functions, after bug fixes, or before commits.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-unit\u002FSKILL.md",[],[90,91,92,93,94,95,96,97,98,99,100,101,102,103,104],"unit","test","test unit","when","error","commits","fixes","methods","edge","use","error handling","functions","bug","isolation","path",{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":23},"01M70G08P5CPCX3B3RJFF9VJC2","test-snapshot","Capture and compare UI\u002Fcomponent snapshots to detect visual changes. Use when testing UI rendering, before visual changes, or for design systems.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-snapshot\u002FSKILL.md",[],[112,113,91,114,115,116,117,118,119,99,120,121,93,122,123,19,124,125,126,127],"test snapshot","snapshot","capture","ui","for","testing ui","testing","design","design systems","snapshots","visual","compare","changes","detect","rendering","systems",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":23},"01M70G03WAR8HYBH7R2AZJRPCZ","test-smoke","Quick sanity check to verify basic functionality works. Run fastest tests first. Use when needing quick verification before deeper testing.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-smoke\u002FSKILL.md",[],[91,135,136,137,138,139,118,140,99,93,141,142,143,144,145,146],"test smoke","smoke","quick","deeper","basic","tests","check","sanity","verification","first","verify","run"]