AI Regression Testing Patterns
Implements automated regression testing strategies to catch systematic blind spots in AI-generated code and API routes.
This skill provides a specialized framework for preventing regressions in AI-driven development workflows, specifically addressing the phenomenon where the same model writes and reviews code, leading to recurring blind spots. It offers implementation patterns for high-speed, database-free sandbox API testing, automated bug-check workflows, and specific test cases for common AI errors like production/sandbox path inconsistencies and missing database SELECT clauses. By integrating these patterns, developers can ensure that once a bug is fixed by an AI, it remains fixed through rigorous, automated verification that bypasses the model's own cognitive biases.