regression-case-author — Claude Code skill: setup and overview
regression-case-author is a Claude Code skill that turns reviewed product changes into portable regression test cases. It preserves concrete examples for future agent evaluations.
MIT ★ 529 updated 2026-11-17
npx skills add ShuaiMXu/happyhands --skill regression-case-author -a claude-codeWhat regression-case-author does
The tool converts reviewed changes into reusable regression cases for skills and evaluators. It records inputs and target outcomes while stripping sensitive credentials and isolated repository details. Ambiguities get logged directly in the test record.
The output contains structured evidence, observations, proposed revisions, and known limitations. If essential inputs or expert sign-offs are missing, the skill assigns the needs-evidence flag. It avoids fabricating Experience Score numbers or turning one-off project quirks into universal rules.
Each case verifies factual behavior rather than overall product value. Constructing a valid scenario requires before-and-after evidence, clear reasoning behind the decision, and explicit expected skill actions.
What it helps with
- turn reviewed product modifications into regression cases
- clean internal secrets and repository-specific data out of test suites
- flag missing verifications using the needs-evidence status
Example prompts for the agent
- Turn this product revision into a regression case for our skill
- Generate a regression scenario from this review, stripping sensitive keys
- Capture before-and-after evidence to test future model responses
How to install regression-case-author
1Skills CLI (Vercel)
npx skills add ShuaiMXu/happyhands --skill regression-case-author -a claude-code2Manually: put the files in place
~/.claude/skills/regression-case-author/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/regression-case-author/
1Skills CLI (Vercel)
npx skills add ShuaiMXu/happyhands --skill regression-case-author -a codex2Manually: put the files in place
.agents/skills/regression-case-author/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add ShuaiMXu/happyhands --skill regression-case-author -a cursor2Manually: put the files in place
.cursor/skills/regression-case-author/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install ShuaiMXu/happyhands skills/product-design/regression-case-author2Manually: put the files in place
.github/skills/regression-case-author/SKILL.md1Skills CLI (Vercel)
npx skills add ShuaiMXu/happyhands --skill regression-case-author -a gemini-cli2Platform CLI
gemini skills install https://github.com/ShuaiMXu/happyhands --path skills/product-design/regression-case-authorManually: put the files in place
.devin/skills/regression-case-author/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about regression-case-author
How to install regression-case-author in Claude Code?
Run npx skills add ShuaiMXu/happyhands --skill regression-case-author -a claude-code. The definition lands at ~/.claude/skills/regression-case-author/SKILL.md.
What does regression-case-author do?
It turns approved product updates into structured regression cases that test skill behavior against preserved real-world examples.
What evidence does regression-case-author require?
It needs before-and-after artifacts, the recorded decision with its rationale, and the expected skill behavior.
Source text
SKILL.md · MIT
--- name: regression-case-author description: "Convert a reviewed product change into a portable regression case for a skill or evaluator." --- # Regression Case Author Preserve real examples that future expertise versions must handle. ## Required evidence - before and after evidence - decision and reason - expected skill behavior ## Decisions - Store inputs and expected outcome - Remove secrets and project-only data - Record ambiguity explicitly ## Boundary A regression case tests behavior; it does not prove broad product value. Return structured evidence, findings, proposed updates and limitations. Use `needs-evidence` when required inputs or professional review are missing. Never invent an Experience Score or promote a project observation into a universal rule.
© ShuaiMXu · MIT · ShuaiMXu/happyhands