What problem does it solve? Tests often verify mock behavior instead of real code behavior, pollute production classes with test-only methods, or mock dependencies without understanding their side effects, producing suites that pass while proving nothing. ## Core Features & Use Cases - Mock Behavior Detection: Identifies assertions that verify mock existence rather than real component behavior, with gate functions to stop the mistake before it ships. - Production Code Protection: Prevents test-only methods like cleanup helpers from being added to production classes, redirecting them to test utilities. - Dependency-Aware Mocking: Enforces understanding of side effects before mocking, requires complete mock structures mirroring real API responses, and flags over-complex mocks. - Use Case: While writing a test for a duplicate-server detection feature, you are about to mock the config-writing method the test depends on. The skill's gate function stops you, and you mock only the slow server startup instead, preserving the behavior under test. ## Quick Start Review my test file for testing anti-patterns such as asserting on mocks, test-only production methods, or incomplete mock responses.