Test a Claude prompt on new examples

Practice using a clear task, a useful demonstration, and a response shape you can evaluate.

Choose what the example teaches

A prompt benefits from an example when the distinction between acceptable and poor work is subtle. Name the behavior the example demonstrates, then specify the required fields so each result can be checked separately.

Anthropic’s example-based prompting guidance

Calibrate invoice feedback

‘Invoice A states 123 units, while the approved order states 120. Verify the unit count before payment.’ In the next case, invoice B states 54 units, its order states 54, and the delivery receipt states 50. Ask for an issue, evidence, and next action.

Check the expected application

The new result should flag the delivery quantity, cite the matching values for the invoice and order, and recommend reconciling the four-unit gap. The example teaches evidence-backed feedback, while the sample determines which evidence applies.

Check a case with no discrepancy

Set the delivery receipt to 54 and rerun. The answer should say no quantity mismatch was found and list the matched records. If it reuses the example’s three-unit difference, mark the example explicitly and separate it from task data.

Related reading

Claude is not a search engine

Output contracts make work usable

Ask, collaborate, delegate, execute, verify