
Typescript
This is a compilation-focused performance guide with 45 rules split across type system optimization, compiler config, and async patterns. It's most useful when you're dealing with slow tsc builds or need to configure tsconfig.json properly. The categorization by priority (type system and compiler settings marked CRITICAL, async and modules HIGH) makes it easy to know what actually matters. What stands out is the specificity: exact impact metrics like "30-50% faster declaration emit" for explicit return types or "50-90% faster rebuilds" for incremental compilation. If you're hunting down why your TypeScript build is slow or trying to prevent common footguns like barrel imports or deeply nested generics, this gives you concrete rules with measurable outcomes rather than vague best practices.
- skills.sh installs
- 1.8K
- GitHub stars
- 222
- last updated
- Aug 21, 2026
Install
$ npx -y skills add pproenca/dot-skills --skill typescript --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/pproenca/dot-skills
- Categories
- Frontend Development, Testing & QA, Debugging
- 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
- Msw897
- Tanstack Query858
- Clean Code857
- Terminal Ui853
- Ui Design827
- Typescript Refactor799
- React Refactor791
- Chrome Extension Ui732
- Shadcn732
- Chrome Extension729
- Shell704
- Tailwind657
- Refactor651
- Expo561
- React496
- Tailwind Responsive Ui470
- Tailwind Ui Refactor467
- Zustand453