What problem does it solve? TypeScript projects often hit cryptic compiler errors, slow type checking, module resolution failures, and painful JavaScript-to-TypeScript migrations. This Skill provides systematic diagnostic workflows, type-level programming patterns, and tooling decision trees to resolve these issues without guesswork. ## Core Features & Use Cases - Type-Level Programming Guidance: Apply branded types, conditional types, template literal types, and controlled recursion to model domains safely and avoid "type instantiation excessively deep" errors. - Compiler Performance Diagnostics: Run the included ts_diagnostic.py script or tsc flags like --extendedDiagnostics and --traceResolution to find slow type checking, misconfigured tsconfig files, and module resolution failures. - Migration & Tooling Decisions: Follow incremental JS-to-TS migration steps, strict tsconfig templates, and decision matrices for Biome vs ESLint and Nx vs Turborepo. - Use Case: Your monorepo's editor takes 30 seconds to show type errors. Use this Skill to run extended diagnostics, enable skipLibCheck and project references, and cut check time dramatically. ## Quick Start Ask the AI to diagnose your TypeScript project's type errors and compiler performance using the typescript-expert skill.