Enforces modern TypeScript best practices and type-safe patterns during development, review, and refactoring.
This skill equips Claude with a comprehensive set of modern TypeScript guidelines designed to maximize type safety and maintainability. It provides specific patterns for error handling using Result types, enforces strict compiler configurations, and offers structured project layout conventions. Whether building new modules or refactoring legacy code, this skill ensures the generated TypeScript is robust, avoids common anti-patterns like the 'any' type, and follows industry-standard security and asynchronous programming practices.
주요 기능
01Enforces maximum TypeScript strictness and compiler settings
02Identifies and replaces common anti-patterns like 'any' and implicit undefineds
03Supports secure coding practices including path sanitization and credential protection
040 GitHub stars
05Implements type-safe error handling patterns like Result types and discriminated unions
06Provides guidance on modular API design and feature-based project layouts
사용 사례
01Designing new system architectures with standardized folder structures and naming conventions
02Implementing robust, predictable error handling strategies that avoid control-flow exceptions
03Refactoring legacy JavaScript or loose TypeScript into strict, type-safe code