What problem does it solve? Tests that pass but verify nothing (green-bar tests) give false confidence and hide real bugs. This Skill enforces a discipline where every test proves what the code does — transformations, side effects, and contracts — rather than what mocks return, and routes test work into the right workflow or agent. ## Core Features & Use Cases - Anti-green-bar lens: A per-test checklist that detects weak assertions (e.g. only toBeDefined()), mock-proving tests, and missing side-effect verification, with rules for distinguishing code bugs from test bugs. - Tool routing: Maps each situation (branch changes, coverage buildout, PR audits, legacy cleanup, one-off tests) to the right command (/test-plan, /test-write, /test-review, /test-fix, /test-coverage, /test-triage) or the test-engineer agent. - Stack patterns and templates: Ready-made Vitest patterns for API routes with mocked Prisma and auth guards, React Testing Library component tests, and complexity-tiered templates (simple, medium, complex, component). - Use Case: When asked to add tests for a modified API route, apply the lens to assert the route strips sensitive fields and shapes the response envelope — not just that mocked Prisma data comes back — then validate with npm test, npm run validate, and coverage gates. ## Quick Start Ask the AI to write or review Vitest tests for a specific file or branch using this testing skill's anti-green-bar checklist and patterns.