How do I write an AI prompt?
Give the assistant a goal, the information it should use and a clear description of the output. Add an example when format or tone matters. Test the prompt on an ordinary case and a case where information is missing.
Try it
- Write the task as a verb and an object.
- Add a small example of a good result.
- Tell the assistant how to handle missing facts.
Worked example
“Extract action items from these notes. Return owner, action and due date. Write ‘unassigned’ or ‘no date’ when the notes omit them.”
Check your result
Try the same prompt on notes with no decisions. An empty list can be the correct answer.