What problem does it solve? TypeScript codebases drift into unsafe patterns like any casts, non-null assertions, and loose tsconfig settings that silently defeat the type checker. This Skill provides a consistent set of strict typing conventions so the compiler actually catches bugs instead of being worked around. ## Core Features & Use Cases - Strict compiler configuration: Enforces strict: true plus high-value flags like noUncheckedIndexedAccess and exactOptionalPropertyTypes, with a shared base tsconfig that projects extend. - Type-driven data modeling: Guides use of discriminated unions, branded primitives, utility types, satisfies, and readonly-by-default patterns to make illegal states unrepresentable. - Boundary validation: Requires schema parsing (Zod or Valibot) at external boundaries instead of casts, and unknown narrowing instead of any. - Use Case: When writing a new API response handler, the Skill directs you to validate the payload with a Zod schema, take the inferred type, and model the result as a discriminated union rather than casting to an interface. ## Quick Start Load the typescript skill before writing or editing any .ts or .tsx file, together with the javascript baseline skill.