
Typescript
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
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.allfor independent operations, andunknownoveranyin 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 -yInstalls 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
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Type System Performance | CRITICAL | type- |
| 2 | Compiler Configuration | CRITICAL | tscfg- |
| 3 | Async Patterns | HIGH | async- |
| 4 | Module Organization | HIGH | module- |
| 5 | Type Safety Patterns | MEDIUM-HIGH | safety- |
| 6 | Memory Management | MEDIUM | mem- |
| 7 | Runtime Optimization | LOW-MEDIUM | runtime- |
| 8 | Advanced Patterns | LOW | advanced- |
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- Code Simplifier1.6K
- Expo React Native Performance1.5K
- Nextjs1.2K
- Playwright1.2K
- Framer Motion1.2K
- Wxt Browser Extensions1.1K
- Tanstack Query983
- Msw910
- Clean Code869
- Terminal Ui866
- Ui Design836
- Typescript Refactor807
- React Refactor800
- Shadcn741
- Chrome Extension Ui739
- Chrome Extension735
- Shell713
- Tailwind665
- Refactor661
- Expo569
- React503
- Tailwind Responsive Ui480
- Tailwind Ui Refactor474
- Zustand462
Similar to Typescript
More Frontend & UI Code
ts-googlepproenca/dot-skills384 installsGoogle-derived TypeScript style guide with 45 prioritized rules for writing, reviewing, and refactoring code.
knip-deadcodepproenca/dot-skills404 installsStructured guide of 43 Knip dead code rules across eight prioritized categories for JavaScript and TypeScript projects.
js-performance-patternspatternsdev/skills716 installsJavaScript runtime performance patterns for hot paths, covering lookups, DOM batching, caching, and loop structure.
profiling-optimizationaj-geddes/useful-ai-prompts457 installsStructured profiling workflow covering CPU profiling, flame graphs, and benchmarking for performance bottlenecks.
react-performanceaffaan-m/ecc6.4K installsReact and Next.js performance rules grouped into 8 priority categories, from waterfalls to advanced patterns.
react-best-practicesmastra-ai/mastra2.8K installsAuthoritative React performance guide routing 27 rules across nine prioritized categories for writing and reviewing components.