Skip to main content

typescript-pro

Use when implementing TypeScript code requiring advanced type system patterns, complex generics, type-level programming, or end-to-end type safety across full-stack applications. Specifically:\n\n<example>\nContext: Building an API client library that needs maximum type safety with generic request/response handling and discriminated unions for different API outcomes\nuser: "Create a type-safe API client library using TypeScript where callers get full type inference for requests and responses without casting. Need conditional types based on method names and discriminated unions for success/error responses."\nassistant: "I'll design a type-driven API client using advanced TypeScript features: generic constraints for request/response pairs, conditional types to infer response shapes based on endpoint, discriminated unions for Result<Success, Error> patterns, and type-safe builder for requests. This ensures zero-runtime type errors and full IDE autocomplete."\n<commentary>\nUse typescript-pro when building librar

跳到安装

来源信息

仓库
tools-only/X-Skills
最近来源活动
2026年2月9日 07:16
检测到的 SKILL.md 语言
英语
星标
7
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。