What problem does it solve? Type errors and loose typing are the leading cause of runtime bugs in TypeScript projects. This Skill provides expert-level guidance on strict configuration, generics, utility types, discriminated unions, and type-safe patterns so code is self-documenting and errors are caught at compile time. ## Core Features & Use Cases - Strict Configuration: Provides a recommended tsconfig.json with strict mode, noUncheckedIndexedAccess, exactOptionalPropertyTypes, and explanations of each flag. - Advanced Type Patterns: Covers generics with constraints, conditional types, infer, template literal types, mapped types with key remapping, and a full catalog of built-in and custom utility types. - Framework Integration: Includes type-safe React patterns (generic components, polymorphic as props, context, hooks, event handlers) plus Zod schema inference and Prisma typing. - Use Case: When building a type-safe API layer, use the discriminated union and exhaustive checking patterns to model ApiState<T> so every loading, success, and error branch is enforced by the compiler. ## Quick Start Ask the AI to review your TypeScript code or generate a type-safe component, generic function, or Zod schema following strict mode best practices.