typescript-type-expert

Diagnose advanced TypeScript type system errors and optimize type performance.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation --skill typescript-type-expert-mahamaneharouna9-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-type-expert
Source: https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation/tree/main/.opencode/skill/typescript-type
Command: npx skills add https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation --skill typescript-type-expert-mahamaneharouna9-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill tackles intricate challenges within the TypeScript type system, enabling developers to write more robust, maintainable, and performant code by resolving complex type-level programming issues.

Core Features & Use Cases

  • Advanced Type System Specialist: Handles complex generics, conditional types, template literals, and type inference.
  • Performance Optimization: Addresses type checking slowness and memory issues.
  • Use Case: Debugging a deeply nested recursive type that causes excessive compilation time or resolving subtle variance issues in a generic utility type.

Quick Start

Use the typescript-type-expert skill to help resolve a "Type instantiation is excessively deep and possibly infinite" error in my recursive type definition.

Frequently Asked Questions about typescript-type-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 and possibly infinite" error?

To fix this TypeScript error, the Skill diagnoses recursive type definitions causing excessive compilation time and refactors complex generics to resolve the deep type instantiation loop. It handles 18 advanced type system error patterns.

What is the best way to optimize TypeScript type checking performance for complex generics?

The best way to optimize TypeScript type checking performance is by restructuring complex generics and conditional types. This Skill resolves type checking slowness and memory issues by addressing intricate type-level programming problems.

How do I write advanced TypeScript conditional types and template literal types?

Writing advanced TypeScript conditional types and template literal types requires expert type inference strategies. This Skill provides specialized assistance for authoring utility types, brand types, and complex type-level programming logic.

Why does my TypeScript generic utility type have subtle variance issues?

TypeScript generic utility types have subtle variance issues due to incorrect type inference and conditional logic. This Skill resolves these intricate type system issues by debugging and correcting your complex type definitions.

Can I resolve TypeScript type-level programming issues without rewriting entire interfaces?

You can resolve TypeScript type-level programming issues without rewriting entire interfaces by targeting specific conditional types and recursive types. The Skill isolates and fixes complex type system errors while maintaining your original structure.