marius-townhouse/effective-typescript-skills

compiler-performance

Use when build times are slow. Use when optimizing TypeScript projects. Use when configuring project references. Use when dealing with large codebases. Use when improving IDE responsiveness.

First seen Feb 3, 2026

Installation

$ npx skills add marius-townhouse/effective-typescript-skills --skill compiler-performance

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from marius-townhouse/effective-typescript-skills · top by installs.

npx skills add marius-townhouse/effective-typescript-skills

Browse all from marius-townhouse/effective-typescript-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 5
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,433 B
  • docs SUMMARY.md 218 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 32 installs

SKILL.md

Pay Attention to Compiler Performance

Overview

TypeScript compilation can become slow in large projects. Monitor and optimize compiler performance using techniques like project references, proper tsconfig settings, and avoiding expensive type patterns. Fast compilation improves developer experience.

When to Use This Skill

  • Build times are slow
  • Optimizing TypeScript projects
  • Configuring project references
  • Working with large codebases
  • Improving IDE responsiveness

The Iron Rule

Monitor and optimize TypeScript performance. Use project references, avoid expensive type patterns, and keep compilation fast.

Performance Tips

// AVOID: Expensive recursive types
type DeepPartial<T> = T extends object
  ? { [K in keyof T]?: DeepPartial<T[K]> }
  : T;

// PREFER: Iterative approaches, project references
// Split large projects using project references
// tsconfig.json optimizations
{
  "compilerOptions": {
    "incremental": true,        // Incremental compilation
    "tsBuildInfoFile": ".tsbuildinfo"
  }
}

Reference

  • Effective TypeScript, 2nd Edition by Dan Vanderkam
  • Item 78: Pay Attention to Compiler Performance