What problem does it solve? When you add a new variant to a TypeScript discriminated union, existing switch statements that forget to handle it fail silently, causing bugs that only surface at runtime. This Skill ensures missing cases become compile-time type errors instead. ## Core Features & Use Cases - Never-Type Exhaustiveness Pattern: Uses an assertUnreachable(value: never) helper in the default case so TypeScript flags any unhandled union variant. - Compile-Time Detection of Missing Cases: Adding a new variant to a union immediately produces type errors at every switch statement that needs updating. - Return Type Enforcement Alternative: Explains how explicit return types with strictNullChecks can also enforce exhaustive handling. - Use Case: You add a Line variant to a Shape union used across a canvas rendering codebase. With this pattern, every drawShape-style switch that omits the line case fails to compile, pointing you to every location needing an update. ## Quick Start Add an assertUnreachable helper to my TypeScript switch statements on union types so missing cases become compile errors.