typescript - TypeScript Strict Patterns and Best Practices
Enforce TypeScript strict patterns and best practices in .ts/.tsx files
Tags
Updated: 2026-02-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Implement TypeScript types and interfaces
- Refactor TypeScript code
- Use const object patterns
- Create flat interfaces
- Avoid any type usage
- Apply utility types
- Implement type guards
- Import types correctly
Inputs
- TypeScript files (.ts/.tsx)
- Type definitions
- Interface definitions
- Generic code
- Const maps
- Type guards
- Any type usage
Outputs
- Modified TypeScript files
- Stricter type definitions
- Refactored code
- Removed any types
Requirements
- TypeScript environment
- Access to .ts/.tsx files
- Code editing permissions
- Node.js runtime
