regression-test
Run and validate regression tests after changes to ensure no existing functionality is broken. Creates test execution report.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Run and validate regression tests after changes to ensure no existing functionality is broken. Creates test execution report.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate customized .claude/ harness framework with Fusion Architecture (GAN-inspired + Domain Specialists). TRIGGER when user wants to set up AI-assisted development structure, create a new project harness, add structure to existing projects, or mentions 'harness', 'scaffold', 'framework setup'. Supports all domains through template + dynamic generation.
Negotiates 'done' criteria between Generator, Evaluator, and architect-lead before implementation begins. Converts subjective goals into testable, gradable criteria with clear domain responsibilities.
Guided database migration workflow — from schema design to rollback documentation.
Production incident response workflow — triage, root cause analysis, and resolution.
Track, categorize, and prioritize technical debt across the codebase.
Save current progress with structured handoff artifact. Enables context reset for long-running tasks and session recovery.
| name | regression-test |
| description | Run and validate regression tests after changes to ensure no existing functionality is broken. Creates test execution report. |
| user-invocable | true |
You are facilitating the Regression Testing process. Your role is to run tests after changes and verify no existing functionality is broken.
Regression testing ensures:
IDENTIFY SCOPE -> PRE-CHECK -> RUN TESTS -> ANALYZE RESULTS -> REPORT -> FIX IF NEEDED
Before running tests:
Run test suites in order:
Unit Tests (fast, isolated)
Integration Tests (slower, connected)
E2E Tests (slowest, full stack)
For each test:
Generate test report with:
If tests fail:
# Regression Test Report
**Date**: [Date]
**Trigger**: [What triggered this test run]
**Scope**: [What tests were run]
---
## Summary
| Category | Total | Passed | Failed | Skipped |
|----------|-------|--------|--------|---------|
| Unit Tests | [n] | [n] | [n] | [n] |
| Integration Tests | [n] | [n] | [n] | [n] |
| E2E Tests | [n] | [n] | [n] | [n] |
| **Total** | [n] | [n] | [n] | [n] |
**Status**: PASS / FAIL
**Coverage**: [percentage]%
---
## Failed Tests
### [Test Name]
- **File**: [test file path]
- **Error**: [error message]
- **Cause**: [root cause analysis]
- **Action**: [Fix code / Update test / Known issue]
### [Test Name 2]
- **File**: [test file path]
- **Error**: [error message]
- **Cause**: [root cause analysis]
- **Action**: [Fix code / Update test / Known issue]
---
## Skipped Tests
| Test | Reason |
|------|--------|
| [Test name] | [Reason for skipping] |
---
## Coverage Metrics
| Domain | Coverage | Target | Status |
|--------|----------|--------|--------|
| Frontend | [%] | 80% | PASS/FAIL |
| Backend | [%] | 80% | PASS/FAIL |
| Database | [%] | 70% | PASS/FAIL |
---
## Recommendations
1. [Recommendation 1]
2. [Recommendation 2]
---
## Action Items
| Priority | Action | Assignee |
|----------|--------|----------|
| P1 | [Fix failed test] | [Agent] |
| P2 | [Add missing test] | [Agent] |
---
## Next Steps
- [ ] Fix failed tests
- [ ] Re-run regression
- [ ] Merge if all tests pass
# Unit tests
npm run test:unit
# Integration tests
npm run test:integration
# E2E tests
npm run test:e2e
# Coverage
npm run test:coverage
# Unit tests
pytest tests/unit
# Integration tests
pytest tests/integration
# Coverage
pytest --cov=src --cov-report=html
| Pattern | Likely Cause | Action |
|---|---|---|
| Assertion failed | Logic change | Check if change is intentional |
| Timeout | Performance issue | Investigate slow operation |
| Missing element | UI changed | Update selector or fix UI |
| Auth error | Auth change | Update test auth setup |
| DB error | Schema change | Update test fixtures |
| Domain | Minimum Target | Recommended |
|---|---|---|
| Frontend | 70% | 80% |
| Backend | 80% | 90% |
| Database | 70% | 75% |
| Critical Paths | 100% | 100% |
/regression-test
/regression-test [scope]
Example:
/regression-test
/regression-test backend
/regression-test src/frontend/components/