A Practical Rubric for Scoring Prompts Before You Ship Them
Prompts are quietly load-bearing code. Here is a scoring sheet that stops me from shipping ones that only work by accident.
Why prompts need the same scrutiny as code
I used to treat prompts as throwaway text: write something plausible, glance at a handful of outputs, ship it. The problem is that a prompt is a piece of logic with no type checker, no compiler, and a failure mode that is often fluent rather than loud. A bad function usually crashes. A bad prompt produces a confident, well-formatted, wrong answer, and nobody notices until it has already made a decision somewhere downstream.
The fix I have settled on is not a clever trick, it is a rubric: a short, fixed list of criteria I score every prompt against before it goes anywhere near production. The point of a rubric is not rigour for its own sake, it is that it forces me to test the prompt against situations I would not have thought to try if I were just eyeballing outputs. Five minutes against a checklist catches things that an afternoon of casual reading misses.
Below is the version I actually use, with five criteria. None of them are exotic. The value is entirely in applying them consistently, every time, rather than only when something has already gone wrong.
The five criteria, with worked examples
Clarity under ambiguity. Does the prompt specify format, scope, and edge cases, or does it leave the model to guess? Take a summarisation prompt that says 'summarise this customer email in two sentences'. It looks fine until an email arrives with no actual complaint in it, just a thank-you note. Does the prompt say what to do then? If not, score it low on clarity and add an explicit instruction for the empty or trivial case. A well-scored prompt enumerates its edge cases rather than assuming they will not occur.
Robustness to input variation. I test the same prompt against inputs that are shorter, longer, differently formatted, and slightly adversarial than my original examples. Say I have a prompt that extracts a shipping date from an email, and it works on ten clean examples with dates like '15th March'. I then throw in 'we will ship sometime next week' and 'shipped 3/4' with no year. If the prompt silently invents a date instead of flagging uncertainty, that is a robustness failure, and it is exactly the kind of thing that only surfaces when you deliberately go looking for messy inputs rather than curating clean ones.
Grounding and refusal behaviour. If the prompt asks the model to answer from a supplied document, does it correctly decline when the document does not contain the answer, or does it fabricate one anyway? I test this directly by handing the prompt a document that is obviously missing the relevant fact and checking whether it says so plainly. A prompt that scores well here will produce something like 'the document does not specify this' rather than a fluent guess dressed up as fact.
Failure legibility. When the prompt does fail, is the failure easy to spot downstream? A prompt that returns structured JSON with a confidence field or an explicit 'unknown' value is far easier to monitor than one that returns free text you have to parse with regex and hope for the best. I score this by asking: if this prompt starts failing silently in production, how long before anyone notices, and from what signal? If the honest answer is 'a customer complaint', that is a low score.
Cost and latency proportionality. A prompt that asks for a three-paragraph chain of reasoning to answer a yes-or-no question is wasting tokens and time for no measurable gain in accuracy. I check whether the verbosity of the instructions matches the actual difficulty of the task, because overengineered prompts are a real tax, not a free safety margin.

Scoring it properly, and why anecdote is not evidence
A rubric is only as good as the test set you run it against, and this is where most informal prompt evaluation quietly falls apart. If I write ten test cases myself and then tune the prompt until it passes all ten, I have not evaluated anything, I have overfit to my own imagination. The inputs I think to write are the easy ones, almost by definition, because I already understand the task well enough to generate them.
What works better is pulling a held-out sample of real inputs, ideally ones I did not look at while writing the prompt, and scoring against the rubric on that sample rather than on cases I invented. If I am iterating on the prompt itself, I keep a separate validation batch that I do not touch during development and only run once I think the prompt is finished, the same discipline I would apply to a model's train and test split. Using the same handful of examples for both writing and checking the prompt is a subtle form of leakage, and it produces the same false confidence that a leaky data split produces in any other evaluation.
Concretely, for a classification-style prompt sorting support tickets into categories, I would score each of maybe thirty held-out tickets against the five criteria, note where it fails and why, and look for patterns rather than treating each failure as independent. If six of eight failures involve tickets that mention two issues at once, that is not six separate bugs, it is one gap in the prompt's instructions about multi-topic inputs, and it needs one fix, not six patches.
The takeaway
None of these five criteria are individually sophisticated, and that is rather the point. A rubric's job is not to be clever, it is to be applied consistently so that the prompts I ship have actually been checked against ambiguity, messy inputs, missing information, silent failure, and wasted cost, rather than just against the three tidy examples I happened to try first. Write the rubric down, keep it short enough that you will actually use it, and run it against a held-out sample you did not write the prompt around. That combination catches more real problems than another hour of reading outputs and nodding along.
