How to Write Good AI Prompts: 12 Rules With Examples

Yar Ali
By -
0

Two people ask the same AI tool the same question. One gets a useless, generic answer. The other gets exactly what they needed. The difference is rarely the tool — it is the prompt: the instruction you type.

A prompt is not a search keyword. It is an instruction to a very capable assistant who knows nothing about your situation unless you explain it. This guide gives you 12 practical rules for writing good prompts, each with a weak example and a strong example you can copy and adapt for ChatGPT, Gemini, image generators and other AI tools.

Why Prompts Decide Your Results

AI tools predict a helpful response from your words. Vague words invite vague answers; specific words — your level, your topic, your format, your language — pull the answer towards your real need. You do not need technical knowledge or "secret codes." You need the same skill as giving clear instructions to a new employee: context, task, format, and a chance to correct.

The 12 rules below work in order, but you do not need all of them in every prompt. Even using three or four will noticeably improve your results from today.

The 12 Rules for Good AI Prompts

Rule 1: Say Who You Are and Your Level

Weak: "Explain electricity." Strong: "I am a Class 9 student and a beginner. Explain how electricity works in simple words."

Your level changes the vocabulary and depth of the answer. Add your class, job or experience whenever it matters.

Rule 2: Give the Background (Context)

Weak: "Write an email." Strong: "Write a short, polite email to my teacher asking for two extra days for my science project because I was ill. Keep it respectful and under 100 words."

Context — why, for whom, what happened — turns a template into something you can actually send.

Rule 3: Ask for One Clear Task at a Time

Weak: "Tell me about Pakistan's history and write a poem and make a quiz." Strong: "Summarise the main causes of the 1857 war in 5 bullet points." (Then ask for the quiz separately.)

Mixed tasks produce shallow answers. Chain small tasks instead: summarise first, then quiz, then simplify.

Rule 4: Specify the Format

Tell the tool the shape of the answer: bullet points, a table, numbered steps, 150 words, flashcards, a dialogue. Example: "Explain the difference between a virus and a bacterium in a two-column table." Format instructions are the cheapest way to get usable output, because you receive the answer already organised for your notes or document.

Rule 5: Give an Example of What You Want

If you have a style in mind, show one example. "Here is one question in the style I want: 'What is the capital of Punjab? (Answer: Lahore)'. Now make 9 more like it about rivers of Pakistan." One example teaches the tool more than a paragraph of description. This works for tone too — paste a paragraph you like and say, "Write in this style."

Rule 6: Set the Language and Tone

Say it plainly: "Answer in simple Urdu," "Use friendly, professional English," or "Explain like a patient teacher, not a textbook." For students in Pakistan and India, asking for English first and then "Now the same in easy Urdu" gives you both practice and understanding.

Rule 7: Break Big Tasks Into Steps

Weak: "Write my complete assignment on water pollution." Strong: Step 1 — "Give me an outline for an assignment on water pollution for Class 10." Step 2 — "Expand point 2 into 120 words with one example from Pakistan."

Step-by-step prompting keeps quality high, lets you correct direction early, and — important for students — keeps you involved in the work instead of receiving a finished product to copy.

Rule 8: Ask the AI to Ask You Questions

When you do not know what details matter, reverse the roles: "I want to plan a study timetable. Ask me questions one by one until you have enough information, then make the plan." This is powerful for planning, troubleshooting and decisions, because the tool gathers the context you would have forgotten to give.

Rule 9: Assign a Role When It Helps

"Act as an experienced maths teacher" or "You are a careful editor" focuses the answer's style and standards. Roles are not magic, but they reliably change tone and detail. Combine the role with your level: "Act as a maths teacher explaining fractions to a weak student — use pizza examples."

Rule 10: Iterate — Treat the First Answer as a Draft

The biggest beginner mistake is accepting answer number one. Follow-ups are free and fast: "Shorter, please." "Simpler words." "Add two examples." "This part is wrong — I need the method my textbook uses: first convert units, then apply the formula." Three short follow-ups usually transform a mediocre answer into a good one.

Rule 11: For Images, Describe Like a Camera

Image prompts need visual detail: subject, action, setting, style, light. Weak: "A cat." Strong: "A small orange cat sleeping on a pile of books in a sunny library, soft warm light, realistic photo style." Mention what should not appear if the tool supports it ("no text in the image"). Our guide to free AI image generators on Digital Jaano uses this same five-part method.

Rule 12: Check Facts and Protect Your Privacy

A good prompter is also a checker. Ask "Which parts of your answer should I verify?" for important topics, and confirm facts with books or trusted sites. And never include passwords, OTP codes, bank details, home addresses or private photos of other people in a prompt. No answer is worth that risk.

Three Complete Prompts You Can Copy Today

For study: "I am a beginner student. Explain [topic] in simple English in about 150 words, then give one real-life example, then ask me 3 questions to test me. Wait for my answers before giving the solutions."

For writing help: "Here is my rough paragraph: [paste]. Correct the grammar and make the sentences clearer, but keep my ideas and simple style. After the corrected version, list the 3 main mistakes I made."

For daily planning: "I have these tasks today: [list]. I have 4 free hours and my energy is best in the morning. Make a realistic plan with breaks, and tell me which task to drop if time runs out."

Common Mistakes That Ruin Prompts

  • Typing keywords like a search engine. "Photosynthesis definition" wastes the tool. Ask full sentences with your level and format.
  • Making the prompt too long and contradictory. A focused 3–5 line prompt beats a full page of mixed instructions.
  • Never correcting the tool. If the answer drifts, say what is wrong; the tool cannot read your mind.
  • Copying "magic prompt" lists blindly. Viral prompt lists are often outdated or exaggerated. The rules above — context, task, format, iteration — work on every tool, including future ones.
  • Expecting the tool to know your life. It does not know your syllabus, your teacher or your city unless you say so. Add the detail; get the better answer.

Frequently Asked Questions

How long should a good prompt be? Usually 2–6 sentences. Long enough to include who you are, the task, useful context and the format you want — short enough to stay clear.

Do these rules work on all AI tools? Yes. Chatbots like ChatGPT and Gemini, image generators, and AI features inside apps all respond better to specific, well-structured instructions. Image tools need more visual detail; chat tools need more context.

What if the AI still gives a bad answer? Do not start over immediately. Use follow-ups: ask for simpler words, a different format, or correct one specific point. If it still fails, rewrite the prompt adding the detail the answer was missing.

Can I write prompts in Urdu or Hindi? Yes, the major tools understand Urdu, Hindi and mixed language ("Roman Urdu"). You can prompt in Roman Urdu and even ask for the reply in English, Urdu script, or both.

Is prompt writing a skill worth learning for jobs? Yes. Clear instruction-giving transfers everywhere: employers value people who can brief AI tools, check outputs and combine them into finished work. It starts with the same 12 rules in this article.

Conclusion

Good prompts are not tricks; they are clear communication. Remember the core pattern: who you are + what you need + background + format, then improve the answer with follow-ups. Practise on one real task today — a study topic, an email, a plan — using the copy-ready prompts above.

Within a week, writing good prompts will feel as natural as writing a good message, and every AI tool you touch will start giving you better answers.

Post a Comment

0 Comments

Post a Comment (0)
3/related/default