typescript-expert

Diagnose TypeScript type errors and optimize compile times in large codebases.

Updated Nov 15, 2025
One-click install
npx skills add https://github.com/geinala/entry --skill typescript-expert-geinala
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/geinala/entry/tree/main/.agents/skills/typescript-expert
Command: npx skills add https://github.com/geinala/entry --skill typescript-expert-geinala

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

TypeScript and JavaScript type-level challenges, performance bottlenecks, and architectural questions are solved by providing expert guidance and proven patterns.

Core Features & Use Cases

  • Deep type-level programming guidance for complex generics and type gymnastics
  • Performance optimization, build-time improvements, and migration strategies for large codebases
  • Monorepo planning, architecture decisions, and team onboarding for TypeScript projects

Quick Start

Diagnose and fix a complex TypeScript type error in a large monorepo by proposing an incremental, auditable plan.

Frequently Asked Questions about typescript-expert

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

FAQPage Schema
How do I fix complex TypeScript type errors in a large monorepo?

To fix complex TypeScript type errors in a monorepo, apply an incremental and auditable plan that diagnoses root causes. This approach enforces type safety and provides concrete patterns like branded types to resolve heavy generic conflicts.

What is the best way to optimize TypeScript compile times for heavy generics?

The best way to optimize TypeScript compile times is to refactor complex type-level computations into efficient utility types. This reduces build-time bottlenecks caused by heavy generics and simplifies conditional type inference.

How do I use branded types and conditional types for type safety?

You can use branded types and conditional types to enforce type safety by creating distinct nominal types within TypeScript's structural system. These patterns prevent primitive mixing and enable precise type filtering for complex architectures.

Can TypeScript architecture patterns help with team onboarding during a migration?

Yes, TypeScript architecture patterns facilitate team onboarding during migration by providing concrete type-level guidance and recommended tooling configurations. This ensures consistent type safety practices and reduces friction when navigating a large monorepo.

Why does TypeScript type gymnastics cause performance bottlenecks?

TypeScript type gymnastics causes performance bottlenecks because deep recursive conditional types and complex generics demand excessive compiler inference. Refactoring these into simpler utility types reduces the computational overhead during build-time.