A complete guide infographic explaining AI Prompting with examples of perfect prompt formula, weak vs strong prompts, and how to refine with follow-up. It includes elements like Role, Task, Context, Format, and Tone.

AI Prompting: The Complete Guide to Perfect Commands

AI Prompting مکمل گائیڈ — کامل کمانڈز لکھنے کا فن

AI Prompting: The Complete Guide to Perfect Commands

AI prompting means giving AI clear, correct instructions — so you get exactly the response you actually need. Whether you’re using ChatGPT, Claude, or Gemini, the rules are the same: AI is an incredibly capable assistant, but if your instructions aren’t clear, it will just guess. In this guide, we’ll cover in plain language exactly how to write a perfect prompt.

💡 What Exactly Is a Prompt?

A prompt is the instruction or question you give an AI in writing. The clearer, more complete, and more detailed your prompt is, the better and more relevant the AI’s response will be.

Simple example: Imagine you hired a new employee who’s skilled but doesn’t know your preferences yet. Say “make food” and you’ll get anything. Say “make a mild chicken curry and rice for 4 people at 7pm” and you’ll get exactly what you wanted. AI works exactly the same way.

⚖️ The Difference Between a Weak and a Strong Prompt

See the difference in a real example:

❌ Weak Prompt
“Write an essay.”
AI has no idea what topic, how long, or for whom.
✅ Strong Prompt
“Write a 300-word essay about the benefits of AI in education for a Pakistani class 10 student. Use simple English, 3 paragraphs.”
You’ll get exactly what you needed.

🎯 The Perfect Prompt Formula

Remember this formula — it works every time:

Role + Task + Context + Format + Tone Role — give AI a persona: “You are an expert teacher”
Task — state the job: “Write this essay”
Context — add background: “For Pakistani class 10 students”
Format — specify shape: “300 words, 3 paragraphs”
Tone — set the voice: “Simple, friendly language”

Combine all five into one prompt: “You are an expert teacher. Write an essay about… for Pakistani class 10 students. 300 words, 3 paragraphs, simple friendly language.”

🌍 Turning Your Own Idea Into a Strong English Prompt

Follow these three simple steps:

  1. Get clear first: Decide in your own mind exactly what you need, for whom, what style, how long.
  2. Write it out plainly: “I need a formal letter in English for university admission, simple language, one page.”
  3. Turn it into a full prompt: Convert that same idea into a complete, detailed English prompt.
A useful secret: You can prompt AI in Urdu too — it understands Urdu fine. But a fully detailed English prompt generally gets you a more accurate response, especially for detailed or technical tasks.

🎭 How to Set the Tone

Just add these words to your prompt — they change the AI’s entire style:

OccasionTone Word
Formal letters, job applicationsformal, professional, official
Casual messagesfriendly, casual, conversational
For kids or beginnerssimple, easy, for beginners
Academic/research workacademic, scholarly, technical
Sales or persuasive contentpersuasive, compelling

More on PHL EDU

PHL EDU WITH AI: Empowering your future with free education, AI tools, LMS, and digital skill solutions

🎭 Giving AI a Role — the Secret to Better Answers

When you give AI a role, it starts thinking like that persona, and the response gets noticeably better.

❌ Without a role
“What medicine should I take for a headache?”
A generic answer
✅ With a role
“You are an experienced doctor. What should a patient consider before taking headache medicine? Explain simply.”
An expert, complete answer

🔄 When the Answer Isn’t Right — Refine With a Follow-up

No need to write a new prompt — use these phrases in the same conversation:

ProblemWhat to write
Too long“Make it shorter — only 100 words.”
Too complex“Explain this more simply, I’m a student.”
Need examples“Give me 3 real examples of this.”
Need it in Urdu“Now translate this to simple Urdu.”
Need a different format“Present this as a bullet point list.”

🖼️ Writing a Prompt for AI Image Generation

Image generation tools need far more descriptive prompts. Formula: Subject + Setting + Lighting/Mood + Style + Quality

Example: “A young Pakistani student studying at a desk with books, warm afternoon light through a window, peaceful bedroom setting, photorealistic, 4K quality”

📋 Ready-to-Use Prompts

TaskPrompt
Write an essay“Write a 300-word essay about [topic] for a Pakistani class 10 student. Simple English, 3 paragraphs.”
Urdu translation“Translate this to simple, everyday Urdu, keeping the meaning exact: [text]”
Fix grammar“Correct the grammar in this and explain each mistake simply: [text]”
Write a letter“Write a formal application letter in English. Reason: [reason]. Under 150 words.”
Build vocabulary“Give me 10 advanced English words about [topic] with meaning, Urdu translation, and an example sentence.”
Build a CV“Write a professional CV for a fresh Pakistani graduate in [field]. Include objective, education, skills.”
Make a study plan“Create a 4-week study plan for [exam], 2 hours a day, with topics and tips.”

⚠️ Prompting Mistakes to Avoid

  • Vague prompts: “Write something about Pakistan” — AI has no idea what to write.
  • Too many tasks in one prompt: Focus on one task at a time.
  • Sharing personal information: Never give AI your ID number, passwords, or bank details.
  • Blind trust: AI can be wrong — always verify important facts.
  • Copying the answer directly: Understand it and rewrite it in your own words, especially for academic work.

Key Prompting Terms

TermExplanation
PromptThe instruction or question given to AI
Prompt EngineeringThe skill of writing good prompts — now a real, in-demand skill
ContextBackground information that improves the response
ToneThe writing style — formal, friendly, etc.
Role / PersonaThe character given to AI, which shapes its answer
RefineImproving a response with a follow-up
OutputThe response AI gives back
Chain of ThoughtGetting AI to reason step by step
ConstraintsLimits set in a prompt (e.g., “under 100 words”)
Verify / Fact-checkChecking an AI response for accuracy yourself

Frequently Asked Questions

What is prompt engineering, and do I need to learn it?

It’s the skill of writing good AI prompts. It’s now a real, in-demand skill, especially in content, design, and freelancing.

Does prompting only work for ChatGPT?

No, these same principles apply equally to ChatGPT, Claude, Gemini, and nearly every AI assistant.

If the first answer isn’t right, should I start a new chat?

Usually not. Use a follow-up in the same conversation, like “make it shorter” or “explain simply,” to refine the answer.

How is an image prompt different?

Image prompts need far more descriptive detail — include the subject, background, lighting, style, and quality.

Can I prompt AI in Urdu?

Yes, AI understands Urdu well. But a fully detailed English prompt generally gives a more accurate response for detailed or technical tasks.

Does giving AI a role actually improve the answer?

Yes. Giving a role like “You are an experienced doctor/teacher/lawyer” leads to a more complete, relevant answer from that perspective.

PHL EDU Old Posts — The AI Guide Series

PHL EDU WITH AI: Empowering your future with free education, AI tools, LMS, and digital skill solutions

Link copied!

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top