typescript-strict
Installation
SKILL.md
TypeScript Strict Mode Enforcer
Ensure strict TypeScript practices and type safety across the Tetris codebase.
Core Principles
- No
anyTypes: Useunknownand type guards instead - No Type Assertions: Use type guards and narrowing
- No Non-null Assertions (
!): Use optional chaining and type guards - Result<T, E> Pattern: For game logic error handling
- Exhaustive Type Checking: Handle all union type cases