What problem does it solve?
This Skill helps you implement, debug, review, and verify TypeScript/JavaScript work with consistent, strict-mode-friendly patterns so you reduce type bugs and runtime surprises.
Core Features & Use Cases
- Auto-detect TypeScript/JavaScript contexts: activates for .ts/.tsx/.js/.jsx/.mts/.cts files and common TypeScript config signals.
- Type-first design guidance: choose between
type vs interface, model errors via Result/discriminated unions, and apply narrowing and generics correctly.
- Runtime and tool selection: align Node.js vs Bun vs CLI/library strategies and recommend safer boundary validation (e.g., Zod).
- Quality checks for strict mode: enforce a production-grade
tsconfig approach and verification habits (zero any, boundary validation, no unsafe assertions).
Quick Start
Use the typescript skill to review your .ts/.tsx change and propose fixes that make your code pass strict TypeScript rules and improve error handling with a discriminated union or Result pattern.