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 Skill4---5# Prompt Regression Skill67## When To Use89Use 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.1011## Required Inputs1213- A JSON file containing regression cases.14- Each case should include `name`, `output`, and optional `expect.required`, `expect.forbidden`, `expect.tone`, and `notes`.1516## Tools1718- Local filesystem read access.19- Node.js 20 or newer.20- No model API or network access is required.2122## Side-Effect Boundaries2324This skill is read-only. It must not call model APIs, rewrite prompts, edit fixtures, create PR comments, or update issue trackers without explicit approval.2526## Workflow27281. Run `npm run smoke` to verify the bundled fixture.292. Add or update local regression cases in the target project.303. Run `node bin/prompt-regression-skill.js <cases.json>`.314. Review failed cases and risk notes.325. Include the report summary in the prompt PR or handoff.3334## Validation3536Run:3738```bash39npm run check40npm test41npm run smoke42```
Run npx skillmds@latest 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. Capability flags: docs only. 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.