Claude Prompting Masterclass

Learn to write, test, and improve Claude prompts with sample inputs, system instructions, and examples you can run in a chat.

Write a prompt and test it on two notes

Choose what Claude should extract

Suppose you send a weekly update and want open decisions to be easy to spot. Give Claude the texts of two notes and ask for the decision, the responsible person if named, and the open question. The lesson starts with input that you can check by hand.

Code
Extract the decision, owner, and open question for each note.
Use “unassigned” for an owner the note does not name.

A. Rowan will choose a date after the schedule is confirmed.
B. The budget was approved. Nobody has chosen an owner for tracking it.

Work out the expected response

Note A has a pending date choice and Rowan is the owner. Its open question is which date the confirmed schedule permits. Note B has an approved budget and an unassigned tracking owner. The result should preserve the difference between the decision being open and the next step being open.

Record those expectations before testing. If Claude assigns Rowan to both notes, ask for one output line per note and include the note labels. Change one part of the prompt and see whether the second answer still reads correctly.

Use examples when a rule is hard to explain

Add a third note where the approver and follow-up owner are different people. Write one example showing how the role labels should work. Then test a fourth note with new names. A good answer uses the same structure and takes the names from the new input.

These checks make it easier to decide whether you need a tighter task, clearer evidence, or an example. Use the lessons to practice each change on a different small problem.