typescript-expert

Assist with advanced TypeScript type-level programming and build performance optimization.

Updated Feb 27, 2026
One-click install
npx skills add https://github.com/ZJUxjy/opencode_lite --skill typescript-expert-zjuxjy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/ZJUxjy/opencode_lite/tree/main/skills/typescript-expert
Command: npx skills add https://github.com/ZJUxjy/opencode_lite --skill typescript-expert-zjuxjy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert assistance for complex TypeScript challenges, including type-level programming, performance optimization, and real-world problem-solving, ensuring robust and efficient code.

Core Features & Use Cases

  • Type System Expertise: Deep dives into advanced conditional types, branded types, and type inference.
  • Performance Optimization: Strategies for improving TypeScript build and type-checking performance.
  • Real-World Problem Resolution: Solutions for common and complex TypeScript errors and module resolution issues.
  • Migration & Monorepo Support: Guidance on migrating from JavaScript and managing monorepos with tools like Nx and Turborepo.
  • Use Case: Debugging a "Type instantiation is excessively deep" error by applying advanced type-level programming patterns or optimizing a slow TypeScript build in a large monorepo.

Quick Start

Ask the typescript-expert skill to explain how to use branded types for domain modeling in TypeScript.

Frequently Asked Questions about typescript-expert

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

FAQPage Schema
How do I fix a TypeScript "Type instantiation is excessively deep" error?

Resolve a TypeScript "Type instantiation is excessively deep" error by applying advanced type-level programming patterns to simplify complex conditional types and reduce recursive type inference depth. This Skill provides expert guidance for debugging such type resolution failures.

What is the best way to optimize TypeScript build performance in a large monorepo?

Optimize TypeScript build performance in a large monorepo by applying targeted type-checking strategies and module resolution configurations. This Skill offers expert assistance for resolving slow build times and improving project reference isolation using tools like Nx and Turborepo.

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

Use branded types for domain modeling in TypeScript to enforce strict nominal typing over primitive values. This Skill provides expert guidance on implementing advanced type system patterns to ensure robust domain-specific data validation and type safety.

Does this Skill support migrating JavaScript codebases to strict ESM TypeScript?

Yes, this Skill supports migrating JavaScript codebases to TypeScript with strictness and ESM adherence. It provides expert strategies for module resolution configurations and adopting current best practices during your migration process.

Can I get help with complex TypeScript generic patterns and type inference?

You can get help with complex TypeScript generic patterns and type inference through expert-level assistance. This Skill addresses advanced conditional types, type-level programming, and real-world error resolution to ensure robust type system design.