AI Regression Testing for Claude Code
Automates regression testing and bug detection to catch systematic blind spots in AI-generated code and API routes.
This skill provides a specialized testing framework designed to eliminate the common 'blind spot' where an AI model misses errors in its own code review. By implementing sandbox-mode API testing with Vitest and Next.js, it ensures consistency between production and development environments, validates API contracts, and prevents the reintroduction of previously fixed bugs. It integrates seamlessly into a /bug-check workflow, combining automated testing, type checking, and AI-driven code review to maintain high code quality in AI-assisted development projects.
Key Features
01Sandbox-mode API testing for database-free validation
02Seamless integration with Vitest and Next.js App Router
03Automated regression test generation for discovered bugs
040 GitHub stars
05Structured /bug-check workflow combining unit tests and AI review
06Detection of AI-specific failure patterns like SELECT clause omissions
Use Cases
01Synchronizing sandbox and production environment response structures
02Preventing regression when an AI agent modifies complex API routes
03Validating database query results against TypeScript interface expectations