Ai Regression Testing
Regression testing patterns that catch AI blind spots, using sandbox-mode API tests without database dependencies.
- CCM score
- 79 of 100
- skills.sh installs
- 12.1K
- GitHub stars
- 312.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers Vitest setup for Next.js App Router, test request helpers, regression tests, and sandbox/production parity checks
- Includes a
/bug-checkcommand workflow that runsnpm run testandnpm run buildbefore any AI code review - Enforces mechanical test and build gates first, so type errors and regressions surface without relying on AI judgment
- Designed for teams using AI coding agents such as Claude Code, Cursor, or Codex on Next.js projects with a sandbox mode
Install
$ npx -y skills add affaan-m/ecc --skill ai-regression-testing -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
AI Regression Testing
Testing patterns specifically designed for AI-assisted development, where the same model writes code and reviews it — creating systematic blind spots that only automated tests can catch.
When to Activate
- AI agent (Claude Code, Cursor, Codex) has modified API routes or backend logic
- A bug was found and fixed — need to prevent re-introduction
- Project has a sandbox/mock mode that can be leveraged for DB-free testing
- Running
/bug-checkor similar review commands after code changes - Multiple code paths exist (sandbox vs production, feature flags, etc.)
The Core Problem
When an AI writes code and then reviews its own work, it carries the same assumptions into both steps. This creates a predictable failure pattern:
AI writes fix → AI reviews fix → AI says "looks correct" → Bug still exists
Real-world example (observed in production):
Fix 1: Added notification_settings to API response
→ Forgot to add it to the SELECT query
→ AI reviewed and missed it (same blind spot)
Fix 2: Added it to SELECT query
→ TypeScript build error (column not in generated types)
→ AI reviewed Fix 1 but didn't catch the SELECT issue
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Testing & QA, Frontend & UI Code
- First seen
- Jul 14, 2026
Questions
Does the ai-regression-testing skill help with AI-written code that keeps reintroducing the same bugs?
Yes, the ai-regression-testing skill targets regressions introduced when an AI writes code and then reviews its own work. It covers sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns for catching AI blind spots.
How do I install the ai-regression-testing skill?
Run npx -y skills add affaan-m/ecc --skill ai-regression-testing -y in your project. The skill then lets the agent write regression tests for API routes and check sandbox and production code paths for consistency.
Where does ai-regression-testing rank in the Testing & QA category?
The skill sits in the Testing & QA category and ranks in the top 50 on that category page. It sets itself apart by focusing on regression coverage for code an AI agent both wrote and reviewed, using a project's sandbox mode for fast database-free tests.
Which tools or setup does ai-regression-testing need?
The skill's examples use Vitest and Next.js App Router, with a sandbox or mock mode the project can switch on. Tests run through npm run test and npm run build as part of a bug-check workflow.
More from affaan-m/ecc
All 257- Browser Qa12.1K
- Design System12.1K
- Jira Integration12K
- Investor Outreach12K
- Documentation Lookup12K
- Remotion Video Creation12K
- Swift Actor Persistence12K
- Swift Protocol Di Testing12K
- Blueprint12K
- Git Workflow11.9K
- Foundation Models On Device11.9K
- Exa Search11.9K
- Swift Concurrency 6 211.9K
- Nestjs Patterns11.9K
- Data Scraper Agent11.9K
- Hexagonal Architecture11.9K
- Mcp Server Patterns11.9K
- Plankton Code Quality11.9K
- Fal Ai Media11.8K
- Visa Doc Translate11.8K
- Inventory Demand Planning11.8K
- Customs Trade Compliance11.8K
- Brand Voice11.8K
- Seo11.7K
Similar to Ai Regression Testing
More Testing & QAscoutqa-testgithub/awesome-copilot10K installsAutonomous AI exploratory testing of web apps via the ScoutQA CLI, run in parallel with background tracking.
regression-testingproffesor-for-testing/agentic-qe342 installsStrategic regression testing that selects tests by change impact and risk to speed feedback.
test-driven-developmentaddyosmani/agent-skills80.2K installsStructured red-green-refactor workflow that writes a failing test before any code change, including bug fixes.
ui-testbrowserbase/skills3.2K installsAI-powered adversarial UI testing that runs diff-driven or exploratory browser checks through the browse CLI.