AI Regression Testing
Implements specialized regression testing strategies to catch systematic blind spots in AI-generated and reviewed code.
This skill addresses a critical flaw in AI-assisted development: the 'self-review blind spot' where the same model that writes code misses the same errors during review. It provides a robust framework for sandbox-mode API testing using Vitest and Next.js, allowing for fast, database-free validation. By focusing on contract-based testing and parity between sandbox and production environments, this skill ensures that AI-fixed bugs stay fixed and prevents common regressions like SELECT clause omissions and inconsistent logic paths across feature flags.
Key Features
01Strategies to detect and fix sandbox/production path mismatches
02API response contract validation to prevent SELECT clause omissions
03Regression test templates designed to grow organically with bug fixes
04Sandbox-mode API testing patterns for fast, DB-free validation
050 GitHub stars
06Automated bug-check workflows with mandatory test/build sequences
Use Cases
01Validating AI-modified API routes without complex database dependencies
02Automating code reviews to catch logical inconsistencies that AI models overlook
03Preventing the re-introduction of bugs in projects with multiple execution paths