TypeScript Best Practices
Verified Engineering Free
Generates TypeScript code following strict type-safety patterns: utility types, discriminated unions, branded types, module augmentation, and generics. Catches type-unsafe patterns in existing code and rewrites them with idiomatic alternatives. Covers TS 5.x features including const type parameters and variadic tuple types.
Install
gh skill install total-typescript/ts-reset Use Cases
- Audit an existing codebase for unsafe 'any' usage and replace with proper typed alternatives
- Generate a fully typed API client from an OpenAPI spec using discriminated unions
- Implement a branded type system to prevent ID mixups at compile time
Works With
claude-codecursorwindsurfcodex
Tags
#typescript#type-safety#generics#utility-types#strict#ts5
Machine-readable: /api/skills.json