AI Regression Testing

0•

Prevents AI-induced coding regressions by automating sandbox API tests and identifying systematic blind spots in AI self-reviews.

This skill provides a robust framework for managing regressions in AI-assisted development environments. It addresses the 'AI blind spot' phenomenon—where an AI model fails to detect errors in code it authored—by implementing an automated testing strategy. The skill focuses on sandbox-mode API testing using Vitest and Next.js, ensuring environment consistency, and establishing a rigorous '/bug-check' workflow that mandates automated test passes and build success before any manual or AI-driven code review occurs.

Key Features

010 GitHub stars
02Bug-driven testing strategy focusing on high-risk areas rather than arbitrary coverage
03Detection patterns for common AI errors like SELECT clause omissions and environment mismatches
04Sandbox-mode API testing that eliminates database dependencies for faster execution
05Helpers for mocking Next.js App Router requests and response parsing
06Automated /bug-check workflow integration for pre-review verification

Use Cases

01Automating the detection of 'mechanical' errors that AI models consistently overlook during self-review
02Ensuring API response structures remain consistent after backend refactoring by AI agents
03Verifying that AI-generated fixes don't break secondary code paths (e.g., sandbox vs. production)