[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EBXPVSFSJ4CDXAVMCR9CAH":3,"skill-same:01M6EBXPVSFSJ4CDXAVMCR9CAH":73},{"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":33,"linkOnly":34,"markdownContent":35,"markdownBody":36,"frontMatter":37,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M6EBXPVSFSJ4CDXAVMCR9CAH","typescript-language",null,"Modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings. (triggers: **\u002F*.ts, **\u002F*.tsx, tsconfig.json, type, interface, generic, enum, union, intersection, readonly, const, namespace)","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Ftypescript-language\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32],"typescript","language","typescript language","Type Safety","Safety","json","settings","use","readonly","standards","tsx","maintainability","triggers","type","2026-11-10 10:12:30",false,"---\nname: typescript-language\ndescription: 'Modern TypeScript standards for type safety and maintainability. Use when working with types, interfaces, generics, enums, unions, or tsconfig settings. (triggers: **\u002F*.ts, **\u002F*.tsx, tsconfig.json, type, interface, generic, enum, union, intersection, readonly, const, namespace)'\n---\n\n# TypeScript Language Patterns\n\n## **Priority: P0 (CRITICAL)**\n\n## Implementation Guidelines\n\n- **Type Annotations**: Explicit params\u002Freturns. Infer locals.\n- **Interfaces vs Types**: interface for APIs (supports declaration merging). type for unions, intersection types, mapped\u002Fconditional types.\n- **Strict Mode**: strict: true. Null Safety: ?. and ?? — Use narrowing instead. Avoid non-null assertion (!) operator.\n- **Enums**: Literal unions or `as const`. **No runtime `enum`**.\n- **Generics**: Reusable, type-safe code.\n- **Type Guards**: `typeof`, `instanceof`, predicates.\n- **Utility Types**: `Partial`, `Pick`, `Omit`, `Record`.\n- **Immutability**: `readonly` arrays\u002Fobjects. Const Assertions: `as const`, `satisfies`.\n- **Template Literals**: `on${Capitalize\u003Cstring>}`.\n- **Discriminated Unions**: Literal kind property to narrow the type safely. Switch on discriminant.\n- **Advanced**: Mapped, Conditional, Indexed types.\n- **Access**: Default `public`. Use `private`\u002F`protected` or `#private`.\n- **Branded Types**: `string & { __brand: 'Id' }`.\n\n## Anti-Patterns\n\n- **NEVER use `any`**: Use `unknown` or a specific interface instead.\n- **No `Function`**: Use signature `() => void`.\n- **No `enum`**: Runtime cost.\n- **No `!`**: Avoid non-null assertion (!). Use narrowing (typeof, instanceof, if-checks).\n- **No Lint Disable**: Fix root cause; never suppress.\n\n## Testing\n\n- **Mocking**: Use `jest.Mocked\u003CT>` or `as unknown as T`.\n- **Checklist**: Check method existence, match error constants, satisfy required properties.\n- **References**: See [references\u002FTESTING.md](references\u002FTESTING.md) for common issues\u002Fsolutions.\n\n## Code\n\n```typescript\n\u002F\u002F Branded Type\ntype UserId = string & { __brand: 'Id' };\n\n\u002F\u002F Satisfies (Validate + Infer)\nconst cfg = { port: 3000 } satisfies Record\u003Cstring, number>;\n\n\u002F\u002F Discriminated Union\ntype Result\u003CT> = { kind: 'ok'; data: T } | { kind: 'err'; error: Error };\n```\n\n## Verification\n\nAfter any type change that crosses module boundaries or involves generics, unions, conditional types, or branded types: call `getDiagnostics` (typescript-lsp MCP tool) to confirm no type errors before finalizing.\n\n## References\n\nFor advanced type patterns and utility types:\nSee [references\u002FREFERENCE.md](references\u002FREFERENCE.md).\n\n","# TypeScript Language Patterns\n\n## **Priority: P0 (CRITICAL)**\n\n## Implementation Guidelines\n\n- **Type Annotations**: Explicit params\u002Freturns. Infer locals.\n- **Interfaces vs Types**: interface for APIs (supports declaration merging). type for unions, intersection types, mapped\u002Fconditional types.\n- **Strict Mode**: strict: true. Null Safety: ?. and ?? — Use narrowing instead. Avoid non-null assertion (!) operator.\n- **Enums**: Literal unions or `as const`. **No runtime `enum`**.\n- **Generics**: Reusable, type-safe code.\n- **Type Guards**: `typeof`, `instanceof`, predicates.\n- **Utility Types**: `Partial`, `Pick`, `Omit`, `Record`.\n- **Immutability**: `readonly` arrays\u002Fobjects. Const Assertions: `as const`, `satisfies`.\n- **Template Literals**: `on${Capitalize\u003Cstring>}`.\n- **Discriminated Unions**: Literal kind property to narrow the type safely. Switch on discriminant.\n- **Advanced**: Mapped, Conditional, Indexed types.\n- **Access**: Default `public`. Use `private`\u002F`protected` or `#private`.\n- **Branded Types**: `string & { __brand: 'Id' }`.\n\n## Anti-Patterns\n\n- **NEVER use `any`**: Use `unknown` or a specific interface instead.\n- **No `Function`**: Use signature `() => void`.\n- **No `enum`**: Runtime cost.\n- **No `!`**: Avoid non-null assertion (!). Use narrowing (typeof, instanceof, if-checks).\n- **No Lint Disable**: Fix root cause; never suppress.\n\n## Testing\n\n- **Mocking**: Use `jest.Mocked\u003CT>` or `as unknown as T`.\n- **Checklist**: Check method existence, match error constants, satisfy required properties.\n- **References**: See [references\u002FTESTING.md](references\u002FTESTING.md) for common issues\u002Fsolutions.\n\n## Code\n\n```typescript\n\u002F\u002F Branded Type\ntype UserId = string & { __brand: 'Id' };\n\n\u002F\u002F Satisfies (Validate + Infer)\nconst cfg = { port: 3000 } satisfies Record\u003Cstring, number>;\n\n\u002F\u002F Discriminated Union\ntype Result\u003CT> = { kind: 'ok'; data: T } | { kind: 'err'; error: Error };\n```\n\n## Verification\n\nAfter any type change that crosses module boundaries or involves generics, unions, conditional types, or branded types: call `getDiagnostics` (typescript-lsp MCP tool) to confirm no type errors before finalizing.\n\n## References\n\nFor advanced type patterns and utility types:\nSee [references\u002FREFERENCE.md](references\u002FREFERENCE.md).\n\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Ftypescript-language",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill typescript-language",{"tool":53,"command":54},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill typescript-language",{"tool":56,"command":57},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill typescript-language","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FHoangNguyen0403\u002Fagent-skills-standard\u002Ftypescript-language\u002FSKILL.md",true,[61,67],{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"references\u002Fplaybook.md","REFERENCE","参考文档",5297,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjob-babysitter\u002Freferences\u002Fplaybook.md",{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"scripts\u002Fwatch_job.py","SCRIPT","脚本",8904,"https:\u002F\u002Fgithub.com\u002Fpattanation\u002FNorvik\u002Fblob\u002Fclaude\u002Finstall-gsd-build-foQdV\u002F.agents\u002Fskills\u002Fjob-babysitter\u002Fscripts\u002Fwatch_job.py",[74,88,98,107,113,120],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":84,"publishedAt":33},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[79],{"categoryNo":80,"categoryName":81,"taxonomyType":82,"taxonomyTypeDesc":83},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[85,86,87],"model","model hierarchy","model hierarchy skill",{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":94,"publishedAt":33},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[93],{"categoryNo":80,"categoryName":81,"taxonomyType":82,"taxonomyTypeDesc":83},[95,96,97],"MCP","zoom","zoom mcp",{"skillNo":99,"name":100,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":33},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[104,105,106,96],"sdk","zoom apps sdk","apps",{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":33},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[109],{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":119,"publishedAt":33},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[118],{"categoryNo":80,"categoryName":81,"taxonomyType":82,"taxonomyTypeDesc":83},[115],{"skillNo":121,"name":122,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":33},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[122]]