What problem does it solve?
It prevents fragile, hard-to-refactor TypeScript code by enforcing strict type modeling, safer type narrowing, and banning unsafe patterns like any.
Core Features & Use Cases
- Const object types: Creates single source of truth enums via const objects and extracted union types for better autocomplete and refactoring.
- Flat interfaces: Encourages predictable interface boundaries by separating nested objects into dedicated interfaces.
- No any + safer unknown: Forces validation-based parsing using unknown, with generics for reusable typing.
- Type utilities & guards: Provides a practical set of TypeScript utility types and type guard patterns for robust runtime-to-type linkage.
- Import type hygiene: Uses import type to keep type-only dependencies clean and intention-revealing.
Quick Start
Apply the typescript skill rules to your .ts/.tsx files to define const-based types, flat interfaces, type guards, and remove any in favor of unknown with validation.