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.
The 4‑Phase Roadmap
From complete novice to confident prompt engineer in six weeks.
🧠 Demystifying AI
Understand how LLMs work without the math — think of AI as an eager assistant with amnesia.
- Probabilistic text prediction
- Context & instruction importance
- Recognizing hallucinations
📐 Anatomy of a Great Prompt
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
⚡ Advanced Techniques
Move beyond basic Q&A with proven methods.
- Few‑Shot Prompting (examples)
- Chain‑of‑Thought (step‑by‑step)
- Constraint Setting (do / don’t)
🚀 Practical Applications
Apply everything to real‑world workflows.
- Summarize research papers
- Draft emails & brainstorm
- Write code & more
CREATE in Action
Six essential elements to structure every prompt you write.
Context
Who is the AI & what’s the background?
Role
What persona should the AI adopt?
Explicit Instructions
What exact steps or tasks?
Audience
Who is the final output for?
Tone
Professional, casual, academic…
Examples / Format
Bullets, table, JSON, etc.
Advanced Techniques
Optimize your prompts with these proven strategies.
Few‑Shot Prompting
Provide examples of desired inputs and outputs to guide the AI.
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.
"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.
"Summarize this article in 3 bullet points. Do not use jargon. Keep it under 200 words."
From Vague to Vivid
See the difference a structured prompt makes.
— 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."
"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."
"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!'"
Comments
Post a Comment