Prompt Engineering
Prompt Engineering
Master the art and science of communicating effectively with AI systems to unlock their full
potential and achieve consistent, high-quality results.
What We Will Cover Today
01 02 03
04 05 06
07
Hands-On Practice
Apply your skills across ChatGPT, Gemini, and Perplexity with guided exercises
What is a Prompt?
A prompt is your communication bridge to AI systems. It combines
clear instructions with essential context, relevant references, and
desired format specifications. Think of it as a recipe: the more
precise your ingredients and instructions, the more predictable Clear Instruction
and satisfying your results.
Specific task definition
References
Format
Vague Task
What aspect of branding? Strategy, design, messaging, or implementation? The instruction lacks specificity and
direction.
No Context
Is this for a blog post, presentation, academic paper, or social media? Without context, the AI can't calibrate
appropriately.
Missing Audience
Should this be written for beginners, experts, executives, or students? Audience determines tone and depth.
Undefined Format
How long should it be? What structure? Bullet points, paragraphs, or sections? Format shapes usability.
This prompt will likely produce generic, unfocused content that requires extensive revision. It wastes time and undermines AI's
potential to deliver value.
Successful Prompt Example
"Act as a marketing educator. Explain branding in 120 words for beginners. Include 2 examples + 1 analogy. Format: bullet points."
1 2
3 4
5 6
T — Task
Define the specific action you want the AI to perform
C — Context
Provide background, purpose, and situational information
R — Reference
Supply examples, style guides, or sample outputs
E — Evaluate
Review output quality, accuracy, and alignment with goals
I — Iterate
Refine your prompt based on evaluation to improve results
This framework transforms prompt writing from guesswork into a repeatable, professional process that scales across any AI application or use case.
Memory Hook
Thoughtfully
Approach each prompt with intention and careful consideration of your desired outcome
Create
Build your prompts systematically, incorporating all necessary elements for success
Really
Commit to excellence by investing effort into reference materials and examples
Excellent
Aim for outstanding results by critically evaluating outputs against high standards
Inputs
Remember that quality inputs directly determine the quality of your AI-generated outputs
Use this mnemonic device to recall the framework whenever you're crafting prompts. The more you practice, the more natural this approach becomes.
T-C-R-E-I Framework in Action
Here's how the framework transforms a vague request into a structured, effective prompt that delivers consistent, actionable results.
Task
1
Summarize customer reviews to identify key themes and sentiment patterns
Context
2
Analyzing 50 product reviews from the past month to inform product development decisions and marketing messaging
Reference
3 Follow this sample summary style: "Customers appreciate [positive themes]. Main concerns include [negative themes]. Suggestion: [action item]"
Evaluate
4
Check for clarity of themes, balanced representation of sentiment, and actionable structure that leadership can use immediately
Iterate
5
If output is too long, request "Shorten to 3 bullet points." If tone is off, ask to "Simplify language for non-technical stakeholders"
Notice how each element builds specificity, reducing ambiguity and increasing the likelihood of getting exactly what you need on the first attempt.
Effective Prompt Template
Use this reusable template as your starting point for any prompt. Fill in each section systematically to ensure comprehensive, well-structured instructions.
Replace "write" with "summarize," "analyze," "compare," or "explain." Specific verbs set clear expectations for the type
of output you need.
Specify who will read this and what tone is appropriate. "For executives" differs dramatically from "for high school
students."
Add Constraints
Define length limits (word count, character count), style requirements (formal, casual), and technical level (beginner,
advanced).
Provide Examples
Show the AI what "good" looks like. Even a single example dramatically improves output quality and alignment with
expectations.
For complex requests, decompose them into sequential steps. "First analyze, then summarize, finally recommend"
creates structure.
Ask for specific formats like numbered lists, tables with headers, or sections with headings. Structure makes outputs
immediately actionable.
Structured Output Examples
Structure transforms AI responses from walls of text into scannable, actionable formats. Choose the structure that best serves your purpose and audience.
• First key point• Second insight• Final recommendation Feature | Plan A | Plan BPrice | $10 | $20Storage | 5GB 1. Prepare materials2. Execute procedure3. Verify results
| 50GB
Headings JSON
Best for longer content requiring clear sections, topics, or When you need machine-readable output for technical
thematic organization. integration, data processing, or API consumption.
## OverviewContent here...## DetailsMore content... {"name": "value", "status": "active", "count": 42}
Refining Outputs
Even the best first attempts can be improved. Use these refinement prompts as follow-ups to transform good outputs into excellent ones. Think of refinement as a conversation where you guide the AI toward perfection.
Length Adjustment
Clarity Enhancement
Audience Recalibration
"Rewrite for beginners with no prior knowledge" or "Make more technical for experts"
Tone Modification
"Make tone professional and formal" or "Make more conversational and friendly"
Format Conversion
Why Refinement Matters "Convert to bullet points" or "Reformat as a comparison table with 3 columns"
Your initial prompt might produce 80% of what you need. Refinement closes that gap efficiently, teaching you what
adjustments produce which improvements. Over time, you'll need fewer iterations as you learn to anticipate requirements.
The Iteration Loop
Quality outputs rarely happen on the first try. Professional prompt engineers embrace iteration as the path to excellence. Each cycle teaches you something new about effective
prompting.
1. Draft 2. Generate
Create your initial prompt using the T-C-R-E-I framework Submit your prompt to the AI and receive the initial output
and best practices
6. Finalize 3. Evaluate
Once the output meets all requirements, save your Assess output quality, accuracy, completeness, tone, and
successful prompt for future use format against your goals
5. Regenerate 4. Improve
Apply your refinements and generate an improved version Identify specific gaps and craft targeted refinement
of the output prompts to address them
Pro Tip: Save your successful prompts in a personal library. Over time, you'll build a collection of proven templates that accelerate future work.
Prompt Troubleshooting
When AI outputs miss the mark, the problem usually lies in the prompt, not the AI. Use this diagnostic guide to identify and fix common issues quickly and systematically.
Increase Specificity
Vague verbs like "write about" produce vague outputs. Replace with precise verbs: "compare," "analyze," "summarize in 3 bullets."
Add Constraints
Without boundaries, AI makes assumptions. Specify length, tone, complexity level, format, and any content to avoid.
Include References/Examples
If output style misses expectations, show the AI what "good" looks like. A single example can dramatically improve alignment.
Most prompt problems trace back to one of these five issues. Develop the habit of checking each element when outputs disappoint.
Hands-On Exercise 1: ChatGPT
Objective: Distinguish Good Prompts from Bad Prompts
Access ChatGPT
Open ChatGPT Free version at [Link]. No account required for basic access, though creating one enables saving history.
Analyze Results
Review the four prompt examples ChatGPT generates. Identify specific elements that make the improved versions more effective.
Discussion Points
• What specific words or phrases distinguish good from bad prompts?
• Which elements of T-C-R-E-I appear in the improved versions?
• How do constraints and format specifications improve clarity?
Time allocation: 5-7 minutes. If working in groups, compare results and discuss patterns you notice across different examples.
Hands-On Exercise 2: Gemini
Objective: Apply the T-C-R-E-I Framework
This prompt lacks every element of effective prompting. Your job is to Define the exact action (explain, compare, create, analyze)
transform it using T-C-R-E-I principles into a comprehensive, professional-
grade instruction. Context
Reference
Constraints
Format
Access Gemini Free at [Link]. Test your improved prompt and evaluate whether the output meets professional standards. Iterate if needed.
Hands-On Exercise 3: Perplexity
Objective: Experience Grounded, Source-Cited Output
Access Perplexity
1
Navigate to [Link] and access the free version. Perplexity's unique capability is real-time web search and source citation.
Observe Grounding
3
Notice how Perplexity provides numbered citations linking to source websites. Click several citations to verify information accuracy.
Pro Insight: Grounded outputs are crucial for research, fact-checking, competitive analysis, and any scenario where accuracy and verifiability matter.
Hands-On Exercise 4: Refinement Practice
Objective: Master Output Refinement Across Any AI Tool
Choose any AI tool (ChatGPT, Gemini, or Perplexity) and select any output from the previous three exercises. Now practice the art of refinement through targeted follow-up
prompts.
Notice what gets eliminated and what remains See how word choice shapes perception.
essential. Observe how complexity affects accessibility.
Restructure Professionalize
Prompt: "Convert this to [bullet points/a comparison table/numbered steps]." Prompt: "Make this more professional and suitable for executive presentation."
Experience how format changes usability. Learn what "professional" means in practice.
Reflection: Which refinement technique had the biggest impact on output quality? How will you apply these refinement strategies in your daily work?