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 dcc96b6 3 files · 19.8 KB Updated 7 repo stars

File contents

tools-only/X-Skills/tree/main/development/tools/2641-typescript-pro_95128a78 commit dcc96b625f

Frequently asked questions

npx skillmds add tools-only/typescript-pro-4