New advertisers: 50% off your first month with code FIRSTMONTHSee slots

TypeScript performance guide covering 45 rules for tsconfig, type errors, async patterns, and modules, prioritized by impact.

skills.sh installs
1.8K
GitHub stars
227
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers 8 categories: type system performance, compiler configuration, async patterns, module organization, type safety, memory management, runtime optimization, and advanced patterns
  • Includes per-rule references for tsconfig options such as isolatedModules, incremental, skipLibCheck, and project references, each with an estimated speed impact
  • Enforces explicit return types on exported functions, Promise.all for independent operations, and unknown over any in type safety
  • Designed for automated refactoring and code review of performance and type-error issues, excluding TypeScript basics, framework patterns, and testing

Install

$ npx -y skills add pproenca/dot-skills --skill typescript -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

TypeScript Best Practices

Comprehensive performance optimization guide for TypeScript applications. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.

When to Apply

Reference these guidelines when:

  • Configuring tsconfig.json for a new or existing project
  • Writing complex type definitions or generics
  • Optimizing async/await patterns and data fetching
  • Organizing modules and managing imports
  • Reviewing code for compilation or runtime performance

Rule Categories by Priority

PriorityCategoryImpactPrefix
1Type System PerformanceCRITICALtype-
2Compiler ConfigurationCRITICALtscfg-
3Async PatternsHIGHasync-
4Module OrganizationHIGHmodule-
5Type Safety PatternsMEDIUM-HIGHsafety-
6Memory ManagementMEDIUMmem-
7Runtime OptimizationLOW-MEDIUMruntime-
8Advanced PatternsLOWadvanced-

Table of Contents

Details

Repository
github.com/pproenca/dot-skills
Categories
Frontend & UI Code, Code Review & Quality
First seen
May 16, 2026

More from pproenca/dot-skills

All 100

Similar to Typescript

More Frontend & UI Code