/quality-gates:ai-regression-testingfrom quality-gates
Runs automated tests, reviews code for common agent blind spots (path parity, query completeness, error cleanup), and writes regression tests for each bug fixed.
Ships in quality-gates. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
When an agent writes code and then reviews it, it carries the same assumptions into both steps. Automated tests break this cycle.
/bug-check after a change sessionAgent writes fix → Agent reviews fix → Agent says "looks correct" → Bug still present
The most common blind spot: an agent fixes the production path but leaves the sandbox/mock path unchanged, or vice versa.
Run in order. Do not skip to agent review if automated steps fail.
npm test # or: pytest, cargo test, go test ./...
npm run build # TypeScript build / type check
With tests passing, do a focused review for patterns agents commonly miss:
For every bug found and fixed, add a test immediately:
Bug: <description>
File: <path>
Regression test: <test name and what it asserts>
If you cannot write a test, document why:
Bug: <description>
Regression test: DEFERRED — <reason> (e.g., requires E2E harness not yet in place)
Do not silently skip. Every real bug should either have a test or an explicit deferral note.
Test the contract, not the implementation:
// Test what the consumer receives, not how it's computed
const REQUIRED_RESPONSE_FIELDS = ["id", "email", "settings", "created_at"];
it("profile endpoint returns all required fields", async () => {
const res = await GET(createRequest("/api/user/profile"));
const json = await res.json();
for (const field of REQUIRED_RESPONSE_FIELDS) {
expect(json.data).toHaveProperty(field);
}
});
Name tests after the bug category, not the fix:
it("sandbox path returns same field set as production path (BUG-CLASS: path-parity)")
it("notification_settings is not undefined after SELECT * removal (regression)")
| Pattern | Check | Priority |
|---|---|---|
| Execution path parity | Same response shape across all paths | High |
| Query field omission | All response fields present in DB query | High |
| Error state leakage | State cleared before error is returned | Medium |
| Missing rollback | Previous state restored on API failure | Medium |
Do not aim for coverage percentage. Write tests only for bugs that were found. Bug clusters naturally: if three bugs appeared in /api/user/profile, that endpoint needs tests. An endpoint that has never had a bug does not need tests yet.
Tests added this way grow organically with the bug history and cannot be gamed by coverage metrics.
What SKILL.md sets; muted values are Claude Code's defaults
13 skills in this plugin
/change-impact-checkUse before submitting a PR or considering a task done to evaluate the blast radius of your changes -- you touched a public signature, a shared utility, a schema, or added config and need to know what else is affected./ci-failure-readoutUse when a CI pipeline has failed and the real error must be extracted from thousands of lines of noisy logs./gh-address-commentsAddress actionable GitHub pull request review feedback. Use when the user wants to inspect unresolved review threads, requested changes, or inline review comments on a PR, then implement selected fixes./pre-release-verificationUse when a release candidate needs final checks before tagging, publishing, or production deployment./prompt-evaluation-runnerUse when evaluating prompts, LLM outputs, red-team suites, or model behavior with local eval configs and safe provider/cost controls./receiving-code-reviewUse when receiving code review feedback, before implementing suggestions — requires technical verification and reasoned pushback, not performative agreement or blind implementation.npx claudepluginhub yeaight7/agent-powerups --plugin quality-gatesOther plugins' skills for the same job