Prompt Engineering — Design, Test, Revise
The four-part triage prompt worked on the helmet email, so the owner switched it on for the whole inbox. By lunchtime it had filed "please fix my wheel and refund the broken bell" as repair and a spam newsletter as order. One good result had felt like proof. It was a sample of one.
The rule
Prompt engineering is design, test, revise — measured on real examples.
- Design — write a prompt with a clear purpose and all four parts.
- Test — run it on a set of realistic inputs where you already know the right answer.
- Revise — study the failures, change one thing, and test again.
The word engineering matters. A builder does not declare a bridge safe because one car crossed it. A prompt is judged the same way: by how often it succeeds across varied cases, including awkward ones.
A small test set for the triage prompt might look like this:
Email Expected
"My gears click on every hill." repair
"Where is order 4471?" order
"Please fix my wheel and refund the broken bell." refund
"Do you have parking for customers?" otherTwenty or thirty such rows, chosen to include the tricky cases, tell you more than any amount of rereading your own prompt.