[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M744RA79QCMPQPYZQNVWF45P":3,"skill-same:01M744RA79QCMPQPYZQNVWF45P":63},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":38,"ownerHtmlUrl":39,"ownerBlogUrl":40,"ownerDescription":41,"updatedAt":42,"install":43,"resources":56},"01M744RA79QCMPQPYZQNVWF45P","typescript-pro",null,"Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.","bg-szy\u002FTOP-SKILLS","bg-szy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F106576190?v=4","01M73A4E8KPV67SFXRY8XZGNBX","ShuZhiyong","01M73A4E96MQ294MHM74TZBVQD",6,"MIT","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Ftypescript-pro\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: typescript-pro\ndescription: Implements advanced TypeScript type systems, creates custom type guards, utility types, and branded types, and configures tRPC for end-to-end type safety. Use when building TypeScript applications requiring advanced generics, conditional or mapped types, discriminated unions, monorepo setup, or full-stack type safety with tRPC.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: TypeScript, generics, type safety, conditional types, mapped types, tRPC, tsconfig, type guards, discriminated unions\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: fullstack-guardian, api-designer\n---\n\n# TypeScript Pro\n\n## Core Workflow\n\n1. **Analyze type architecture** - Review tsconfig, type coverage, build performance\n2. **Design type-first APIs** - Create branded types, generics, utility types\n3. **Implement with type safety** - Write type guards, discriminated unions, conditional types; run `tsc --noEmit` to catch type errors before proceeding\n4. **Optimize build** - Configure project references, incremental compilation, tree shaking; re-run `tsc --noEmit` to confirm zero errors after changes\n5. **Test types** - Confirm type coverage with a tool like `type-coverage`; validate that all public APIs have explicit return types; iterate on steps 3–4 until all checks pass\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Advanced Types | `references\u002Fadvanced-types.md` | Generics, conditional types, mapped types, template literals |\n| Type Guards | `references\u002Ftype-guards.md` | Type narrowing, discriminated unions, assertion functions |\n| Utility Types | `references\u002Futility-types.md` | Partial, Pick, Omit, Record, custom utilities |\n| Configuration | `references\u002Fconfiguration.md` | tsconfig options, strict mode, project references |\n| Patterns | `references\u002Fpatterns.md` | Builder pattern, factory pattern, type-safe APIs |\n\n## Code Examples\n\n### Branded Types\n```typescript\n\u002F\u002F Branded type for domain modeling\ntype Brand\u003CT, B extends string> = T & { readonly __brand: B };\ntype UserId  = Brand\u003Cstring, \"UserId\">;\ntype OrderId = Brand\u003Cnumber, \"OrderId\">;\n\nconst toUserId  = (id: string): UserId  => id as UserId;\nconst toOrderId = (id: number): OrderId => id as OrderId;\n\n\u002F\u002F Usage — prevents accidental id mix-ups at compile time\nfunction getOrder(userId: UserId, orderId: OrderId) { \u002F* ... *\u002F }\n```\n\n### Discriminated Unions & Type Guards\n```typescript\ntype LoadingState = { status: \"loading\" };\ntype SuccessState = { status: \"success\"; data: string[] };\ntype ErrorState   = { status: \"error\";   error: Error };\ntype RequestState = LoadingState | SuccessState | ErrorState;\n\n\u002F\u002F Type predicate guard\nfunction isSuccess(state: RequestState): state is SuccessState {\n  return state.status === \"success\";\n}\n\n\u002F\u002F Exhaustive switch with discriminated union\nfunction renderState(state: RequestState): string {\n  switch (state.status) {\n    case \"loading\": return \"Loading…\";\n    case \"success\": return state.data.join(\", \");\n    case \"error\":   return state.error.message;\n    default: {\n      const _exhaustive: never = state;\n      throw new Error(`Unhandled state: ${_exhaustive}`);\n    }\n  }\n}\n```\n\n### Custom Utility Types\n```typescript\n\u002F\u002F Deep readonly — immutable nested objects\ntype DeepReadonly\u003CT> = {\n  readonly [K in keyof T]: T[K] extends object ? DeepReadonly\u003CT[K]> : T[K];\n};\n\n\u002F\u002F Require exactly one of a set of keys\ntype RequireExactlyOne\u003CT, Keys extends keyof T = keyof T> =\n  Pick\u003CT, Exclude\u003Ckeyof T, Keys>> &\n  { [K in Keys]-?: Required\u003CPick\u003CT, K>> & Partial\u003CRecord\u003CExclude\u003CKeys, K>, never>> }[Keys];\n```\n\n### Recommended tsconfig.json\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"NodeNext\",\n    \"moduleResolution\": \"NodeNext\",\n    \"strict\": true,\n    \"noUncheckedIndexedAccess\": true,\n    \"noImplicitOverride\": true,\n    \"exactOptionalPropertyTypes\": true,\n    \"isolatedModules\": true,\n    \"declaration\": true,\n    \"declarationMap\": true,\n    \"incremental\": true,\n    \"skipLibCheck\": false\n  }\n}\n```\n\n## Constraints\n\n### MUST DO\n- Enable strict mode with all compiler flags\n- Use type-first API design\n- Implement branded types for domain modeling\n- Use `satisfies` operator for type validation\n- Create discriminated unions for state machines\n- Use `Annotated` pattern with type predicates\n- Generate declaration files for libraries\n- Optimize for type inference\n\n### MUST NOT DO\n- Use explicit `any` without justification\n- Skip type coverage for public APIs\n- Mix type-only and value imports\n- Disable strict null checks\n- Use `as` assertions without necessity\n- Ignore compiler performance warnings\n- Skip declaration file generation\n- Use enums (prefer const objects with `as const`)\n\n## Output Templates\n\nWhen implementing TypeScript features, provide:\n1. Type definitions (interfaces, types, generics)\n2. Implementation with type guards\n3. tsconfig configuration if needed\n4. Brief explanation of type design decisions\n\n## Knowledge Reference\n\nTypeScript 5.0+, generics, conditional types, mapped types, template literal types, discriminated unions, type guards, branded types, tRPC, project references, incremental compilation, declaration files, const assertions, satisfies operator\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Ftypescript-pro\u002F)\n","# TypeScript Pro\n\n## Core Workflow\n\n1. **Analyze type architecture** - Review tsconfig, type coverage, build performance\n2. **Design type-first APIs** - Create branded types, generics, utility types\n3. **Implement with type safety** - Write type guards, discriminated unions, conditional types; run `tsc --noEmit` to catch type errors before proceeding\n4. **Optimize build** - Configure project references, incremental compilation, tree shaking; re-run `tsc --noEmit` to confirm zero errors after changes\n5. **Test types** - Confirm type coverage with a tool like `type-coverage`; validate that all public APIs have explicit return types; iterate on steps 3–4 until all checks pass\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Advanced Types | `references\u002Fadvanced-types.md` | Generics, conditional types, mapped types, template literals |\n| Type Guards | `references\u002Ftype-guards.md` | Type narrowing, discriminated unions, assertion functions |\n| Utility Types | `references\u002Futility-types.md` | Partial, Pick, Omit, Record, custom utilities |\n| Configuration | `references\u002Fconfiguration.md` | tsconfig options, strict mode, project references |\n| Patterns | `references\u002Fpatterns.md` | Builder pattern, factory pattern, type-safe APIs |\n\n## Code Examples\n\n### Branded Types\n```typescript\n\u002F\u002F Branded type for domain modeling\ntype Brand\u003CT, B extends string> = T & { readonly __brand: B };\ntype UserId  = Brand\u003Cstring, \"UserId\">;\ntype OrderId = Brand\u003Cnumber, \"OrderId\">;\n\nconst toUserId  = (id: string): UserId  => id as UserId;\nconst toOrderId = (id: number): OrderId => id as OrderId;\n\n\u002F\u002F Usage — prevents accidental id mix-ups at compile time\nfunction getOrder(userId: UserId, orderId: OrderId) { \u002F* ... *\u002F }\n```\n\n### Discriminated Unions & Type Guards\n```typescript\ntype LoadingState = { status: \"loading\" };\ntype SuccessState = { status: \"success\"; data: string[] };\ntype ErrorState   = { status: \"error\";   error: Error };\ntype RequestState = LoadingState | SuccessState | ErrorState;\n\n\u002F\u002F Type predicate guard\nfunction isSuccess(state: RequestState): state is SuccessState {\n  return state.status === \"success\";\n}\n\n\u002F\u002F Exhaustive switch with discriminated union\nfunction renderState(state: RequestState): string {\n  switch (state.status) {\n    case \"loading\": return \"Loading…\";\n    case \"success\": return state.data.join(\", \");\n    case \"error\":   return state.error.message;\n    default: {\n      const _exhaustive: never = state;\n      throw new Error(`Unhandled state: ${_exhaustive}`);\n    }\n  }\n}\n```\n\n### Custom Utility Types\n```typescript\n\u002F\u002F Deep readonly — immutable nested objects\ntype DeepReadonly\u003CT> = {\n  readonly [K in keyof T]: T[K] extends object ? DeepReadonly\u003CT[K]> : T[K];\n};\n\n\u002F\u002F Require exactly one of a set of keys\ntype RequireExactlyOne\u003CT, Keys extends keyof T = keyof T> =\n  Pick\u003CT, Exclude\u003Ckeyof T, Keys>> &\n  { [K in Keys]-?: Required\u003CPick\u003CT, K>> & Partial\u003CRecord\u003CExclude\u003CKeys, K>, never>> }[Keys];\n```\n\n### Recommended tsconfig.json\n```json\n{\n  \"compilerOptions\": {\n    \"target\": \"ES2022\",\n    \"module\": \"NodeNext\",\n    \"moduleResolution\": \"NodeNext\",\n    \"strict\": true,\n    \"noUncheckedIndexedAccess\": true,\n    \"noImplicitOverride\": true,\n    \"exactOptionalPropertyTypes\": true,\n    \"isolatedModules\": true,\n    \"declaration\": true,\n    \"declarationMap\": true,\n    \"incremental\": true,\n    \"skipLibCheck\": false\n  }\n}\n```\n\n## Constraints\n\n### MUST DO\n- Enable strict mode with all compiler flags\n- Use type-first API design\n- Implement branded types for domain modeling\n- Use `satisfies` operator for type validation\n- Create discriminated unions for state machines\n- Use `Annotated` pattern with type predicates\n- Generate declaration files for libraries\n- Optimize for type inference\n\n### MUST NOT DO\n- Use explicit `any` without justification\n- Skip type coverage for public APIs\n- Mix type-only and value imports\n- Disable strict null checks\n- Use `as` assertions without necessity\n- Ignore compiler performance warnings\n- Skip declaration file generation\n- Use enums (prefer const objects with `as const`)\n\n## Output Templates\n\nWhen implementing TypeScript features, provide:\n1. Type definitions (interfaces, types, generics)\n2. Implementation with type guards\n3. tsconfig configuration if needed\n4. Brief explanation of type design decisions\n\n## Knowledge Reference\n\nTypeScript 5.0+, generics, conditional types, mapped types, template literal types, discriminated unions, type guards, branded types, tRPC, project references, incremental compilation, declaration files, const assertions, satisfies operator\n\n[Documentation](https:\u002F\u002Fjeffallan.github.io\u002Fclaude-skills\u002Fskills\u002Flanguage\u002Ftypescript-pro\u002F)\n",{"name":5,"license":15,"metadata":24,"description":7},{"role":25,"scope":26,"author":27,"domain":28,"version":29,"triggers":30,"output-format":31,"related-skills":32},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","TypeScript, generics, type safety, conditional types, mapped types, tRPC, tsconfig, type guards, discriminated unions","code","fullstack-guardian, api-designer","master","fd76f882a04e445e899d5cfb2732f2105ea054ee","skills\u002Fmarketplace\u002Ftypescript-pro",0,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS","https:\u002F\u002Fbg-szy.github.io\u002FTOP-SKILLS\u002F","https:\u002F\u002Fgithub.com\u002Fbg-szy","https:\u002F\u002Fwww.ecust.edu.cn\u002F","a student of East China University of Science and Technology","2026-11-15 03:38:02",{"source":8,"skillName":5,"commands":44,"prompt":54,"zipAvailable":55},[45,48,51],{"tool":46,"command":47},"npx","npx skills add bg-szy\u002FTOP-SKILLS --skill typescript-pro",{"tool":49,"command":50},"bunx","bunx skills add bg-szy\u002FTOP-SKILLS --skill typescript-pro",{"tool":52,"command":53},"pnpm","pnpm dlx skills add bg-szy\u002FTOP-SKILLS --skill typescript-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Ftypescript-pro\u002FSKILL.md",true,[57],{"path":58,"resourceType":59,"resourceTypeDesc":60,"sizeBytes":61,"sourceHtmlUrl":62},"skill-report.json","REFERENCE","参考文档",76446,"https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Ftypescript-pro\u002Fskill-report.json",[64,72,79,86,93,100],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":71},"01M7DXW9N826PKXK174PVW3038","serpmaven","Scrape Google search results (SERP) to JSON with SERP Maven (serpmaven) - a real Chrome browser on a residential proxy with sticky sessions. Run it as a CLI, a Python library, a local HTTP search API (`serve`), an MCP server or a Docker image; set the proxy login, workers, pages and cost tracking. Use when the user wants Google results, rank tracking, a self-hosted SERP API, or live Google search for an AI agent.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fserpmaven\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":71},"01M7DXVHSTWDV65475QEQ915M7","revnu-landing-page-audit","Find out why a landing page isn't turning visitors into signups, demos or sales. Audits one page against what the ad, post or search that sends people there promised, then checks the first screen, proof, call to action, friction and mobile. Returns at most 7 prioritized fixes, plus what is fine and what could not be checked; rewrites specific lines and fixes the page in the repo when asked. Never promises a conversion lift. Works without a Revnu account. Use when the user says or asks: \"audit my landing page\", \"why isn't this page converting\", \"review my homepage\", \"my ads get clicks but no signups\", \"people bounce from the pricing page\", \"CRO review\", \"improve conversion rate\", \"is my hero section clear\", \"roast my landing page\", \"rewrite my headline\", \"what's wrong with this page\", \"landing page feedback\", \"make the signup page convert better\". Not for SEO or AI-search audits, page speed engineering on its own, or building a new page from scratch.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-landing-page-audit\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":71},"01M7DXV8X2D7B3VTD4HHYYHTGR","revnu-growth-context","Write down once who buys, what they're stuck on, what it costs, what proof you have and what you've already tried, so every growth task starts from facts instead of a questionnaire. Creates or updates .agents\u002Frevnu-growth.md from the repo, the live site and the user, and imports an existing product-marketing.md. Use when the user says \"set up our marketing context\", \"who is our ideal customer\", \"write our ICP\", \"describe the product for marketing\", \"positioning doc\", \"what's our brand voice\", \"remember this about our customers\", \"log what we tried\", \"what have we learned from marketing\", \"we changed pricing, update the context\", \"update our growth notes\", \"summarize the business for the agent\", \"import my product-marketing.md\", \"start a growth doc\", or before a first marketing, SEO, outreach or launch task when no context file exists. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-growth-context\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":71},"01M7DXV0DGJ1G0A60PAHC6J3C5","revnu-get-listed","Get onto the third-party pages AI answers and search cite when buyers ask for the best tool in your category: \"best X\" roundups, directories, review sites, GitHub awesome lists, community threads and comparison pages. Finds which ones are cited, ranks them by fit and effort, and drafts each submission, PR or pitch by the target's own rules. Use when the user says \"get us listed\", \"which directories should we submit to\", \"how do we get into best-of lists\", \"why does ChatGPT recommend competitors and not us\", \"get mentioned in AI answers\", \"submit to awesome lists\", \"get on G2\", \"where are our competitors listed\", \"pitch listicle authors\", \"find backlink opportunities\", \"launch directories\", \"get into roundups\", \"Product Hunt alternatives\", \"where should we be listed\", \"get cited by Perplexity\". Never submits, pays or posts without a yes. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-get-listed\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":71},"01M7DXTSPMGT9D6DSS0HP9BSTA","revnu-ai-readiness-audit","Audit whether your website gives ChatGPT, Perplexity, Claude, Gemini and Google's AI Overviews something worth quoting, and fix the pages that don't. Use when the user says or asks \"is my site ready for AI search\", \"audit my site for AI answers\", \"AEO audit\", \"GEO audit\", \"why doesn't ChatGPT quote our pricing\", \"make our pages citable by AI\", \"do I need llms.txt\", \"does schema help with ChatGPT\", \"check our structured data\", \"is our content visible without JavaScript\", \"AI SEO audit\", \"optimize our homepage for AI answers\", \"LLM SEO check\", \"why does AI get our product wrong\", \"fix our site for AI Overviews\". Checks fetchability and indexability, answers in the raw HTML, entity facts, schema (including JS-injected markup), headings, dates and llms.txt, then gives at most 10 prioritised fixes and edits the repo when asked. Works without a Revnu account.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Frevnu-ai-readiness-audit\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":71},"01M7DXSZHCVTRS620GC3S97JZV","proxy-troubleshooting","Diagnose residential proxy failures, with NodeMaven's gateway as the reference - 407 with correct credentials, 406, 410, 500, a connection that hangs, ERR_TUNNEL_CONNECTION_FAILED in a browser, Playwright or Puppeteer ignoring proxy credentials, a sticky session that changes IP, geo-targeting that is silently ignored, passwords with special characters, and unexpected traffic from headless Chrome. Use when a proxy connection fails, returns the wrong location, or costs more traffic than expected.","https:\u002F\u002Fgithub.com\u002Fbg-szy\u002FTOP-SKILLS\u002Fblob\u002Fmaster\u002Fskills\u002Fmarketplace\u002Fproxy-troubleshooting\u002FSKILL.md",[],[]]