typescript-strict

Installation
SKILL.md

TypeScript Strict Mode Enforcer

Ensure strict TypeScript practices and type safety across the Tetris codebase.

Core Principles

  1. No any Types: Use unknown and type guards instead
  2. No Type Assertions: Use type guards and narrowing
  3. No Non-null Assertions (!): Use optional chaining and type guards
  4. Result<T, E> Pattern: For game logic error handling
  5. Exhaustive Type Checking: Handle all union type cases

Type Safety Patterns

1. Replace any with unknown

Installs
7
First Seen
Jan 24, 2026
typescript-strict — sakataka/tetris-game2