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 review. This Skill provides testing patterns that mechanically catch AI-introduced regressions—especially sandbox/production path mismatches—without requiring a database. ## Core Features & Use Cases - Sandbox-Mode API Testing: Configure Vitest with Next.js App Router to test API routes with mocked sandbox mode, eliminating database dependencies. - Regression Test Patterns: Ready-to-use test templates for the most common AI regressions: SELECT clause omissions, sandbox/production response mismatches, error state leakage, and missing optimistic-update rollbacks. - Bug-Check Workflow Integration: A structured workflow that runs automated tests and builds before any AI code review, then writes a regression test for every bug fixed. - Use Case: After an AI assistant fixes an API bug, run the bug-check workflow; the test suite immediately flags if the fix was applied to the production path but forgotten in the sandbox path. ## Quick Start Ask the AI to write a sandbox-mode regression test for the API endpoint where a bug was just fixed, then run the test suite before any code review.