What problem does it solve? When an AI writes code and then reviews its own work, it carries the same assumptions into both steps, creating systematic blind spots where bugs survive multiple review rounds. This Skill provides testing patterns that mechanically catch AI-introduced regressions—especially sandbox/production path mismatches, SELECT clause omissions, and missing error rollbacks—without requiring a database. ## Core Features & Use Cases - Sandbox-Mode API Testing: Configure Vitest with Next.js App Router to test API routes against mock data with zero database dependencies, using a reusable NextRequest test helper. - Bug-Driven Regression Tests: Write tests only for bugs that were actually found, asserting API response contracts (required fields) rather than implementation details. - Bug-Check Workflow Integration: A structured command workflow that runs tests and builds before any AI code review, then proposes a regression test for every fix. - Use Case: After an AI assistant fixes a missing notification_settings field in a profile API, you add a regression test asserting the field exists in the response—so the same bug can never be reintroduced by a future AI edit. ## Quick Start Ask the AI to write a sandbox-mode regression test for the API route where the last bug was found, then run the test suite before any further code review.