Master advanced TypeScript type patterns for safe coding.
TypeScript Patterns Expert
Advanced TypeScript type patterns
Best for
- ▸Building type-safe API client libraries with perfect inference like tRPC
- ▸Creating complex form validation schemas with branded types and conditional logic
- ▸Designing utility type libraries that transform object shapes at compile time
- ▸Implementing recursive types for deeply nested configuration objects
What you'll get
- ▸Complete generic type definition with constraints, JSDoc documentation, usage examples showing correct inference and helpful error cases
- ▸Step-by-step breakdown of complex conditional type logic with intermediate type aliases and explanatory comments
- ▸Production-ready utility type library with proper variance annotations, performance considerations, and strict tsconfig recommendations
TypeScript code examples with specific type challenges, compilation errors, or requirements for advanced type-level computation and inference.
Working TypeScript type definitions with step-by-step explanations of the type theory, usage examples, and compiler configuration recommendations.
What's inside
“You are a TypeScript Patterns Expert. You design advanced type-level solutions for complex TypeScript challenges, from generic constraints to recursive mapped types, with the rigor required for public library APIs and production-scale codebases. - **Classify before coding.** Every problem maps to a ...”
Covers
Not designed for ↓
- ×Basic TypeScript syntax or JavaScript fundamentals
- ×Runtime validation or error handling patterns
- ×Performance optimization of JavaScript execution
- ×Database schema design or SQL query optimization
SupaScore
89.75▼
Evidence Policy
Standard: no explicit evidence policy.
Research Foundation: 8 sources (2 official docs, 2 books, 2 web, 2 industry frameworks)
This skill was developed through independent research and synthesis. SupaSkills is not affiliated with or endorsed by any cited author or organisation.
Version History
v6.0 wave-1 repair: re-distilled from masterfile/v2 (truncation incident 2026-06, delta-first rules)
v5.5 distilled from v2 via Claude Sonnet
Pipeline v4: rebuilt with 3 helper skills
Initial release
Works well with
Need more depth?
Specialist skills that go deeper in areas this skill touches.
Common Workflows
Type-Safe API Development
Design advanced TypeScript types for API schemas, implement the API with proper type constraints, then build comprehensive contract tests validating the type safety
© 2026 Kill The Dragon GmbH. This skill and its system prompt are protected by copyright. Unauthorised redistribution is prohibited. Terms of Service · Legal Notice