Skip to main content

Prompt Engineering Dashboard

Prompt Engineering Dashboard
Roadmap
0%
Part 1

The Prompt Engineering Roadmap

A structured 6-week journey from complete beginner to competent, creative prompt engineer. Click each phase to explore.

Core Concept: Understand how Large Language Models (LLMs) work without complex math.

Key Metaphor: Treat the AI not as a search engine or a human mind, but as an extremely well-read, highly eager assistant with amnesia who needs clear instructions and context for every new task.

Key Topics:

  • Probabilistic text prediction — think of it as autocomplete on steroids.
  • The importance of context and instructions — the AI has no memory between conversations unless you provide it.
  • Recognizing hallucinations and limitations — the AI can sound confident while being wrong.
Mental Models LLM Basics Hallucinations Context Window

Core Concept: A structured approach to writing prompts so you stop guessing and start engineering.

The CREATE framework gives you six elements to include in every prompt:

  • Context — Who is the AI, and what is the background situation?
  • Role — What persona should the AI adopt?
  • Explicit Instructions — What exact steps or tasks need to be performed?
  • Audience — Who is the final output for?
  • Tone — Professional, casual, academic, or persuasive?
  • Examples / Output Format — What should the response look like?

Navigate to the "CREATE Framework" section for an interactive deep-dive.

Core Concept: Move beyond basic Q&A to prompt optimization strategies.

  • Few-Shot Prompting — Provide a few examples of desired inputs and outputs to set a pattern.
  • Chain-of-Thought (CoT) Prompting — Instruct the AI to "think step-by-step" before answering to improve logic and accuracy.
  • Constraint Setting — Explicitly tell the AI what not to do (e.g., "Do not use jargon," "Keep it under 200 words").
Few-Shot Chain-of-Thought Constraints

Core Concept: Apply prompt engineering to real-world workflows.

Practical Applications:

  • Summarizing research papers
  • Drafting professional emails
  • Brainstorming and ideation
  • Writing and debugging code
  • Creating educational content
Capstone Project: Build a "Prompt Library" — a personal collection of refined, tested prompts for your specific professional or personal use cases. Use the Practice section to start building yours now.
Framework

The CREATE Framework

Click each letter to learn about that element. Together, they form a complete, professional prompt.

C
Context
Provide the background situation. What is happening? What has led to this request? The AI has no memory — you must set the scene every time.
R
Role
Assign a persona. "Act as a senior data scientist" or "You are a kindergarten teacher." This shapes vocabulary, depth, and perspective.
E
Explicit Instructions
Be precise about what to do. List steps. Number them. Ambiguity is the enemy of good output.
A
Audience
Who will read the final output? A CEO needs different language than a 5-year-old. Specify the reader.
T
Tone
Set the emotional register: professional, friendly, urgent, academic, humorous, persuasive, neutral.
E
Examples / Format
Show what good output looks like. Specify format: bullet points, table, JSON, essay, numbered list, email.
Tip: You don't always need all six elements for simple tasks, but for important or complex prompts, running through the CREATE checklist dramatically improves results.
Techniques

Advanced Techniques for Beginners

Three powerful strategies that elevate your prompts from basic to professional.

What is Few-Shot Prompting?

Instead of just describing what you want, you provide the AI with example input-output pairs so it can recognize the pattern and replicate it.

Sample Prompt:
Classify the sentiment of each review as Positive, Negative, or Neutral.

Review: "The food was amazing and the service was fast."
Sentiment: Positive

Review: "Terrible experience, waited 45 minutes for cold food."
Sentiment: Negative

Review: "It was okay, nothing special but not bad either."
Sentiment: Neutral

Review: "Absolutely loved the new update, works perfectly now!"
Sentiment:

Why it works: The examples teach the AI the exact classification pattern, format, and granularity you expect — far more reliable than just saying "classify the sentiment."

What is Chain-of-Thought Prompting?

By asking the AI to reason step-by-step before giving a final answer, you dramatically reduce errors in logic, math, and multi-step reasoning.

