What problem does it solve? TypeScript codebases often accumulate unsafe patterns like any types, unchecked type assertions, swallowed errors, and unvalidated external input. This Skill provides a concrete, numbered rule set (TS-01 through TS-25) that keeps code strictly typed, secure, and consistent when writing, reviewing, or refactoring TypeScript. ## Core Features & Use Cases - Strict Type Safety Enforcement: Bans any, @ts-ignore, and unnecessary as casts; promotes type guards, discriminated unions, satisfies, NoInfer, and exhaustiveness checks. - Error Handling & Security Rules: Mandates structured Result patterns, Zod validation at boundaries, environment variable validation at startup, and prevention of XSS, SQL injection, and secret leakage. - React & Modern Runtime Conventions: Covers event listener cleanup, context layering, using/await using resource management, and a baseline tsconfig.json strict configuration. - Use Case: When reviewing a pull request that casts an API response with as User, apply TS-02 to replace it with a type guard, and apply TS-17 to add Zod validation at the API boundary. ## Quick Start Review my TypeScript code and refactor it to comply with the strict type safety, error handling, and security rules.