aiwithgrant
about me
LESSON 3 OF 127 min read

Your First Effective Prompt

Your First Effective Prompt

Let's write a real prompt together using a simple framework that works every time.

The Role-Task-Format Framework

Every great prompt has three parts:

1. Role — Who should the AI be?

"You are an experienced copywriter..."

2. Task — What should it do?

"Write a product description for..."

3. Format — How should the output look?

"Use bullet points, keep it under 100 words..."

Example: Before and After

Before (vague):

text
Help me write an email

After (structured):

text
You are a professional email copywriter.

Write a follow-up email to a potential client who attended
our webinar on AI automation but hasn't responded to our
initial outreach.

Tone: Friendly but professional
Length: Under 150 words
Include: A clear call-to-action to book a 15-minute call

The Difference

The second prompt gives the AI:

A clear role (professional email copywriter)
Specific context (follow-up, webinar attendee, no response)
Constraints (tone, length, CTA)

Putting It All Together

Here's a complete prompt using the Role-Task-Format framework:

text
Role: You are a senior UX writer at a SaaS company.

Task: Write 5 variations of an error message for when a
user's payment fails during checkout.

Format:
- Each variation should be 1-2 sentences
- Include a suggested action the user can take
- Tone: Empathetic, not robotic
- Avoid: Technical jargon, blame language

Try It Yourself

Pick a task you actually need done. Structure it using Role-Task-Format. Notice how the output quality jumps immediately.

Pro Tips

Be explicit about what you DON'T want — "Don't use jargon" or "Avoid clichés"
Specify your audience — "Written for senior developers" vs "Written for beginners"
Set the length — Models tend to be verbose without constraints