typescript-expert

Analyze TypeScript projects for type safety and build performance issues.

Updated Jan 9, 2025
One-click install
npx skills add https://github.com/baotoq/go-shortener --skill typescript-expert-baotoq
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/baotoq/go-shortener/tree/main/.agents/skills/typescript-expert
Command: npx skills add https://github.com/baotoq/go-shortener --skill typescript-expert-baotoq

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 architectural decisions.

Core Features & Use Cases

  • Advanced Type System Expertise: Solve intricate type-level programming problems, utilize conditional types, and implement branded types for robust domain modeling.
  • Performance Optimization: Diagnose and fix build and type-checking performance bottlenecks in large or complex projects.
  • Migration & Tooling: Guide migrations from JavaScript to TypeScript and advise on modern tooling choices like Biome, Nx, and Turborepo.
  • Use Case: Refactor a complex generic utility function to improve its type safety and performance, or diagnose why a large monorepo's TypeScript build is taking too long.

Quick Start

Use the typescript-expert skill to analyze the tsconfig.json file for potential performance improvements.

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 in a large monorepo?▼

Optimize TypeScript build performance by analyzing your tsconfig.json to diagnose type-checking bottlenecks and applying architectural best practices for large monorepos.

Why does my TypeScript type checking take so long?▼

TypeScript type checking takes long due to complex type gymnastics and inefficient configurations; analyzing the project structure and tsconfig helps identify and fix these bottlenecks.

How do I use conditional types and branded types for domain modeling in TypeScript?▼

Use conditional types and branded types in TypeScript to solve intricate type-level programming problems and achieve robust domain modeling with strict type safety.

What's the best way to migrate a JavaScript project to TypeScript?▼

Migrate a JavaScript project to TypeScript by following expert guidance on migration strategies and adopting modern tooling choices like Biome, Nx, or Turborepo.

Can I use Nx and Turborepo to manage TypeScript monorepo tooling?▼

Yes, you can use Nx and Turborepo to manage TypeScript monorepos, utilizing modern tooling to address complex architectural decisions and improve build performance.

How do I refactor complex generic utility functions for better type safety?▼

Refactor complex generic utility functions by applying advanced type system expertise to improve overall type safety and resolve build performance issues within your project.