Member-only story
Testing AI Prompts
Prompt 1 of 9, from yesterday’s piece on testing AI prompts:
“I want to build a proper test case for an AI prompt I’m using. Here is the prompt I want to test: [PASTE YOUR PROMPT HERE]. My use case is: [DESCRIBE WHAT YOU USE THIS PROMPT FOR, e.g. “writing LinkedIn posts for a B2B software company”]. My target output quality is: [DESCRIBE WHAT GOOD LOOKS LIKE, e.g. “under 200 words, no jargon, ends with a question, sounds like a person not a brand”]. Please produce a test case document with: 1. 5 input variations that cover the range of real scenarios I’d use this prompt for (from easy/typical to difficult/edge case) 2. For each input, a written description of what a passing output would look like 3. A list of 5 specific failure flags (things an output could do that would make it a fail regardless of other quality) 4. A scoring rubric with 4 criteria, each scored 1–5, that I can apply to any output from this prompt. Format the result so I can paste it into a document and reuse it.”
That builds the ruler. It doesn’t use it. Prompts 2 to 9 are the part that matters more: scoring a real output against your rubric, breaking the prompt on purpose with six adversarial inputs, running a blind A to B comparison before you commit to an edit, mining your own best outputs for criteria you never wrote down, and logging every version so a bad change is reversible.
The order isn’t arbitrary either. Build the test, then break it, then compare, then log it. Skip a step and you’re back to eyeballing outputs and calling it judgement.
More on that, in AI Prompt Hackers… https://masterwritingwithai.substack.com/p/9-prompts-to-test-score-and-stress









