typescript-expert

Analyze TypeScript projects to optimize configuration, type safety, and build performance.

54|18|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/hainamchung/agent-assistant --skill typescript-expert-hainamchung
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/hainamchung/agent-assistant/tree/main/skills/typescript-expert
Command: npx skills add https://github.com/hainamchung/agent-assistant --skill typescript-expert-hainamchung

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

TypeScript and JavaScript deep expertise is captured to help teams design safer APIs, optimize performance, and manage complex monorepos with confidence.

Core Features & Use Cases

  • Advanced type-level programming guidance (brand types, mapped/types utilities) for safer APIs and expressive type systems.
  • Performance optimization strategies for large projects (incremental builds, skipLibCheck, project references, ESM/CJS interop).
  • Monorepo management, migration planning, and tooling decisions (Nx vs Turborepo, monorepo references, and migration strategies).

Quick Start

Analyze a TypeScript project and produce a prioritized plan to strengthen type safety, improve build times, and align tooling choices.

Frequently Asked Questions about typescript-expert

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

FAQPage Schema
How do I optimize TypeScript build performance for a large monorepo?

Optimize TypeScript build performance by configuring project references, enabling incremental compilation, and applying skipLibCheck to reduce redundant type checking across monorepo packages.

What's the best way to plan a TypeScript ESM and CJS migration?

Plan a TypeScript ESM and CJS migration by analyzing module resolution rules, updating tsconfig module settings, and resolving interop issues to ensure compatible package outputs.

How do TypeScript project references work for scaling monorepos?

TypeScript project references link separate package configurations to enforce dependency boundaries and enable faster incremental builds by only recompiling changed packages in the monorepo.

How can I use advanced type-level programming to design safer APIs?

Design safer APIs using advanced type-level programming techniques like brand types and mapped type utilities to enforce strict runtime constraints and expressive compile-time validation.

How do I choose between Nx and Turborepo for a TypeScript monorepo?

Choosing between Nx and Turborepo depends on your monorepo tooling needs: analyze project scale, caching requirements, and migration strategies to select the appropriate build system.

Why are my TypeScript monorepo references not compiling correctly?

TypeScript monorepo references fail when path aliases and project configurations mismatch, requiring strict tsconfig alignment and correct composite settings to restore incremental builds.