| description | Use when reviewing code for logic errors, type-safety violations, null/undefined handling, off-by-one, race conditions, incorrect API usage, broken contracts, missing error handling, edge-case gaps, or state-management bugs. |
| when_to_use | Trigger for correctness code review: logic bugs, type mismatches, unchecked Optional/None/null, off-by-one errors, fencepost errors, integer overflow, floating-point comparison, TOCTOU races, data races, deadlocks, bare except, exception swallowing, missing re-raise, finally-with-return, return-type violations, invariant breaks, Liskov violations, mutable shared state, uninitialized variables, use-after-close, empty collections, boundary values, Unicode handling, timezone issues. |