Invariant Hunter TS

Audit TypeScript types for weak invariants — unnecessary casts, loose optionality, defensive `?.`/`??` masking missing guarantees, leaky discriminated unions, and runtime checks the type system should enforce. Use when: tightening domain models, reducing type assertions, increasing type coverage, reviewing discriminated unions, or establishing a type-safety baseline before refactoring.

skyosev Updated

File contents

skyosev/agent-skills/tree/main/hunter-party-ts/invariant-hunter-ts commit 49f28b5f0c

Frequently asked questions

npx skillmds@latest add skyosev/invariant-hunter-ts