What problem does it solve? Writing complex TypeScript logic without losing compile-time type safety is hard: developers often fall back to any, duplicate type definitions, or miss edge cases in generic code. This Skill provides patterns and worked examples for TypeScript's advanced type system so type-level logic stays correct and maintainable. ## Core Features & Use Cases - Generics and Constraints: Build reusable generic functions and classes with constrained type parameters and multi-parameter composition. - Conditional and Mapped Types: Extract return types, filter properties by type, remap keys, and build distributive conditional logic. - Template Literal Types: Construct string-pattern types such as event handler names and nested object path strings. - Worked Patterns: Type-safe event emitters, API clients, builders with required-field enforcement, deep readonly/partial types, form validators, and discriminated-union state machines. - Use Case: When designing a type-safe API client where each endpoint defines its own params, body, and response types, use the conditional-type extraction patterns to make every call fully typed. ## Quick Start Ask the AI to design a type-safe event emitter or API client in TypeScript using generics, conditional types, and mapped types.