agentleFS
CaduS0uzaCaduS0uza/qa-supreme/skills/regression-curation/SKILL.md

regression-curation

Skill1 starsChanged 2 months agoMITView on GitHub

Keep a regression suite fast and meaningful — prune duplicates and zombies, tier tests by feedback loop, select tests by impacted code, and enforce a suite-time budget. Use when the suite is slow, when nobody trusts it, or before adding yet another test to a bloated suite.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Delete on sight, no ceremony:

    line 25
  2. Very specific:

    Test selection: run only what the diff can affect (vitest related, jest --changedSince, dependency-graph selection).

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Regression Curation

Suites die two deaths: too slow to run, or too noisy to believe. Both are curation failures, and both are reversible.

Tier by feedback loop

TierBudgetRunsContents
T0 smoke< 90severy pushbuild is alive (smoke-and-sanity)
T1 core< 8 minevery PRall P0 risks, unit + API, a handful of E2E journeys
T2 full< 40 minmerge to maineverything else, all browsers, all breakpoints
T3 deepnightlyscheduledsoak, load, mutation, full a11y, cross-browser matrix

A PR that waits 40 minutes for feedback gets merged without reading the result. Suite time is a quality feature: budget it, measure it, defend it.

Prune

Delete on sight, no ceremony:

  • Zombies — cover removed features and still pass (FP-21).
  • Duplicates — n tests that always fail together cover one behavior; keep the clearest.
  • Vacuous — everything on the false-positive-hunter P0 list. A deleted false positive is a net increase in suite trust.
  • Permanently skipped — a test skipped for more than a sprint is a lie in the report. Fix it or delete it; either way the pretense ends.
  • Redundant E2E — an E2E test whose assertion is fully covered by an API test. Push it down the pyramid; you keep the coverage and buy back minutes.

Record what you deleted and why in .qa-supreme/state.md. Deletion without a record reads as carelessness later.

Speed levers, in order of payoff

  1. Push coverage down a level (E2E -> API -> unit). Biggest win, always.
  2. Parallelize and shard (--shard=1/4), with per-worker data isolation.
  3. Reuse expensive setup: auth storageState, containers, migrated database per run.
  4. Test selection: run only what the diff can affect (vitest related, jest --changedSince, dependency-graph selection). Keep the full suite on main — selection is for the PR loop.
  5. Cache dependencies and browsers in CI before optimizing test code.

Guard the ratchet

Track suite duration per run and fail the build if T1 exceeds its budget. Same discipline as coverage-ratchet, applied to time — otherwise the budget erodes one test at a time.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.