Use this skill when an agent is reviewing prompt edits, prompt library changes, or saved model-output examples and needs a deterministic preflight before asking for human review.
Required Inputs
A JSON file containing regression cases.
Each case should include name, output, and optional expect.required, expect.forbidden, expect.tone, and notes.
Tools
Local filesystem read access.
Node.js 20 or newer.
No model API or network access is required.
Side-Effect Boundaries
This skill is read-only. It must not call model APIs, rewrite prompts, edit fixtures, create PR comments, or update issue trackers without explicit approval.
Workflow
Run npm run smoke to verify the bundled fixture.
Add or update local regression cases in the target project.
Run node bin/prompt-regression-skill.js <cases.json>.
Review failed cases and risk notes.
Include the report summary in the prompt PR or handoff.
Validation
Run:
npm run check
npm test
npm run smoke
1---2name: prompt-regression-skill3description: Prompt Regression Skill4metadata:5 source: https://skillmd.com/skills/rogerchappel/prompt-regression-skill6---7# Prompt Regression Skill89## When To Use1011Use this skill when an agent is reviewing prompt edits, prompt library changes, or saved model-output examples and needs a deterministic preflight before asking for human review.1213## Required Inputs1415- A JSON file containing regression cases.16- Each case should include `name`, `output`, and optional `expect.required`, `expect.forbidden`, `expect.tone`, and `notes`.1718## Tools1920- Local filesystem read access.21- Node.js 20 or newer.22- No model API or network access is required.2324## Side-Effect Boundaries2526This skill is read-only. It must not call model APIs, rewrite prompts, edit fixtures, create PR comments, or update issue trackers without explicit approval.2728## Workflow29301. Run `npm run smoke` to verify the bundled fixture.312. Add or update local regression cases in the target project.323. Run `node bin/prompt-regression-skill.js <cases.json>`.334. Review failed cases and risk notes.345. Include the report summary in the prompt PR or handoff.3536## Validation3738Run:3940```bash41npm run check42npm test43npm run smoke44```
Run npx get-skill add rogerchappel/prompt-regression-skill in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Prompt Regression Skill It is listed under AI & ML on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. Capability flags: executes scripts. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
rogerchappel (@rogerchappel) published this skill. Their other Agent Skills are listed on their SkillMD profile.