What problem does it solve? TypeScript projects often hit cryptic compiler errors, slow type checking, module resolution failures, and painful JavaScript-to-TypeScript or ESM/CJS migrations. This Skill provides expert-level guidance and diagnostics to resolve these issues systematically. ## Core Features & Use Cases - Type-Level Programming Guidance: Apply branded types, conditional types, template literal types, and mapped types with concrete code patterns and recursion-depth safeguards. - Project Diagnostics: Run the included diagnostic script to inspect tsconfig settings, detect tooling (Biome, ESLint, Vitest, Turborepo, Nx), count any usages, and measure type-check performance. - Migration & Monorepo Support: Follow step-by-step strategies for JS-to-TS migration, CJS-to-ESM conversion, and monorepo configuration with project references. - Use Case: Your build fails with "Type instantiation is excessively deep". Invoke this Skill to identify the recursive type causing it, apply a depth-limited pattern, and validate with tsc --noEmit. ## Quick Start Ask the assistant to use the typescript-expert skill to diagnose why type checking is slow in this project and fix the tsconfig.