Invariant Hunter Py

Audit Python code for weak invariants — unnecessary casts, loose optionality, defensive None-checks masking missing guarantees, leaky tagged unions, error suppression, and runtime checks that the type system or construction boundaries should enforce. Use when: tightening post-construction guarantees, reducing type: ignore and cast() usage, reviewing dataclass/TypedDict optionality, auditing error-handling hygiene, or establishing a type-safety baseline before refactoring. Reports omit empty sections — no placeholder headings, empty tables, or negative statements like "no issues found".

skyosev Updated

File contents

skyosev/agent-skills/tree/main/hunter-party-py/invariant-hunter-py commit 3fb411f87d

Frequently asked questions

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