Deep dive · Jump here anytime when you want more on this idea
Four fields that keep output consistent
After this, you'll be able to design a reusable prompt with four fields: role, audience, format, and success criterion. The structure it produces stays consistent whether you run it this week or hand it to a colleague next month.
Before you start
Complete Working with Claude Code first. This lesson builds on writing precise, structured task descriptions for AI to execute reliably.
The idea
You've run the same prompt twice and gotten two completely different structures back. That's not random. It means the prompt is missing one of four fields that make output repeatable. Role tells the AI who is speaking and what expertise to assume. Audience tells it who the output is for and what they specifically care about. Format specifies structure, length, and tone exactly. Success criterion gives one testable definition of done you can verify in under 10 seconds.
Here is the before and after. A vague prompt like 'Write a summary of this article' returns a different structure every time. Sometimes short. Sometimes a listicle. Sometimes focused on facts. An engineered prompt with all four parts returns a consistent shape across runs, even when the input content changes.
Now try it with a task you do weekly. Fill in all four fields, paste it into Claude with a piece of real content, and run it a second time with different content to confirm the structure stays consistent.
Try it (8 min)
Watch out for
Paste this into Claude
I need to design a reusable prompt for [one task you do repeatedly, such as a weekly status update, client email, or design brief]. My role is [your job title or context (for example, 'a small business owner' or 'a teacher explaining this to 8th graders'); what expertise should the AI assume you have]. My audience is [describe who reads or uses this output and what they specifically care about; not just their title, but their concerns]. The format I need is [specify length, structure, bullet points vs paragraphs, tone; be as specific as possible]. What done looks like: [one measurable criterion you can verify is true without reading everything]. Write the best version of this prompt using those four inputs. Then tell me which of the four fields had the biggest impact on shaping your output and why.
What good looks like
When this breaks
You can now
Paste the completed prompt with a second, unrelated piece of content and confirm it produces the same structure and format as the first run without any prompt edits.
Key takeaways
Four fields make a prompt repeatable: role, audience, format, and success criterion. Any prompt missing one of the four works by luck, not by design.