[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76W7EFVCNTMWCE1TCHREMDZ":3,"skill-same:01M76W7EFVCNTMWCE1TCHREMDZ":83},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":14,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M76W7EFVCNTMWCE1TCHREMDZ","typescript",null,"Use when writing or reviewing TypeScript type design, generics, module resolution, or compiler configuration. Do not use when the work is JavaScript runtime debugging or framework-specific UI composition.","HarleyBartles\u002Fagent-asset-marketplace","HarleyBartles","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F32537371?v=4","01M7590KP2F50J1QPVEK7V7071","Harley Bartles","01M7590KQ4B141665T2GDDCWQX",0,"MIT","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: typescript\ndescription: Use when writing or reviewing TypeScript type design, generics, module resolution, or compiler configuration. Do not use when the work is JavaScript runtime debugging or framework-specific UI composition.\nmetadata:\n  source-id: typescript\n  source-path: skills\u002Ftypescript\u002FSKILL.md\n  provenance-name: Typescript first-party skill\n  source-category: first_party\n  status: active\n  owner: Harley Bartles\n  scope: TypeScript type design, generics, module resolution, and compiler configuration.\n  use_when:\n    - writing or reviewing TypeScript type design.\n    - working with generics, mapped types, or conditional types.\n    - resolving module paths or configuring tsconfig.json.\n    - narrowing types or writing type guards.\n  do_not_use_when:\n    - the work is JavaScript runtime debugging.\n    - the work is framework-specific UI composition.\nlicense: MIT\n---\n\n# TypeScript\n\n## Overview\n\nTypeScript adds a static type system to JavaScript. This skill covers type design, generics, module resolution, and compiler configuration so code stays safe and maintainable.\n\n## When to Use\n\n- Designing interfaces, type aliases, unions, intersections, or literal types.\n- Writing or consuming generic functions and types.\n- Narrowing types with guards, `typeof`, `instanceof`, or discriminated unions.\n- Authoring declaration files or configuring project-wide `tsconfig.json`.\n- Choosing module resolution strategy and strictness settings.\n\nDo not use for runtime behavior, build tooling unrelated to types, or framework-specific component composition.\n\n## Core Pattern\n\n1. Model data with `interface` or `type` before writing logic.\n2. Use generics only when the function or type must work across multiple concrete types; add constraints.\n3. Let inference do the work; add annotations at module boundaries and public APIs.\n4. Prefer `unknown` over `any`; narrow with type guards before use.\n5. Keep `strict` and `noImplicitAny` enabled; align `module`, `moduleResolution`, and `target` with the runtime.\n\n## Common Mistakes\n\n- Overusing `any` instead of `unknown` or precise unions.\n- Declaring generic parameters without constraints, leading to impossible operations.\n- Mixing `interface` extension and `type` aliases for the same shape inconsistently.\n- Misaligned `tsconfig.json` paths or module resolution causing hidden import errors.\n- Disabling strict settings to silence errors instead of fixing the underlying type issue.\n","# TypeScript\n\n## Overview\n\nTypeScript adds a static type system to JavaScript. This skill covers type design, generics, module resolution, and compiler configuration so code stays safe and maintainable.\n\n## When to Use\n\n- Designing interfaces, type aliases, unions, intersections, or literal types.\n- Writing or consuming generic functions and types.\n- Narrowing types with guards, `typeof`, `instanceof`, or discriminated unions.\n- Authoring declaration files or configuring project-wide `tsconfig.json`.\n- Choosing module resolution strategy and strictness settings.\n\nDo not use for runtime behavior, build tooling unrelated to types, or framework-specific component composition.\n\n## Core Pattern\n\n1. Model data with `interface` or `type` before writing logic.\n2. Use generics only when the function or type must work across multiple concrete types; add constraints.\n3. Let inference do the work; add annotations at module boundaries and public APIs.\n4. Prefer `unknown` over `any`; narrow with type guards before use.\n5. Keep `strict` and `noImplicitAny` enabled; align `module`, `moduleResolution`, and `target` with the runtime.\n\n## Common Mistakes\n\n- Overusing `any` instead of `unknown` or precise unions.\n- Declaring generic parameters without constraints, leading to impossible operations.\n- Mixing `interface` extension and `type` aliases for the same shape inconsistently.\n- Misaligned `tsconfig.json` paths or module resolution causing hidden import errors.\n- Disabling strict settings to silence errors instead of fixing the underlying type issue.\n",{"name":5,"license":15,"metadata":24,"description":7},{"owner":12,"scope":25,"status":26,"use_when":27,"source-id":5,"source-path":32,"do_not_use_when":33,"provenance-name":36,"source-category":37},"TypeScript type design, generics, module resolution, and compiler configuration.","active",[28,29,30,31],"writing or reviewing TypeScript type design.","working with generics, mapped types, or conditional types.","resolving module paths or configuring tsconfig.json.","narrowing types or writing type guards.","skills\u002Ftypescript\u002FSKILL.md",[34,35],"the work is JavaScript runtime debugging.","the work is framework-specific UI composition.","Typescript first-party skill","first_party","main","61dfbcb84501e21a9904b55b207485abcb0b2ffa","skills\u002Ftypescript","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace","https:\u002F\u002Fgithub.com\u002FHarleyBartles","Full Stack Software Engineer","2026-10-08 23:51:53",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add HarleyBartles\u002Fagent-asset-marketplace --skill typescript",{"tool":51,"command":52},"bunx","bunx skills add HarleyBartles\u002Fagent-asset-marketplace --skill typescript",{"tool":54,"command":55},"pnpm","pnpm dlx skills add HarleyBartles\u002Fagent-asset-marketplace --skill typescript","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002FSKILL.md",true,[59,65,71,75,79],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"agents\u002Fopenai.yaml","REFERENCE","参考文档",431,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002Fagents\u002Fopenai.yaml",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"assets\u002Fauthority\u002Fauthority.yaml","ASSET","资产文件",1077,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002Fassets\u002Fauthority\u002Fauthority.yaml",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"assets\u002Fauthority\u002FCITATIONS.md",948,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002Fassets\u002Fauthority\u002FCITATIONS.md",{"path":76,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":77,"sourceHtmlUrl":78},"assets\u002Fauthority\u002Fsource-map.yaml",456,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002Fassets\u002Fauthority\u002Fsource-map.yaml",{"path":80,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Foperational-guidance.md",2519,"https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Ftypescript\u002Freferences\u002Foperational-guidance.md",[84,91,98,105,111,118],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M76WCC1A6JQP15DX8HPZ5C5J","writing","Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M76WC4DSHYD15E8BDPQ433XF","writing-with-clarity","Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-with-clarity\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M76WBZ9MYM991K6QKY1DN4MK","writing-style","Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"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":108,"categories":109,"keywords":110,"publishedAt":19},"01M76WBVKC1Y158TTZJR400A4J","skill","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":19},"01M76WBFD4D1XY20075H00AGYK","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M76WB8S7XZZFTFFCFYW1J9CW","writing-roadmaps","Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.","https:\u002F\u002Fgithub.com\u002FHarleyBartles\u002Fagent-asset-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-roadmaps\u002FSKILL.md",[],[]]