TypeScript Expert

Diagnose TypeScript type errors, module resolution failures, and build slowdowns.

1|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/svssdeva/agentic-skills --skill typescript-expert-svssdeva
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: TypeScript Expert
Source: https://github.com/svssdeva/agentic-skills/tree/main/typescript/typescript-expert
Command: npx skills add https://github.com/svssdeva/agentic-skills --skill typescript-expert-svssdeva

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you diagnose and resolve hard TypeScript problems, including type-system failures, module-resolution mysteries, and performance bottlenecks in real projects.

Core Features & Use Cases

  • Advanced Type-Level Programming Guidance: Branded types, conditional types, inference patterns, and safer recursion limits for complex utilities.
  • Type Checking & Build Performance Fixes: Methods to troubleshoot slow tsc, reduce excessive instantiation depth, and tune monorepo project references.
  • Migration and Tooling Decision Support: Practical strategies for JS→TS migration, and guidance on modern tooling choices like Biome vs ESLint and Vitest type testing.
  • Robust Validation Approach: Uses fast one-shot commands (typecheck/test/build when necessary) while avoiding long-running watch processes.

Quick Start

Use the TypeScript Expert skill to investigate why your project fails typechecking and produce a targeted, validated fix.

Frequently Asked Questions about TypeScript Expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix TypeScript type errors and module resolution failures?

Resolve TypeScript type errors by running one-shot diagnostics via tsc to analyze your project setup, then apply targeted mitigation strategies like breaking circular dependencies or adjusting tsconfig module resolution settings.

Why does TypeScript compilation run so slowly and how can I optimize tsc performance?

TypeScript compilation runs slowly due to excessive instantiation depth or complex monorepo configurations; optimize tsc performance by reducing recursion depth, tuning project references, and adjusting tsconfig settings for faster builds.

What is the best way to migrate a JavaScript codebase to TypeScript?

The best way to migrate JavaScript to TypeScript involves analyzing your project setup, gradually introducing strict typing, and using practical migration strategies to ensure type safety without breaking existing functionality.

How do I resolve excessive instantiation depth and recursion limits in advanced TypeScript generics?

Resolve excessive instantiation depth in advanced TypeScript generics by applying safer recursion limits, utilizing conditional types and inference patterns, and reducing recursion depth in complex utility types.

Does this approach work for configuring TypeScript project references in a monorepo?

Yes, this approach works for monorepo configurations by tuning TypeScript project references, aligning tooling, and resolving compiler or build slowdowns specific to complex multi-package setups.

Should I use Biome or ESLint for TypeScript linting and tooling?

Choosing between Biome and ESLint for TypeScript tooling depends on your project requirements; both provide linting capabilities, but modern tooling decision support evaluates factors like performance and configuration complexity.