Agent skill

regression-checker

Run full test suite to catch regressions after implementation changes. Auto-detects framework, reports pass/fail with counts. Use after code changes to verify nothing broke.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/nikhillinit/Updog_restore/tree/main/.claude/skills/regression-checker

SKILL.md

Regression Checker

Runs the existing test suite to ensure no regressions after implementation changes.

Purpose & Scope

  • Detect test framework (vitest in this project) and run full suite
  • Capture results for quality gates
  • Return PASS/FAIL with counts and failing test details
  • Never modifies tests -- only reports

When to Use

  • After any implementation change to verify no regressions
  • Before committing refactored code
  • As part of quality review workflow
  • After dependency updates

Workflow

Step 1: Detect Test Configuration

This project uses Vitest with two projects:

  • server - Node.js environment
  • client - jsdom environment

Configuration: vitest.config.ts at project root.

Step 2: Run Full Test Suite

bash
npm test

Do NOT run selective tests. Always run the full suite for regression checking.

Timeout: 5 minutes maximum. If tests hang, kill and report FAIL.

Step 3: Parse Results

Extract from Vitest output:

  • Total tests: from Tests X passed | Y failed (Z)
  • Test files: from Test Files X passed | Y failed (Z)
  • Failed tests: lines with FAIL status, including file and test name
  • Duration: total execution time

Step 4: Report Verdict

Format:

REGRESSION CHECK: [PASS|FAIL]
- Test files: X passed, Y failed (Z total)
- Tests: X passed, Y failed (Z total)
- Duration: Xs

If FAIL, include:

FAILING TESTS:
- [file path]: [test name] - [error summary]
- [file path]: [test name] - [error summary]

Critical Rules

  • No selective test runs - run full suite always
  • Do not fix tests - only report results
  • Do not modify code - only observe and report
  • Report ALL failures - not just the first one
  • Include error context - first line of error message for each failure

Project-Specific Notes

  • Server tests: npm test -- --project=server
  • Client tests: npm test -- --project=client
  • Quick mode (skip API tests): npm run test:quick
  • Full suite is preferred for regression checking

Integration

This skill feeds into:

  • baseline-governance skill (baseline comparison)
  • pre-commit-check command (quality gate)
  • deploy-check command (deployment validation)

Definition of Done

  • Full test suite executed (not selective)
  • Results parsed with pass/fail counts
  • Verdict produced (PASS or FAIL)
  • Failing tests listed with error context (if any)

Based on ln-514-regression-checker from levnikolaevich/claude-code-skills

Expand your agent's capabilities with these related and highly-rated skills.

nikhillinit/Updog_restore

financial-calc-correctness

0 0
Explore
nikhillinit/Updog_restore

statistical-testing

0 0
Explore
nikhillinit/Updog_restore

ui-ux-pro-max

UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.

0 0
Explore
nikhillinit/Updog_restore

code-reviewer

Comprehensive multi-AI code review system for Python, JavaScript, and TypeScript. Use when reviewing code for quality, security, performance, or best practices. Includes automated analysis scripts, language-specific patterns, and AI collaboration workflows for complex decisions.

0 0
Explore
nikhillinit/Updog_restore

dependency-guardian

Automated dependency management with security scanning, update orchestration, and compatibility validation

0 0
Explore
nikhillinit/Updog_restore

documentation-sync

Detects code/documentation drift, validates examples, generates diagrams, auto-updates documentation

0 0
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results