What problem does it solve? When an AI coding assistant writes code and then reviews its own work, it carries the same assumptions into both steps, creating systematic blind spots where bugs survive review. This Skill provides testing patterns that mechanically catch these AI-introduced regressions, especially sandbox/production path mismatches and incomplete SELECT clauses. ## Core Features & Use Cases - Sandbox-Mode API Testing: Set up Vitest with Next.js App Router to test API routes without a database by forcing sandbox/mock mode via environment variables. - Bug-Driven Regression Tests: Write tests only for bugs that were actually found, asserting response contracts (required fields) rather than implementation details. - Bug-Check Workflow Integration: A structured workflow that runs tests and builds before any AI code review, then adds a regression test for every fix. - Use Case: After an AI assistant fixes a missing notification_settings field in a profile API, write a regression test asserting the field exists in the response so the same bug cannot be reintroduced on the fourth attempt. ## Quick Start Ask the AI to set up sandbox-mode Vitest regression tests for the API route where a bug was just fixed, asserting all required response fields are present.