typescript-expert

Assist with TypeScript and JavaScript type-level programming and performance optimization.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/MuhamadAnang/wareflow-project --skill typescript-expert-muhamadanang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/MuhamadAnang/wareflow-project/tree/main/.agents/skills/typescript-expert
Command: npx skills add https://github.com/MuhamadAnang/wareflow-project --skill typescript-expert-muhamadanang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides expert-level assistance for complex TypeScript and JavaScript development challenges, including type-level programming, performance optimization, and migration strategies.

Core Features & Use Cases

  • Advanced Type System Expertise: Deep dives into conditional types, branded types, and type inference.
  • Performance Optimization: Strategies for improving type checking and build performance.
  • Real-World Problem Resolution: Solutions for common and complex TypeScript errors, module resolution issues, and migration paths.
  • Use Case: Debugging a deeply nested type error that is causing slow compilation times and understanding how to refactor it for better performance and maintainability.

Quick Start

Use the typescript-expert skill to analyze the tsconfig.json file for strictness and performance settings.

Frequently Asked Questions about typescript-expert

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

FAQPage Schema
How do I fix slow TypeScript compilation caused by complex type inference?

To fix slow TypeScript compilation, analyze your tsconfig.json for strictness settings and refactor deeply nested conditional types. This approach resolves type inference issues and improves build performance.

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

The best way to migrate JavaScript to TypeScript involves utilizing targeted migration strategies and module resolution fixes. This ensures a smooth transition while maintaining modern tooling compatibility.

How do you manage a monorepo with advanced TypeScript type-level programming?

Managing a TypeScript monorepo with advanced type-level programming requires architectural decisions that balance branded types and conditional types. This ensures maintainability across complex project structures.

Why does my TypeScript build fail with module resolution issues after migration?

TypeScript build failures with module resolution issues often stem from incorrect migration paths or tooling misconfigurations. Analyzing your project setup helps resolve these complex TypeScript errors.

Can I optimize TypeScript performance without removing conditional types?

Yes, you can optimize TypeScript performance without removing conditional types by refactoring type gymnastics and adjusting architectural decisions. This improves type checking speed while preserving type safety.