Prompt Patterns
Reusable templates and structured output.
Professionals do not write every prompt from scratch. They keep templates, patterns that work, and fill in the blanks. In this lesson, you will learn four patterns you can use today, and how to get answers in clean, structured formats.

- Reusable prompt templates
- Structured output formats
- Patterns you can use today
Four patterns to remember
Here are four patterns. The persona pattern, act as an expert in a field. The audience pattern, explain this to a ten year old, or to a busy executive. The template pattern, fill in this exact structure. And the refinement pattern, ask me questions first, before you answer. Asking the model to question you, is a wonderful trick, because it uncovers the details you forgot to mention.
- Personaact as an expert in a field
- Audienceexplain it to a 10-year-old
- Templatefill in this exact structure
- Ask me firstinterview me before answering
Getting structured output
Often you need the answer in a specific shape. Ask for a table, with named columns. Ask for bullet points, no more than five. Ask for a number from one to ten, and nothing else. For software, ask for J S O N, a standard data format, with exact field names. Structured answers are easy to read, easy to compare, and easy for programs to use.
Asking for JSON
Here is a practical example. We ask the model to extract details from an email, and reply only with J S O N, using three fields, name, date, and topic. The model replies with a clean block, that a program could read directly. This is how A I gets connected to real software, turning messy text into tidy data.
Delimiters and clear structure
One more habit. Separate your instructions from your material. Use clear markers, like triple quotes, or headings, so the model knows which part is the text to work on, and which part is the instruction. This avoids confusion, and also helps protect against hidden instructions inside pasted text, which we will study in the safety section.
Confusing prompt
- Instructions and text mixed together
- Model may follow text as orders
- Hard for you to edit later
Clear prompt
- Instructions first, then a divider
- Material inside triple quotes
- Easy to read and reuse
Summary
Good work. Persona, audience, template, and ask me first, are four reusable patterns. Structured output, like tables and J S O N, makes answers easy to use. And clear separators keep instructions apart from material. Next, a workshop, where we improve real prompts, before and after.
Key takeaways- Persona, audience, template, ask-me-first
- Ask for tables or JSON when you need structure
- Separate instructions from material