PluginBench
Skill
Pass
Audit score 90

typescript

pproenca/dot-skills

How to install typescript

npx skills add https://github.com/pproenca/dot-skills --skill typescript
Claude Code
Cursor
Windsurf
Cline
Full instructions (SKILL.md)

Source of truth, from pproenca/dot-skills.


name: typescript description: TypeScript performance, tsconfig, type errors, async patterns — triggered when the user asks to "optimize TypeScript performance", "speed up tsc compilation", "configure tsconfig.json", "fix type errors", "improve async patterns", or encounters TS errors (TS2322, TS2339, "is not assignable to"). Also triggers on .ts, .tsx, .d.ts file work involving type definitions, module organization, or memory management. Does NOT cover TypeScript basics, framework-specific patterns, or testing.

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

  1. Type System PerformanceCRITICAL
  2. Compiler ConfigurationCRITICAL
  3. Async PatternsHIGH
  4. Module OrganizationHIGH
  5. Type Safety PatternsMEDIUM-HIGH
  6. Memory ManagementMEDIUM
  7. Runtime OptimizationLOW-MEDIUM
  8. Advanced PatternsLOW

References

  1. https://github.com/microsoft/TypeScript/wiki/Performance
  2. https://www.typescriptlang.org/docs/handbook/
  3. https://v8.dev/blog
  4. https://nodejs.org/en/learn/diagnostics/memory

Related skills

More from pproenca/dot-skills and the wider catalog.

UIui-design logo

ui-design

pproenca/dot-skills

UI/UX and frontend design best practices guidelines (formerly frontend-design). This skill should be used when writing, reviewing, or designing frontend code to ensure accessibility, performance, and usability. Triggers on tasks involving HTML structure, CSS styling, responsive layouts, form design, animations, or accessibility improvements.

640 installsAudited
VIvitest logo

vitest

pproenca/dot-skills

Vitest testing framework patterns for test setup, async testing, mocking with vi.*, snapshots, and test performance (formerly test-vitest). This skill should be used when writing or debugging Vitest tests. This skill does NOT cover TDD methodology (use test-tdd skill), API mocking with MSW (use test-msw skill), or Jest-specific APIs.

1.1k installsAudited
WXwxt-browser-extensions logo

wxt-browser-extensions

pproenca/dot-skills

WXT browser extension performance optimization guidelines. This skill should be used when writing, reviewing, or refactoring WXT browser extension code to ensure optimal performance patterns. Triggers on tasks involving WXT, browser extensions, content scripts, service workers, messaging, and extension APIs.

759 installs
ZOzod logo

zod

pproenca/dot-skills

Zod schema validation best practices for type safety, parsing, and error handling.

3.8k installsAudited
POpowerpoint-ppt logo

powerpoint-ppt

practicalswan/agent-skills

PowerPoint (.pptx) manipulation via MCP server. Use for creating slides, formatting presentations, managing placeholders, adding images, applying templates, or extracting text from .pptx files.

861 installsAudited
WOword-document logo

word-document

practicalswan/agent-skills

Word (.docx) manipulation via MCP server. Use for reading, creating, editing, formatting Word documents including tables, footnotes, comments, images, headers, styles, and PDF conversion.

605 installsAudited