What problem does it solve?
Code reviews often miss critical test quality issues that lead to undetected regressions, including false confidence from vacuous tests, brittle tests that break on harmless refactors, and untested error paths that fail in production.
Core Features & Use Cases
- Test Coverage Gap Detection: Identifies untested branches in new code, missing edge case coverage for error paths, and behavioral changes with no corresponding test additions.
- False Confidence Flagging: Catches tests that only assert no errors are thrown, assert truthiness instead of specific values, or mock so heavily that they verify mock behavior instead of actual code functionality.
- Brittle Test Identification: Spots implementation-coupled tests that break during refactors when no behavior has changed, such as tests asserting exact mock call counts or testing private methods directly.
Use Case: When reviewing a PR that adds new error handling logic for an API call, this Skill will flag if no tests cover the error path, or if existing tests only mock the error throw instead of verifying the fallback behavior works correctly.
Quick Start
Use the testing-reviewer skill to evaluate the test coverage and quality of the code changes in the current pull request.