agentleFS
mejbaurbaharmejbaurbahar/fagun/skills/regression-testing/SKILL.md

regression-testing

Skill1 starsChanged 4 months agoMITView on GitHub

Use when validating that recent changes haven't broken existing functionality — building/running regression suites, deciding regression scope for a release, and impact analysis from a diff/changelog.

8 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't blindly re-run everything every time — scope by change impact:

    line 9
  2. Distinctive:

    Full regression: only for major releases, schema migrations, or dependency upgrades touching shared infra (auth libs, ORMs, framework …

    line 12
  3. Distinctive:

    Keep the suite fast enough to run every PR (smoke tier, minutes) with a separate nightly/pre-release full tier.

    line 17
  4. Distinctive:

    When a regression test fails:

    line 32

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “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 Testing

Scoping a regression pass

Don't blindly re-run everything every time — scope by change impact:

  1. Diff-driven scope: what files/modules changed? Trace which features depend on them (shared components, shared API endpoints, shared DB tables/migrations).
  2. Always-run core: checkout/payment, auth/login, and whatever the business calls its "money path" — regardless of whether the diff touches them, run these every release as a floor.
  3. Full regression only for major releases, schema migrations, or dependency upgrades touching shared infra (auth libs, ORMs, framework versions).

Building a regression suite

  • Promote flows from manual/exploratory testing into automation once they've been run manually 2-3 times and are stable — see [[test-automation]].
  • Tag tests by area/feature so partial regression runs are possible (@checkout, @auth, @admin).
  • Keep the suite fast enough to run every PR (smoke tier, minutes) with a separate nightly/pre-release full tier.

Common regression sources to specifically re-check

  • Shared components/design system changes — check every consumer, not just the one that prompted the change.
  • Database migrations — check both new-record behavior AND existing legacy-data behavior (old rows without new columns populated).
  • Dependency/library upgrades — check changelogs for breaking changes, not just "tests still pass" (tests may not cover the changed behavior).
  • Config/feature-flag changes — verify both flag-on and flag-off states still work, and that the flag actually gates what it claims to.

Running it via this harness

qa regression

Runs the harness's regression suite through the qa CLI dispatcher; results land in ~/qa-agent/reports/.

Triage discipline

When a regression test fails:

  1. Confirm it's a real regression (re-run once, rule out flakiness — see [[test-automation]] flaky-test triage) before filing.
  2. Bisect to the change that caused it if not obvious (git bisect, or compare against the last known-good deploy).
  3. File via [[bug-reporting]] with the specific commit/PR that introduced it if identifiable — this is the single most useful piece of info for a fast fix.

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.