agentleFS
jaktestowacjaktestowac/awesome-copilot-for-testers/skills/analyzing-regression-scope/SKILL.md

analyzing-regression-scope

Skill118 starsChanged 2 months agoMITView on GitHub

Analyzes diffs, changed files, hotfixes, and release candidates to identify where regression risk spreads and what must be retested first. Use when scoping retest after a change, reviewing QA impact for a pull request, or building a minimal confidence suite for release validation.

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Use this skill when the real question is not "how do we test everything?" but "what must we retest now, and why?" It is built for …

    line 10
  2. Distinctive:

    Unknown impact stays visible: - if propagation is unclear, log it as an open question instead of bluffing.

    line 27
  3. Distinctive:

    Use the best available source:

    line 33
  4. Distinctive:

    Use a practical three-level scale:

    line 54
  5. Very specific:

    Use ./resources/regression-scope-template.md when possible.

    line 80

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 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

Analyzing Regression Scope

Use this skill when the real question is not "how do we test everything?" but "what must we retest now, and why?" It is built for risk-aware retest planning after code changes, configuration shifts, dependency updates, or release packaging.

When to Use

  • analyze regression scope after a bug fix or feature change
  • decide what must be retested for a hotfix
  • prepare a release confidence suite from a diff or PR
  • explain QA impact of shared component or config changes
  • separate must-retest areas from nice-to-have regression coverage

Operating Principles

  • Change surface first - understand what changed before proposing retest coverage.
  • Risk spreads through dependencies - shared modules, auth, data mapping, and configuration often widen impact.
  • Direct is not the whole story - the changed file is only the start; adjacent behaviors matter too.
  • Small believable packs beat fake completeness - a focused confidence suite is better than a giant list nobody will execute.
  • Unknown impact stays visible - if propagation is unclear, log it as an open question instead of bluffing.

Workflow

Phase 0: Frame the input

Use the best available source:

  • changed files
  • a diff or PR summary
  • release notes
  • a hotfix description
  • a list of touched components or endpoints

Capture any known critical journeys, environments, or roles that matter.

Phase 1: Map the change surface

Break the change into four layers:

  1. Directly changed behavior - the feature, endpoint, or component that was edited
  2. Adjacent behavior - nearby flows that call, render, or depend on the changed surface
  3. Shared risk - utilities, configuration, auth, layout, data mapping, or common services reused elsewhere
  4. State and data risk - migrations, caching, permissions, synchronization, or environment-specific behavior

Phase 2: Classify retest risk

Use a practical three-level scale:

RiskUse when
HighDirect change on a critical path, shared core module, data integrity flow, auth, checkout, notifications, or high-traffic workflow
MediumIndirect dependency, shared helper, UI shell, validation logic, or meaningful edge-case exposure
LowIsolated change with narrow blast radius and no obvious shared-path impact

Phase 3: Build the regression pack

Organize the result into four buckets:

  • Must retest - confidence blockers; skipping these would be reckless
  • Should retest - meaningful adjacent coverage if time allows
  • Can sample - smoke-level checks instead of full retest
  • Can defer with caution - lower-impact items worth tracking, not necessarily executing now

For every important area, include:

  • why it is affected
  • what to retest
  • what data or environment setup is needed
  • whether the coverage should stay manual or move into automation later

Phase 4: Produce the report

Use ./resources/regression-scope-template.md when possible.

A strong report includes:

  • a short change summary
  • a risk-ranked regression table
  • a minimal confidence suite
  • explicit open questions and blind spots

Common Failure Modes

  • equating changed files with full regression scope
  • producing a huge retest list with no priority
  • ignoring shared components, config, or auth ripple effects
  • forgetting data setup or role-specific behavior
  • treating uncertainty as low risk without explanation

Resource Map

  • ./resources/regression-scope-template.md - structure for regression reports and confidence suites

Related Skills

  • designing-functional-tests - when the regression result should expand into manual scenarios or test cases
  • verifying-acceptance-criteria - when the question becomes whether the feature now meets its stated contract
  • requirements-test-coverage-mapper - when broader traceability matters more than tactical retest scope
  • code-review-advanced - when the regression assessment should be paired with code-level risk review

Definition of Done

This skill is complete when:

  • the change surface is explained clearly
  • high, medium, and low regression areas are separated
  • the must-retest pack is believable and prioritized
  • open questions and blind spots are explicit
  • the output can guide a tester or release lead immediately

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.