← All AI books
Book cover of Prompt Writing Guide by Kawthr Umar

Prompt Writing Guide

READ ONLINE

What a Prompt Is

A prompt is the message you give to an AI tool. It can be a question, an instruction, or a long description of what you need. The AI reads it and builds its answer from it, so the quality of your prompt strongly shapes the quality of the result.

Many people get weak answers and decide the tool is poor. Often the real problem is a vague request. If you ask a friend "help me with my project", they will ask what project. An AI tool usually will not ask, it will guess. This guide teaches you to remove the guessing, so you get a useful answer on the first or second try.

The Four Parts of a Good Prompt

A strong prompt has four parts. Goal: what you want the AI to do. Context: the background, such as who the answer is for and why you need it. Format: how the answer should look, such as a list, a table, or three short paragraphs. Limits: length, tone, or things to avoid.

Here is an example that uses all four: "Write a welcome message for my new bookshop (goal). Customers are mostly students and the shop sells second-hand books (context). Use two short paragraphs (format). Keep it friendly, under 80 words, and do not use the word cheap (limits)." You do not need every part each time, but even adding two parts improves your answers a lot.

Be Specific: Before and After

Specific prompts beat vague ones. Weak: "Tell me about exercise." Better: "Give me a 4-week walking plan for a beginner who sits all day, as a simple table, with no more than 20 minutes per day."

Weak: "Write a bio." Better: "Write a friendly 60-word bio for an author who writes beginner guides about AI." Weak: "Help me study." Better: "Quiz me with 5 multiple-choice questions on the water cycle, for a 12-year-old, and show the answers at the end." Notice that every better version names the audience, the size, or the shape of the answer.

Give a Role and an Audience

Telling the AI who it should act as, and who it is writing for, changes the style of the answer. For example: "Act as a patient teacher and explain how the internet works to a 10-year-old." The same topic for an adult professional would need different words.

Use roles that fit your need, such as a tutor, an editor, a travel planner, or an interviewer. Remember that a role changes tone, not truth. An AI acting as a doctor is still not a doctor, so never treat role-play answers as professional advice. Always say who the reader is, since "for beginners" and "for experts" give very different results.

Ask for the Right Format

Tell the AI how to present the answer. You can ask for a bulleted list, a numbered step-by-step plan, a table that compares options, a short summary, or an email with a subject line. This saves you time rearranging it later.

For example: "Compare three free note-taking apps in a table with columns for price, ease of use, and best for." Or: "Explain how to back up my phone in 5 numbered steps, using simple words." If you need a quick overview, ask for "a summary in three bullet points". If you need depth, ask it to "explain in detail with one example for each point".

Improve with Follow-Ups

Treat the first answer as a draft, not the final result. Reply with small changes: "make it shorter", "use easier words", "add a real-life example", or "give me three more options". Each reply steers the answer closer to what you want.

You can also let the AI help you ask better. Try: "What extra details would help you answer this well?" The tool will often list things like your audience or your goal. If an answer seems wrong, say so and ask it to check again or to explain its reasoning. A good conversation of three or four short messages usually beats one very long prompt.

Prompts for Study, Work and Creativity

Here are templates you can copy and adapt. Study: "Explain [topic] in simple words, then give me 3 practice questions with answers." Work: "Write a polite email to [person] about [subject]. Keep it under 120 words and end with a clear next step."

Creative: "Give me 10 name ideas for a [type of project]. The style should be [style]. Avoid names that sound like [example]." Planning: "Create a one-week schedule for [goal], with 30 minutes per day, as a table." Replace the brackets with your own details. Save the prompts that work well in a notes app, so you can reuse them.

Common Mistakes and Your Practice Plan

Common mistakes include being too vague, asking for too many things at once, forgetting to say who the answer is for, and trusting every answer without checking. Never put passwords or private information in a prompt, and always check important facts in a reliable source.

To improve quickly, practice for ten minutes a day for two weeks. Pick one real task each day, write a prompt with at least goal and context, and then improve it with two follow-ups. Keep a list of your best prompts. Prompt writing is simply clear communication, and like any skill it grows with practice.