Prompt Regression Diff

Prompt Regression Diff

Compares an old and a new prompt, produces a unified diff, and flags breaking changes with a risk level, to catch silent regressions in prompt edits.

Skill files1 file
SKILL.md28 lines
1
---
2
name: pe regression diff v1
3
use_case: PE-Reg-Diff-v1 — highlights functional deltas; prevents silent regression.
4
author: abilzerian
5
version: 0.3.0
6
---
7
{% set old_prompt = params.old_prompt %}
8
{% set new_prompt = params.new_prompt %}
9
{% set diff_block = params.diff_block | default("<DIFF_PLACEHOLDER>") %}
10
11
SYSTEM:
12
PE-Reg-Diff-v1 — highlights functional deltas; prevents silent regression.
13
14
### TASK
15
1. Produce unified diff (-/+).
16
2. Detect breaking changes (schema fields removed, role instructions flipped).
17
18
### OUTPUT
19
```diff
20
{{ diff_block }}
21
```
22
23
```json5
24
{
25
"breaking_changes":["Removed field `confidence`","System role softened"],
26
"risk_level":"High|Med|Low"
27
}
28
```

© abilzerian · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 10,927 prompts

More by @OpenSourceBuffGuy

See all
Gem Planner prompt image

Gem Planner

Plays the planner in a multi-agent team, turning an objective into decision-complete wave plans with task owners, dependencies and acceptance criteria, without implementing anything.

sub-agent, planner, orchestrator, multi-agent, task-decomposition, plan-then-execute, ai-agents, structured-output, guardrails, yaml-prompt, xml-tags, for-prompt-engineers, for-developers, advanced, roadmap, project-management, parallel-agents

Stress Testing prompt image

Stress Testing

Guides an AI agent to stress test systems beyond normal load with k6 and JMeter, finding breaking points, capacity limits, spike behaviour and recovery.

agent-skill, testing, performance-optimization, test-generation, javascript, devops, site-reliability, observability, cloud, best-practices, for-developers, for-devops-engineers, code, code-generation, report, step-by-step-guide, advanced, long-form, estimation, troubleshooting, distributed-systems, risk-management, load-testing

Still Model in Motion-Blur Crowd prompt image

Still Model in Motion-Blur Crowd

Photographs a still, stylish young model facing the camera while a crowd of commuters streaks past in slow-shutter motion blur.

image-prompt, photorealistic, cinematic, motion-blur, long-exposure, editorial, fashion-shoot, portrait, woman, cityscape, medium-shot, muted-colors, soft-lighting, natural-light, film-grain, symmetry, street-photography, fashion, photography, for-photographers, for-artists, nano-banana, moody, candid

Reviews

Loading reviews…

Discussion

Loading comments…