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
- Distinctive: line 10
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 …
- Distinctive: line 27
Unknown impact stays visible: - if propagation is unclear, log it as an open question instead of bluffing.
- Distinctive: line 33
Use the best available source:
- Distinctive: line 54
Use a practical three-level scale:
- Very specific: line 80
Use ./resources/regression-scope-template.md when possible.
≈ “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.
Files
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:
- Directly changed behavior - the feature, endpoint, or component that was edited
- Adjacent behavior - nearby flows that call, render, or depend on the changed surface
- Shared risk - utilities, configuration, auth, layout, data mapping, or common services reused elsewhere
- State and data risk - migrations, caching, permissions, synchronization, or environment-specific behavior
Phase 2: Classify retest risk
Use a practical three-level scale:
| Risk | Use when |
| High | Direct change on a critical path, shared core module, data integrity flow, auth, checkout, notifications, or high-traffic workflow |
| Medium | Indirect dependency, shared helper, UI shell, validation logic, or meaningful edge-case exposure |
| Low | Isolated 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 casesverifying-acceptance-criteria- when the question becomes whether the feature now meets its stated contractrequirements-test-coverage-mapper- when broader traceability matters more than tactical retest scopecode-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
In this repository51 other files it gives its agents.
- analyzing-quality-metricsSkill
- api-playwright-test-developerSkill
- assessing-comprehension-debtSkill
- assessing-release-readinessSkill
- attesting-manual-verificationSkill
- auditing-accessibilitySkill
- code-review-advancedSkill
- code-reviewSkill
- communicating-quality-findingsSkill
- creating-custom-agentsSkill
- creating-hooksSkill
- creating-instructionsSkill
- creating-orchestration-packsSkill
- creating-pluginsSkill
- creating-promptsSkill
- creating-skillsSkill
- deriving-a-quality-contractSkill
- designing-functional-testsSkill
- designing-test-dataSkill
- documenting-test-suitesSkill
- generating-quality-gate-workflowsSkill
- governing-quality-waiversSkill
- handling-sensitive-test-dataSkill
- migrating-tests-to-playwrightSkill
- mocking-network-and-timeSkill
- planning-exploratory-testingSkill
- prd-generatorSkill
- recording-change-intentSkill
- reporting-bugsSkill
- requirements-test-coverage-mapperSkill
- reviewing-ai-output-groundednessSkill
- running-visual-regression-testsSkill
- scoping-change-relevanceSkill
- static-code-analysis-typescriptSkill
- tech-debt-analysisSkill
- test-driven-development-quickSkill
- test-driven-developmentSkill
- testing-agent-skillsSkill
- testing-api-contractsSkill
- testing-application-securitySkill
- testing-llm-featuresSkill
- testing-llm-guardrailsSkill
- testing-performance-and-loadSkill
- tracing-requirements-to-codeSkill
- tracking-quality-trendsSkill
- unslop-answersSkill
- unslop-testsSkill
- verifying-acceptance-criteriaSkill
- verifying-change-coverageSkill
- writing-unit-tests-quickSkill
- writing-unit-testsSkill
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
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.

