Reverse-engineer a prompt from an output you liked
Separates what the prompt caused from what that one input caused, and names what will not reproduce.
| Category | Using AI › Writing prompts |
|---|---|
| Tags | AnalyzingRewritingDrafting |
I have an output I liked. **Work backwards to the prompt that would reproduce it.** 1. **Describe what the output actually is** — ***its structure, not its content.* **Sections, order, length per part, what each section does** 2. **Find the rules it follows**, ***including ones it follows silently*** — **what it never does, how it handles uncertainty, where it stops** 3. ***Separate what came from the prompt from what came from the input.*** **This is the hard part** — *a detail that looks like a prompt rule may just be a property of that one input* 4. **What made it good** — ***name it.* **"It was clear" is not a specification** **Then write the prompt:** - **Task, constraints, output shape, and what to do when information is missing** - ***Do not embed this output as an example*** unless the shape is the whole point — **and if you do, strip its specific values** - **Mark what I would need to confirm** by running it on a different input **Then:** ***what will not reproduce.* **Some of what I liked was this input, or luck. Say which parts those probably are.**
After pasting, fill in the fields at the bottom (The output I liked · What I put in)
What this prompt does
Reproducing a good output is hard because you cannot tell whether the quality came from the prompt or from that input. This extracts structure and rules, then separates the two.
More in this category
| 4 Optimized Versions of A Prompt (in Arabic) | |
| $500/Hour AI Consultant Prompt | |
| Adaptive Thinking Framework | |
| Agent Organization Expert | |
| AI Kickstart prompt |