typescript-expert

Analyze TypeScript projects for type-level programming, performance, and monorepo strategy.

43|8|Updated Jan 5, 2025
One-click install
npx skills add https://github.com/gracefullight/stock-checker --skill typescript-expert-gracefullight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/gracefullight/stock-checker/tree/main/.opencode/skills/typescript-expert
Command: npx skills add https://github.com/gracefullight/stock-checker --skill typescript-expert-gracefullight

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides expert TypeScript guidance for complex type systems, performance optimization, and scalable architecture decisions in large codebases.

Core Features & Use Cases

  • Advanced Type System Guidance: Branded types, conditional types, and type-safe APIs to prevent primitive obsession.
  • Performance & Monorepo Strategies: Build optimization, incremental compilation, and project references for scalable repos.
  • Migration & Modernization: ESModule migration, tooling upgrades, and migration planning across ecosystems.

Quick Start

Ask the TypeScript expert to audit a project or suggest optimization steps, for example: "Audit tsconfig.json for strictness and incremental performance and propose a plan."

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 performance and incremental compilation in a monorepo?

Optimize TypeScript monorepo performance by configuring project references and incremental compilation in tsconfig. This Skill audits your setup and proposes actionable steps to reduce build times.

What are branded types and how do they prevent primitive obsession in TypeScript?

Branded types in TypeScript are advanced type-level constructs that prevent primitive obsession by creating distinct, type-safe APIs. This Skill provides expert guidance and real-world examples for implementing them.

How do I migrate a TypeScript project to ESModules and upgrade tooling?

Migrate TypeScript projects to ESModules by following structured migration paths and tooling upgrades. This Skill analyzes your project configuration to propose concrete, actionable modernization steps.

Can I use TypeScript project references with Vitest, ESLint, and Biome?

Yes, TypeScript project references work with standard tooling like Vitest, ESLint, and Biome. This Skill leverages these tools to check configurations and propose optimization strategies.

What is the best way to audit tsconfig.json for strictness and build performance?

The best way to audit tsconfig.json is by checking strictness flags and incremental compilation settings. This Skill analyzes your project configuration and proposes a concrete optimization plan.

Why is my TypeScript conditional type causing compilation slowdowns?

Complex conditional types can cause TypeScript compilation slowdowns if not structured efficiently. This Skill analyzes type-level programming and provides performance optimization guidance.