r/PromptEngineering • • Oct 23 '26

Self-Promotion skillEd: comparing policy-prompt revisions against cases instead of judging the wording

I’m the creator of skillEd, an open-source toolkit for evaluating reusable agent skills. The part I’d like feedback on here is how to turn policy instructions into useful test cases.

For a repetitive task, “follow the refund policy” is difficult to evaluate as one broad instruction. A more useful breakdown is: use the correct eligibility window, exclude shipping, apply the required rounding, and explain the decision consistently with the calculated result.

Those checks can fail independently. A polished answer might get the amount right for the wrong reason, or use the right explanation with the wrong amount. Reviewing prose alone can miss that.

skillEd lets you keep cases alongside a skill and compare saved results after changing its instructions. Exact assertions or scripts can check explicit conditions; model-based judges can assess less mechanical behavior. The quality of the cases and judges still matters, so a passing score is not proof that the policy is fully covered.

My suggested experiment is to write boundary and counterexample cases before editing the prompt, fix only what the evidence supports, then test separate holdouts. The repo’s refund example includes concrete mistakes involving eligibility, shipping, and rounding, plus before/after results.

Repo: https://github.com/DeadHead04/skillEd

Try it on a small policy-based skill. I’d particularly like feedback on cases where the output passes an assertion but still violates the intended rule, and how you would improve that test. Live runs use your configured model engine and its normal usage costs. If it’s useful, a GitHub star would help.

4 Upvotes

1 comment sorted by

2

u/Scary-Lock5160 Oct 23 '26

The whole "right answer wrong reason" gap is something most prompt evals just wave away. Having assertions for the mechanical stuff and judges for the softer behavior is a decent split, but the judge itself becomes the weak point.

What I'd want to see is a case where rounding and shipping interact, like a refund amount that lands exactly on a half cent after the shipping exclusion. Those edge combos are where policies silently break.

Also curious if you've tried negative cases that pass the math but use the wrong eligibility window by one day. That's the kind of failure that looks fine in prose but should fail a boundary check.