typescript - TypeScript Strict Patterns and Best Practices
Enforces TypeScript strict patterns and best practices for type safety and maintainability.
Tags
Updated: 2026-02-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- enforce const object patterns
- flatten nested interfaces
- replace any with unknown
- apply utility types
- implement type guards
- manage type imports
Inputs
- TypeScript files (.ts/.tsx)
- project structure
- TypeScript configuration
Outputs
- modified TypeScript files
- type safety improvements
- code structure changes
Requirements
- TypeScript compiler
- Node.js environment
- file system access
