Master AI Prompt Engineering

🎯 Write Prompt – Master AI Prompt Engineering
Prompt Engineering 101

How to Write
Prompts That Actually Work

A complete visual roadmap for beginners — from mental models to advanced techniques like Chain-of-Thought and Few-Shot prompting.

4 Learning Phases
6 CREATE Elements
3 Key Techniques
6 Weeks to Mastery
Your Journey

The 4‑Phase Roadmap

From complete novice to confident prompt engineer in six weeks.

Phase 1 · Week 1

🧠 Demystifying AI

Mental Models & Foundations

Understand how LLMs work without the math — think of AI as an eager assistant with amnesia.

  • Probabilistic text prediction
  • Context & instruction importance
  • Recognizing hallucinations
💡 Key Metaphor: “Not a search engine, not a human mind — a well‑read, eager assistant who needs clear context for every task.”
Phase 2 · Weeks 2–3

📐 Anatomy of a Great Prompt

The CREATE Framework

A structured approach so you stop guessing and start crafting.

  • Context — background situation
  • Role — persona for the AI
  • Explicit Instructions — exact tasks
  • Audience — who is this for?
  • Tone — professional, casual, etc.
  • Examples / Output Format
Phase 3 · Weeks 4–5

⚡ Advanced Techniques

Optimization Strategies

Move beyond basic Q&A with proven methods.

  • Few‑Shot Prompting (examples)
  • Chain‑of‑Thought (step‑by‑step)
  • Constraint Setting (do / don’t)
Phase 4 · Week 6

🚀 Practical Applications

Capstone Project

Apply everything to real‑world workflows.

  • Summarize research papers
  • Draft emails & brainstorm
  • Write code & more
🎯 Capstone: Build your own “Prompt Library” or multi‑step chain for a personal or professional use case.
The Framework

CREATE in Action

Six essential elements to structure every prompt you write.

C

Context

Who is the AI & what’s the background?

R

Role

What persona should the AI adopt?

E

Explicit Instructions

What exact steps or tasks?

A

Audience

Who is the final output for?

T

Tone

Professional, casual, academic…

E

Examples / Format

Bullets, table, JSON, etc.

Level Up

Advanced Techniques

Optimize your prompts with these proven strategies.

📚

Few‑Shot Prompting

Provide examples of desired inputs and outputs to guide the AI.

▶ Example:
Input: "Your app is trash and logged me out."
Output: "We are very sorry for the frustration…"

Now rewrite: "I hate waiting two days for a reply!"
🧩

Chain‑of‑Thought (CoT)

Instruct the AI to “think step‑by‑step” for better logic & accuracy.

▶ Prompt:
"Calculate the total cost of 6 apples at $2 each, with a 10% discount over $10. Think step‑by‑step before giving the final answer."
🚧

Constraint Setting

Explicitly tell the AI what not to do.

▶ Example:
"Summarize this article in 3 bullet points. Do not use jargon. Keep it under 200 words."
Live Examples

From Vague to Vivid

See the difference a structured prompt makes.

✏️ Email Rewrite Before After
❌ Bad: "Write an email about the meeting."
— Lacks context, audience, tone, details.

✅ Good (CREATE):
"Act as a project manager. Write a polite, concise follow‑up email to client Sarah summarizing our Tuesday sync. Highlight 3 action items: (1) budget approval by Friday, (2) final asset delivery Monday, (3) schedule next review. Use bullet points and maintain an encouraging tone."
Structured prompts give the AI everything it needs — no guessing.
🧮 Math with CoT Step‑by‑Step
❌ Without CoT:
"If a store sells apples for $2 each, but offers 10% off over $10, and John buys 6 apples, how much does he pay?"
— LLMs may rush and make arithmetic errors.

✅ With CoT:
"Calculate the total cost of 6 apples at $2 each, with a 10% discount over $10. Think step‑by‑step before providing the final answer."
Forcing intermediate steps drastically reduces calculation errors.
🎯 Tone Control 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…'

Now rewrite this input:
'I hate waiting two days for a reply!'"
Examples teach the AI the desired tone and structure.
🧠

Chain‑of‑Thought in Action

Step‑by‑Step
1 John buys 6 apples at $2 each → subtotal = 6 × 2 = $12
2 Subtotal $12 is over $10, so a 10% discount applies.
3 Discount amount = 10% of $12 = $1.20
4 Final cost = $12 − $1.20 = $10.80
✅ Final Answer: John pays $10.80 for 6 apples after the discount.

Built with ❤️ for prompt engineers of all levels.
Master the art of talking to AI.

CREATE Framework 4 Phases 3 Techniques 6 Weeks
Copyright@LIB-AI - Based on the comprehensive Prompt Engineering curriculum for novices.

Comments