Change to regression

From naodeng/awesome-qa-skills · View interactive version

Change to regression is an AI agent skill from the GitHub repository naodeng/awesome-qa-skills. Use this skill when you need pre-change regression guardrails or an explainable regression scope from a proposed or implemented change; triggers include change-to-regression, Change-to-Regression Workflow, and 编码前回归风险.

How to use this skill

Skill file

Change-to-Regression Workflow

When to Use

Use this Skill to derive regression guardrails before a proposed change or to select explainable regression scope after an implemented change.

Output Format Options

Default to Markdown. Before coding, return candidate guardrails and hypotheses; after coding, return a required/deferred/excluded regression table. If JSON is requested, preserve the prompt's separate facts, inferences, plans, execution states, and sources.

Core constraints

Compose existing specialist Skills without copying their analysis rules. Mark host installation UNKNOWN without evidence. A proposed change normally has no Diff/SHA; label pre-change impact as a hypothesis/candidate. Analyze post-change work from actual Diff/SHA evidence. Do not report plans or static analysis as executed results. Read-only by default; external writes require authorization.

How to Use

Read prompts/change-to-regression.md first; validate inputs, complete each stage, preserve sources, and return risk and handoff details. Use README.md for invocation examples and FAQ.

Reference Files

Before delivery

Common Pitfalls

Do not invent input, assume dependencies are installed, or present recommendations as execution or approval.

Best Practices

Before coding, state the proposed behavior and known constraints. After coding, provide exact base/head SHA, the full diff, test runtimes, and environment limits. After execution, attach its time, Commit, and run record.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.