What problem does it solve?
Undetected type errors in production cause costly incidents and downtime, while manual type reviews are slow and inconsistent. This Skill automates strict static type checking across 7 mainstream languages to catch type violations at build time, before code reaches production.
Core Features & Use Cases
- Multi-language strict type checking: Enforces strict mode for TypeScript, Python, C#, Java, C, C++, and SQL with language-specific best practice configurations.
- Escape hatch auditing: Flags unjustified use of unsafe type casts, any types, and type ignore comments that bypass the type system.
- Domain type enforcement: Audits for primitive obsession (e.g., using raw strings for UserId or Cents) and enforces newtype/branded type patterns.
- Parse-don't-validate checks: Verifies that external input is parsed into refined types at system boundaries rather than validated lazily downstream.
- Exhaustiveness validation: Ensures all switch/match statements over discriminated unions handle every variant, preventing unhandled case bugs.
Use case: For a fintech application processing payments, this Skill catches mismatched OrderId and UserId types, missing payment status variants in switch statements, and unsafe JSON deserialization before deployment.
Quick Start
Use the type-checker skill to run a full strict-mode type analysis on your project's codebase and get a prioritized list of all type safety violations with suggested fixes.