lesson
30 min

Role, Task, Context, Format, Tone

The five elements that turn a vague request into a clear prompt.

What you will learn

By the end of this lesson, you can write a prompt that uses all five elements and explain what each one does.

A prompt is an instruction

A prompt is the instruction you give an AI tool. The clearer the instruction, the better the result. Vague in, vague out.

Every good prompt answers three questions:

  • Who are you talking to?
  • What do you want?
  • How should it look?

The five elements

ElementWhat it doesExample
RoleSets the point of view"You are a social media writer for a small food business."
TaskSays what you need done"Write three Instagram captions."
ContextGives background the AI cannot know"We are a family panadería on the West Side. Tamale orders open November 1."
FormatSays how the result should look"Each caption under 40 words. End with one call to action."
ToneSets the voice"Warm, proud, a little playful. Some Spanish is welcome."

You do not always need all five. But when a result disappoints you, the missing element is usually the reason.

Vague versus structured

Here is a vague prompt:

Write a post about our tamales.

The AI does not know who you are, who the post is for, or how long it should be. It guesses. Guesses sound generic.

Here is a structured prompt:

You are a social media writer for a small food business. Write three Instagram captions announcing holiday tamale pre-orders. We are a family panadería on San Antonio's West Side, open since 1987. Orders open November 1 and close December 20. Pickup only. Keep each caption under 40 words and end with "Order at the counter or call us." Tone: warm, proud, and a little playful. Spanish phrases are welcome.

Same tool. Very different result.

The judgment check

The AI wrote captions. Now you check them.

  • Are the dates and details right? AI can invent facts, like a delivery option you do not offer.
  • Does it sound like the owners? Read it out loud.
  • Is the Spanish correct and natural? If you are not sure, ask a fluent speaker. Do not trust the tool alone.

Build one yourself

Use the Prompt Lab below. Pick a real business or group you know in San Antonio. Fill in each element. Copy the prompt and try it in ChatGPT or Claude.

Prompt Lab

Write a prompt for three social posts for a real local business or group.

Who should the AI act as?

What exactly should it do?

What does it need to know?

What shape should the answer take?

How should it sound?

Your prompt

Act as a social media writer for a small San Antonio business.

Do not paste private details (full name, address, ID numbers) into any AI tool.

Try this: Run your prompt, then delete the Context line and run it again. Compare the two results. What got worse?

Save your best version in your Prompt Library. Write the date and the tool you used.