Loading lesson…
Pro prompters follow a structure. Give the AI a role, set the context, show examples, set constraints, and pick a format. This framework alone 10x's your output quality.
Quick prompts work for quick tasks. But when you want something solid — a first draft of an essay, a piece of code, a study plan — you need structure. Most professional prompt engineers use some version of this five-part recipe.
| Part | What it does | Example phrase |
|---|---|---|
| Role | Sets the AI's persona and expertise | 'You are an experienced 8th-grade history tutor...' |
| Context | Tells the AI the situation | 'I'm preparing for a unit test on the American Revolution...' |
| Examples | Shows what good output looks like | 'Here's an example of the kind of study note I want: ...' |
| Constraints | Sets rules and limits | 'Keep each note under 50 words. Avoid jargon.' |
| Format | Defines the shape of the output | 'Output as a bulleted list with bolded terms.' |
You are a patient middle-school math tutor who loves real-world analogies.
I'm a 7th grader studying for a test on linear equations. I understand what a variable is but I struggle with word problems.
Here's the kind of hint I find helpful:
> 'Think of x as how many apples are in the bag — your job is to figure out what number makes the sentence true.'
Constraints:
- No solving the problem for me.
- Give one hint at a time.
- Use analogies, not algebra vocabulary.
Format your response as:
**Hint:** <one sentence>
**Try this:** <one guiding question>
Here's my problem: A bookstore sells paperbacks for $8 and hardcovers for $15. They sold 12 books total and made $128. How many of each did they sell?The five-part structure in action.Notice how every part has a job. The role puts the AI in tutor mode. The context tells it what you know. The example models the tone you want. The constraints stop it from spoiling the answer. The format makes the output scannable. You will get a wildly better response than 'help me with this math problem.'
When you tell the AI 'you are an experienced editor' or 'you are a skeptical scientist,' it shifts its whole voice. It pulls on different patterns from its training. This one line often changes the answer more than any other part of the prompt.
15 questions · take it digitally for instant feedback at tendril.neural-forge.io/learn/quiz/end-prompting-role-context-builders
What is the core idea behind "The Five-Part Prompt: Role, Context, Examples, Constraints, Format"?
Which term best describes a foundational idea in "The Five-Part Prompt: Role, Context, Examples, Constraints, Format"?
A learner studying The Five-Part Prompt: Role, Context, Examples, Constraints, Format would need to understand which concept?
Which of these is directly relevant to The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which of the following is a key point about The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which of these does NOT belong in a discussion of The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
What is the key insight about "You don't always need all five" in the context of The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
What is the recommended tip about "Level up your prompts" in the context of The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which statement accurately describes an aspect of The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
What does working with The Five-Part Prompt: Role, Context, Examples, Constraints, Format typically involve?
Which of the following is true about The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which best describes the scope of "The Five-Part Prompt: Role, Context, Examples, Constraints, Format"?
Which section heading best belongs in a lesson about The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which section heading best belongs in a lesson about The Five-Part Prompt: Role, Context, Examples, Constraints, Format?
Which of the following is a concept covered in The Five-Part Prompt: Role, Context, Examples, Constraints, Format?