typescript-expert

Diagnose TypeScript project configurations and optimize type performance.

1|Updated Dec 29, 2024
One-click install
npx skills add https://github.com/mattolenik/GalactiCAD --skill typescript-expert-mattolenik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typescript-expert
Source: https://github.com/mattolenik/GalactiCAD/tree/main/.agents/skills/typescript-expert
Command: npx skills add https://github.com/mattolenik/GalactiCAD --skill typescript-expert-mattolenik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires typescript, tsc, eslint, prettier, vitest, webpack, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers resolve complex TypeScript issues, optimize their code, and implement best practices efficiently.

Core Features & Use Cases

  • Problem Diagnosis: Analyze project setups for configuration and performance bottlenecks.
  • Type System Mastery: Guide on advanced type patterns, inference techniques, and utility types.
  • Use Case: A developer faces slow compile times due to recursive types and needs expert advice to optimize typings and configuration for large monorepos.

Quick Start

Invoke the skill to get an overview of your TypeScript project's configuration, dependencies, and common pitfalls.

Frequently Asked Questions about typescript-expert

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

FAQPage Schema
How do I fix slow TypeScript compilation in a large monorepo?

Fix slow TypeScript compilation by analyzing project configurations for bottlenecks and optimizing recursive types. This skill diagnoses complex project setups to enhance compile performance and developer productivity.

What's the best way to migrate a large codebase to TypeScript?

Migrate a large codebase to TypeScript using structured migration strategies for scale. This skill provides expert guidance to transition codebases efficiently while maintaining type safety and code quality.

How do I resolve complex type inference issues in TypeScript?

Resolve complex type inference issues by mastering advanced type patterns and utility types. This skill guides developers through troubleshooting intricate type system behaviors to ensure code safety.

Can I use this to configure TypeScript tooling with ESLint and Prettier?

Yes, you can configure TypeScript tooling with ESLint and Prettier. This skill provides expert guidance on setting up dependencies like tsc, eslint, and prettier to optimize project workflows.

Why does my TypeScript project have performance bottlenecks?

TypeScript performance bottlenecks occur due to misconfigured project setups and recursive types. This skill analyzes project dependencies and configurations to identify and resolve these specific issues.

Does this work with Vitest and Webpack for TypeScript optimization?

Yes, this works with Vitest and Webpack for TypeScript optimization. The skill integrates dependencies like vitest and webpack to troubleshoot complex projects and enhance developer productivity.