Enforces strict type safety and high-performance patterns for modern TypeScript 5.9+ development and future-proofing.
This skill provides production-grade guidance for TypeScript 5.9 and beyond, focusing on strict compiler configurations, advanced type-level programming, and domain safety. It helps developers implement robust patterns like discriminated unions for state machines and branded types for primitive safety, while ensuring codebases are future-proofed for upcoming changes in TypeScript 6 and 7. Ideal for building type-safe APIs, migrating legacy JavaScript, and eliminating runtime errors through rigorous compile-time checks and type-aware linting.
主な機能
011 GitHub stars
02Advanced type modeling using discriminated unions and branded types
03Strict tsconfig optimization including noUncheckedIndexedAccess
04Type-safe boundary validation with Zod or Valibot integration
05Enhanced type inference using satisfies and const type parameters
06Future-proofing for TS 6/7 and --erasableSyntaxOnly compatibility
ユースケース
01Migrating a legacy JavaScript codebase to strict, production-ready TypeScript
02Implementing domain-driven design with branded types to prevent primitive obsession
03Designing type-safe SDKs or shared libraries with complex type hierarchies