✦ A Complete Guide

Prompt
Like a
Pro.

Most people are using AI wrong. Not because they're bad at it — but because no one taught them how. This guide changes that. Learn the best practices for prompting generative AI and unlock dramatically better results.

Start Learning →
prompt-lab.sh
# Bad prompt 😬
> "write me an email"
← vague, weak, forgettable

# Great prompt 🎯
> "Write a 3-sentence follow-up email
  to a client who missed our meeting.
  Tone: warm but professional."
← specific, context-rich,
   actionable results

# The difference is everything.

6 rules that will
transform your prompts

🎯

Be Specific

Vague prompts produce vague answers. The more detail you give, the more targeted and useful the response will be. Think of it like giving directions — "turn left at the oak tree" beats "go that way."

Clarity
🎭

Assign a Role

Tell the AI who to be. "You are an experienced nutritionist..." or "Act as a skeptical editor..." primes the model to answer from a specific perspective and expertise level.

Context
📐

Specify the Format

Tell the AI how you want the output. Bullet list? Numbered steps? A table? A 200-word paragraph? Specifying format saves time and makes the output immediately usable.

Structure
🗣️

Set the Tone

Professional, casual, witty, empathetic, blunt? Without tone guidance, the AI picks a default. Tell it the vibe and your output will match your audience.

Voice
🔁

Iterate & Refine

Prompting is a conversation, not a one-shot request. If the first response isn't perfect, follow up: "Make it shorter," "Add an example," or "Rewrite section 2 with more enthusiasm."

Dialogue
📚

Provide Context

Background information dramatically improves results. Share relevant facts, constraints, your audience, or what you've already tried. The AI can't read your mind — but it can read your prompt.

Background
Be Specific Assign a Role Specify Format Set the Tone Provide Context Iterate Often Give Examples Avoid Vagueness Be Specific Assign a Role Specify Format Set the Tone Provide Context Iterate Often Give Examples Avoid Vagueness

See the difference
in action

❌ Weak Prompt
Example 1 — Writing
"write me an email"
No context. No audience. No tone. No purpose. The AI has to guess everything — and usually guesses wrong.
Example 2 — Research
"tell me about climate change"
Too broad. You'll get a generic Wikipedia-style wall of text that doesn't serve any specific need.
Example 3 — Coding
"fix my code"
No code provided. No description of the bug. No language or goal specified. This prompt goes nowhere.
✅ Strong Prompt
Example 1 — Writing
"Write a 3-sentence follow-up email to a client who missed our Monday meeting. Use a warm but professional tone. Include a request to reschedule."
Clear purpose, specified format, defined tone, and a concrete action item. The AI can deliver exactly what's needed.
Example 2 — Research
"Summarize the 3 biggest causes of climate change for a high school audience. Use simple language and a bullet-point format."
Specific scope, defined audience, explicit format. The result is focused, accessible, and immediately usable.
Example 3 — Coding
"Here's my Python function that should return the sum of a list, but it always returns 0. [code block]. Identify the bug and explain it in plain English."
Code included, bug described, language specified, output format clarified. The AI can actually help now.

The perfect prompt
formula

Build every great prompt from these ingredients

ROLE Who should it be?
+
TASK What should it do?
+
CONTEXT What does it need to know?
+
FORMAT How should it respond?
+
TONE What's the vibe?
Example using the formula: [ROLE] You are a friendly fitness coach.
[TASK] Create a 4-week beginner workout plan.
[CONTEXT] The user is 30 years old, has no gym access, and has 30 minutes per day.
[FORMAT] Present it as a weekly table with exercises, sets, and reps.
[TONE] Be encouraging and motivating.

Before you hit send,
check this list

🎯

Did you state a clear goal?

The AI should be able to tell what a "successful" response looks like from your prompt alone.

👤

Is there a persona or role?

Assigning a role focuses the AI's expertise and frames the answer appropriately.

📏

Did you specify length/format?

Tell it if you want a paragraph, a list, a table, or a 500-word essay — don't leave it to chance.

🎨

Have you set a tone?

Formal, casual, humorous, empathetic — matching tone to your audience is often the difference between good and great.

🧠

Is the context complete?

Include any background the AI would need. Deadlines, audience, constraints, prior attempts — the more context, the better.

🔁

Ready to iterate?

Treat the first response as a draft. Be ready to follow up with refinements to get exactly what you need.