What problem does it solve? Writing complex TypeScript type logic without guidance leads to unsafe casts, overuse of any, and missed compile-time guarantees. This Skill provides patterns and worked examples for building type-safe applications using TypeScript's advanced type system. ## Core Features & Use Cases - Advanced Type Patterns: Covers generics, conditional types, mapped types, template literal types, and built-in utility types with runnable examples. - Real-World Implementations: Includes type-safe event emitters, API clients, builders, form validators, deep readonly/partial types, and discriminated union state machines. - Type Inference & Testing: Demonstrates the infer keyword, type guards, assertion functions, and compile-time type assertion tests. - Use Case: When building a type-safe API client where request bodies, params, and responses must be inferred from an endpoint configuration map, follow the included API client pattern to get full compile-time checking. ## Quick Start Ask the AI to help you implement a type-safe event emitter or generic utility type in TypeScript using this skill's patterns.