This is one of those skills that catches you doing the thing you know you shouldn't do but do anyway. It pushes back when you're mocking too much or testing mock behavior instead of real code behavior. The core principle is simple: test what the code does, not what the mocks do. It activates when you're writing tests, adding mocks, or about to add test-only methods to your production code. Works best if you're already following TDD, and it pairs with bobmatnyc's separate TDD skill. Think of it as a linter for your testing habits rather than your code.
npx skills add https://github.com/bobmatnyc/claude-mpm-skills --skill testing-anti-patterns