[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M70G0HAFQC4K6N14B5CWPMQ2":3,"skill-same:01M70G0HAFQC4K6N14B5CWPMQ2":51},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":34,"ownerDescription":35,"updatedAt":36,"install":37,"resources":50},"01M70G0HAFQC4K6N14B5CWPMQ2","typescript",null,"Typed JavaScript.","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-typescript\u002FSKILL.md",[],[5,18],"javascript","2026-11-10 10:12:30",false,"---\nname: typescript\ndescription: Typed JavaScript.\nlicense: MIT\nmetadata:\n  author: vant\n  version: \"1.0\"\n---\n\n# TypeScript\n\n> Typed JavaScript.\n\n---\n\n## When To Use\n\n- Type safety needed\n- Large codebases\n- Modern JS projects\n\n---\n\n## What To Do\n\n### 1. Types\n\n```typescript\ninterface User {\n  id: number\n  name: string\n  email?: string  \u002F\u002F optional\n}\n\nfunction getUser(id: number): User {\n  return { id, name: 'User' }\n}\n```\n\n### 2. Generics\n\n```typescript\nfunction first\u003CT>(arr: T[]): T {\n  return arr[0]\n}\n```\n\n### 3. Compile\n\n```bash\nnpx tsc --init\nnpx tsc\nnpx tsc --watch\n```\n\n### 4. Config\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2020\",\n    \"module\": \"commonjs\",\n    \"strict\": true\n  }\n}\n```\n\n---\n\n**Role**: TypeScript Developer **Input**: .ts files **Output**: .js files\n\n> Typed JS.","# TypeScript\n\n> Typed JavaScript.\n\n---\n\n## When To Use\n\n- Type safety needed\n- Large codebases\n- Modern JS projects\n\n---\n\n## What To Do\n\n### 1. Types\n\n```typescript\ninterface User {\n  id: number\n  name: string\n  email?: string  \u002F\u002F optional\n}\n\nfunction getUser(id: number): User {\n  return { id, name: 'User' }\n}\n```\n\n### 2. Generics\n\n```typescript\nfunction first\u003CT>(arr: T[]): T {\n  return arr[0]\n}\n```\n\n### 3. Compile\n\n```bash\nnpx tsc --init\nnpx tsc\nnpx tsc --watch\n```\n\n### 4. Config\n\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2020\",\n    \"module\": \"commonjs\",\n    \"strict\": true\n  }\n}\n```\n\n---\n\n**Role**: TypeScript Developer **Input**: .ts files **Output**: .js files\n\n> Typed JS.",{"name":5,"license":14,"metadata":24,"description":7},{"author":25,"version":26},"vant","1.0","main","8b503d1512c76e22a20a6ec9300fa670b37a79be","models\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-typescript",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":38,"prompt":48,"zipAvailable":49},[39,42,45],{"tool":40,"command":41},"npx","npx skills add dhaupin\u002Fvant --skill typescript",{"tool":43,"command":44},"bunx","bunx skills add dhaupin\u002Fvant --skill typescript",{"tool":46,"command":47},"pnpm","pnpm dlx skills add dhaupin\u002Fvant --skill typescript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-typescript\u002FSKILL.md",true,[],[52,61,72,94,118,137],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":19},"01M70G0NZMN2E0RPCAH59497C3","yaml","Data serialization.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-yaml\u002FSKILL.md",[],[54,59,60],"serialization","data",{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M70G0MV7JGRXJ60VZZ692ZTM","vite","Frontend build tool.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-vite\u002FSKILL.md",[],[63,68,69,70,71],"build tool","build","frontend","tool",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"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",[],[79,80,81,82,83,84,85,86,87,88,89,90,91,92,93],"test unit","test","unit","functions","path","isolation","bug","error","error handling","when","use","edge","methods","fixes","commits",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"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",[],[80,101,102,103,104,105,106,107,108,109,110,111,112,88,113,114,115,89,116,117],"snapshot","test snapshot","rendering","systems","detect","changes","component","compare","testing ui","capture","ui","visual","for","testing","design","design systems","snapshots",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"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",[],[125,80,126,127,128,129,114,130,89,88,131,132,133,134,135,136],"test smoke","smoke","basic","deeper","quick","tests","check","sanity","verification","first","verify","run",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M70FZZDJQ0V28PDT0P4GXW27","test-regression","Verify no new bugs introduced since last release. Run full test suite against changes. Use when checking for regressions or before releases.","https:\u002F\u002Fgithub.com\u002Fdhaupin\u002Fvant\u002Fblob\u002Fmain\u002Fmodels\u002Fpublic\u002Fvant\u002Fskills\u002Fvant-skill-test-regression\u002FSKILL.md",[],[80,144,145,135,146,147,148,136,149,106,150,88,89,151,113,152],"regression","test regression","full","suite","release","releases","last","test suite","bugs"]