Without CoT (risky):
If a store sells apples for $2 each, but offers a 10% discount on purchases over $10, and John buys 6 apples, how much does he pay?
With CoT (reliable):
Calculate the total cost of 6 apples priced at $2 each, keeping in mind there is a 10% discount for purchases over $10. Think step-by-step before providing the final answer.
Expected CoT output: Step 1: 6 apples x $2 = $12. Step 2: $12 > $10, so discount applies. Step 3: 10% of $12 = $1.20. Step 4: $12 - $1.20 = $10.80.
What is Constraint Setting?

Explicitly telling the AI what not to do is often more powerful than telling it what to do. Constraints prevent unwanted behaviors.

Powerful constraint phrases:
  • "Do not use technical jargon. Explain as if to a 12-year-old."
  • "Keep the response under 200 words."
  • "Do not include an introduction or conclusion. Start directly with the answer."
  • "Only use information from the provided text. Do not add external knowledge."
  • "Do not use bullet points. Write in paragraph form."
  • "Respond in exactly 3 sentences."

Pro tip: Combine constraints with CREATE. The more specific your boundaries, the less the AI has to guess, and the more consistent your outputs become.

Part 2

Concrete Examples

See the transformation from vague, ineffective prompts to structured, high-quality ones. Click "Show Analysis" to understand why.

Example 1: The Rewrite Technique
Bad Prompt
Write an email about the meeting.
Good Prompt
Act as a project manager. Write a polite, concise follow-up email to a client named Sarah summarizing our Tuesday sync. Highlight three action items: (1) budget approval by Friday, (2) final asset delivery next Monday, and (3) scheduling our next review. Use bullet points for the action items and maintain an encouraging tone.

Problem with the bad prompt: It lacks context (what meeting?), audience (who is it to?), tone (formal? casual?), and specific details (what happened?). The AI has to guess everything, leading to generic output.

Why the good prompt works: It uses CREATE — Role (project manager), Audience (client Sarah), Explicit Instructions (summarize + 3 action items), Tone (polite, encouraging), and Format (bullet points). Every element is specified.

Example 2: Chain-of-Thought for Math
Without CoT
If a store sells apples for $2 each, but offers a 10% discount on purchases over $10, and John buys 6 apples, how much does he pay?
With CoT
Calculate the total cost of 6 apples priced at $2 each, keeping in mind there is a 10% discount for purchases over $10. Think step-by-step before providing the final answer.

Problem without CoT: LLMs can rush math and make arithmetic errors when they jump straight to the answer, especially with multi-step calculations involving conditions (the discount threshold).

Why CoT works: Forcing the model to lay out its intermediate steps (multiply, check threshold, calculate discount, subtract) drastically reduces calculation errors. Each step is simple enough to be accurate.

Example 3: Few-Shot for Tone Control
Vague Request
Rewrite this customer complaint into a nice response: "Your app is trash and logged me out."
Few-Shot Prompt
Rewrite the following customer feedback into a polite, professional support response. Follow the style of these examples: Example 1: Input: "Your app is trash and logged me out." Output: "We are very sorry for the frustration you experienced with the login issue. Let's look into this right away to get you back in." Example 2: Input: "I've been waiting 3 days for my refund and no one responds!" Output: "We sincerely apologize for the delay in processing your refund. This is not the experience we want for you, and we are escalating this immediately to ensure a resolution within 24 hours." Now rewrite this: Input: "Your product broke after one week, this is ridiculous!"

Problem with the vague request: "Nice" is subjective. The AI might be too casual, too formal, or miss the empathetic tone you actually want.

Why few-shot works: The two examples teach the AI the exact tone (apologetic, empathetic, action-oriented), structure (acknowledge, apologize, act), and level of formality. The third input gets transformed following the same pattern consistently.

Hands-On

Prompt Builder

Use the CREATE framework to build structured prompts. Try a preset or fill in the fields yourself.

Presets:
Your Generated Prompt

Your Prompt Library

Saved prompts are stored locally in your browser. Export them anytime.

Your library is empty. Generate and save a prompt above to get started.
Test Yourself

Prompt Engineering Quiz

Test your understanding of the concepts covered. Your best score is saved locally.

Question 1 of 6
0 out of 6

Comments