Skip to content
Back to skills

Regression Suite

BSecurity

Map test coverage to critical paths, find bugs lacking regression tests, flag coverage drift. Maintains regression-suite.md.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 14, 2026
testinggotesting

Works with

  • cli

Security analysis

B75/100
  • criticalImpersonates system messages to override safety constraints

Pro shows the line behind each finding and how to fix it

Scanned November 14, 2026

npx -y skills add SebastianLuser/claude-code-arcane --skill regression-suite --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Regression Suite?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Regression Suite
[![Security: B — Skills Directory](https://www.skillsdirectory.com/api/skills/sebastianluser-regression-suite/badge)](https://www.skillsdirectory.com/skills/sebastianluser-regression-suite)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: regression-suite
description: "Map test coverage to critical paths, find bugs lacking regression tests, flag coverage drift. Maintains regression-suite.md."
category: "testing"
argument-hint: "[update | audit | report]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Write, Edit
---

# Regression Suite

Ensures every bug fix has a regression test, the suite stays current, and coverage drift is detected. Maintains `tests/regression-suite.md` — a curated index of tests covering critical paths and known failures.

**When to run:** after fixing a bug, before a release, sprint close.

## Phase 1: Parse Arguments

| Mode | What |
|------|------|
| `update` | Scan new bug fixes this sprint, check for regression test presence, add to manifest |
| `audit` | Full audit of all GDD critical paths vs test coverage |
| `report` | Read-only status report (no writes) |
| No arg | `update` if sprint active, else `audit` |

## Phase 2: Load Context

- **Existing suite:** read `tests/regression-suite.md` — total tests, last updated, STALE/QUARANTINED. If absent → "will create one"
- **Test inventory:** glob `tests/unit/**/*_test.*`, `tests/integration/**/*_test.*`, `tests/regression/**/*`. Note system + filename
- **GDD critical paths** (audit mode): read `systems-index.md` → per MVP system read GDD Acceptance Criteria, Formulas, Edge Cases
- **Sprint context** (update mode): current sprint plan + completed stories
- **Closed bugs:** glob `production/qa/bugs/*.md`, filter Status: Closed/Fixed. Note system + regression test mention

## Phase 3: Map Coverage — Critical Paths (audit only)

Per GDD acceptance criterion, grep test directories for related tests:

| Status | Meaning |
|--------|---------|
| **COVERED** | Test targets this criterion's logic |
| **PARTIAL** | Test exists, doesn't cover all cases |
| **MISSING** | No test found |
| **EXEMPT** | Visual/Feel or UI — not automatable |

MISSING items on formulas/state machines → **HIGH PRIORITY** gap.

## Phase 4: Map Coverage — Fixed Bugs

Per closed bug: grep tests for bug ID or failure scenario.
- **HAS REGRESSION TEST** — test found
- **MISSING REGRESSION TEST** — flag as gap, suggest path `tests/unit/[system]/[bug-slug]_regression_test.[ext]`

## Phase 5: Detect Coverage Drift

- Stories completed with no test files
- New systems in systems-index since last update
- GDD sections revised since last update
- Suite last-updated >2 sprints ago → likely stale

## Phase 6: Generate Report + Manifest

**Report** (conversation): coverage tables (critical paths, bug regression, drift indicators), recommended new tests with priority.

**Manifest** (`tests/regression-suite.md`): last updated, total tests, coverage %, how to run, registered tests per system (table: file/function/covers/added), known gaps (priority/system/path/covers/reason), quarantined tests.

## Phase 7: Write Output

"May I write/update `tests/regression-suite.md`?"
- `update`: append new entries (never remove existing)
- `audit`: rewrite full manifest
- `report`: no writes

After writing: suggest creating HIGH priority missing tests, flag bugs without regression tests for next sprint, recommend `/regression-suite audit` if drift detected.

Verdict: **COMPLETE** (or **BLOCKED** if declined).

## Protocol

- Never remove existing tests from manifest without explicit approval
- Gaps are advisory, not blocking (except at release gate)
- Quarantine ≠ deletion — flaky tests go to `/test-flakiness`
- Always ask before writing

## Checklist

- [ ] Existing `tests/regression-suite.md` loaded (or creation acknowledged if absent)
- [ ] Critical paths from GDD acceptance criteria mapped to test coverage status
- [ ] Every closed bug fix has a corresponding regression test (or gap flagged)
- [ ] Flaky/quarantined tests identified and routed to `/test-flakiness`
- [ ] Manifest updated with new entries, coverage %, and last-updated date

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.