1---2name: regression-scope-analysis3description: Use this skill when you need to define risk-based regression scope after a change or release; triggers include regression scope analysis.4---5
6# Regression Scope Analysis
7
8## When to Use
9
10- Use this skill when you need to define regression boundaries and depth from change, dependencies, risk, and available capacity.
11- Use it to review an existing plan, result, or evidence set and produce actionable improvements.
12- Use it when context is incomplete but a bounded first pass is still valuable.
13
14## Output Format Options
15
16- Default to Markdown for review, execution, and incremental refinement.
17- When the user requests tables, CSV, JSON, or ticket fields, preserve risk, evidence, priority, and boundary information.
18- For machine-consumed output, confirm the schema, enums, and required fields first.
19
20## How to Use
21
221. Read and follow `prompts/regression-scope-analysis.md`, including its input contract, execution rules, minimum coverage, and output order.
232. Add only context that changes the decision: scope, environment, version, constraints, evidence, and success criteria.
243. Audit the input, then separate confirmed facts, working assumptions, and open questions.
254. Rank by risk and evidence strength, and produce an artifact that can be executed or reviewed directly.
265. If information is missing, deliver a bounded first pass and state which conclusions remain unsupported.
27
28## Reference Files
29
30- Always read `prompts/regression-scope-analysis.md`; it is the complete execution specification for this skill.
31- For evaluation or regression, read `evals/eval.yaml` and the relevant cases under `evals/cases/`.
32- Load `references/`, `examples/`, `scripts/`, or `output-formats.md` only when those directories exist and the task needs them.
33
34## Core Constraints
35
36- explain risk when reducing scope
37- do not default to full regression
38- define stop conditions and scope-expansion triggers
39- Never invent system behavior, fields, data, metrics, or root causes absent from the evidence.
40- Link important conclusions to evidence; mark unsupported conclusions as hypotheses with a verification method.
41- Explain priority using business impact, likelihood, or detectability.
42
43## Delivery Checklist
44
45- [ ] Covered: critical journeys, direct impact, transitive impact, platforms and roles, data migration, integrations, non-functional risk, residual gaps.
46- [ ] Separated facts, assumptions, gaps, and recommendations.
47- [ ] Gave high-risk items a priority, evidence basis, owner or next action.
48- [ ] Defined verifiable decision criteria instead of generic advice.
49- [ ] Performed no unauthorized production writes or destructive actions.
50
51## Common Pitfalls
52
53- Listing checks without preconditions, expected outcomes, or evidence.
54- Marking everything high priority and avoiding tradeoffs.
55- Substituting tool names or generic theory for domain reasoning.
56- Refusing incomplete input, or pretending incomplete evidence supports certainty.
57
58## Best Practices
59
60- Start with paths most likely to cause business loss, safety issues, or release blockage.
61- Reduce uncertainty through the smallest verifiable experiment and record reproduction conditions.
62- Make the artifact executable and independently reviewable by another engineer.