How to Write Better AI Prompts: 8 Techniques With Examples
From vague requests to useful answers: eight prompt techniques you can use with any AI chat or image tool
The same AI tool can give a weak answer or an excellent one, and the difference is often the prompt. A prompt is simply the instruction you give: a question, a task or a description. Writing it well is a skill you can learn in an afternoon. This guide shares eight techniques that work with most chat assistants and many image or writing tools, each with a before and after example.
You do not need special tools or secret formulas. You need to be clear about what you want, and to give the tool enough information to help.
Technique 1: State the goal in one clear sentence
Start with what you want to achieve. A vague request leaves the tool guessing, and it will often guess wrong.
Before: Tell me about marketing.
After: Explain three low-cost marketing ideas for a small online shop that sells handmade candles.
The second prompt gives a topic, a number, a budget level and a situation. Even this small change usually improves the result a lot.
Technique 2: Give context about you and the situation
The tool does not know who you are, who will read the result or what you already tried. A short context changes the tone and the content.
Before: Write an email to my teacher.
After: I am a university student who missed one lecture because of illness. Write a polite, short email to my professor asking for the slides and offering to attend office hours.
Include relevant details such as your level, your audience, your deadline and what you have already done.
Technique 3: Ask for a role or point of view
Asking the tool to take a role can help it choose the right vocabulary and level of detail. Roles such as a patient teacher, an editor or a project manager work well.
Example: Act as an experienced editor. Read the paragraph below and suggest three ways to make it clearer, without changing the meaning.
Remember that the role does not give the tool real credentials. It only changes the style of the answer, so you must still check important facts.
Technique 4: Specify the format of the answer
If you need a table, a checklist or a certain length, say so. Otherwise, you will get whatever the tool prefers.
Before: Compare two phone plans.
After: Compare two phone plans in a table with columns for price, data, contract length and one main drawback. Keep each cell under ten words.
Useful format requests include bullet points, numbered steps, a short summary followed by details, or a given number of words.
Technique 5: Provide an example of what you want
Examples are one of the strongest tools you have. Show one or two samples of the style or structure you want and ask the tool to follow them.
Example: Here is a product description I like: a short sentence about the benefit, then three bullet points. Write a description for my notebook in the same structure.
When the tool has an example, it needs fewer guesses and the answer is closer to what you imagined.
Technique 6: Set limits and rules
Tell the tool what to include and what to avoid. Limits stop the answer from drifting.
Example: Write a 150-word introduction for a blog post about learning to cook. Use simple words, avoid slang, and do not mention specific brands.
Limits can cover length, language level, tone, topics to avoid or sources you want it to rely on, such as only the text you paste.
Technique 7: Break big tasks into steps
Large requests such as write my whole business plan usually give shallow results. Split the work into stages and use the answer of each stage in the next one.
- Ask for a list of the main sections of the document.
- Ask for a draft of one section at a time, with your notes pasted in.
- Ask for a review that checks for gaps and contradictions.
- Ask for a final version in the format you need.
This also makes it easier to correct the direction early, before you spend time on the wrong version.
Technique 8: Iterate and ask for improvements
Your first prompt is the beginning of a conversation, not the end. Read the result, then say what to change.
- Make it shorter and more direct.
- Keep the second paragraph, but change the tone to friendly.
- Explain this part again for a beginner.
- Give me three different options.
Specific feedback works better than general comments such as make it better. If a conversation becomes confused, start a new one with a cleaner prompt that includes what you learned.
Prompts for images and creative tools
Image tools respond to descriptions of subject, style, setting and mood. A useful structure is: subject, action, place, lighting, style. For example: a small fishing boat on a calm lake at sunrise, soft golden light, realistic photograph. Add a few details at a time and compare the results. Keep in mind that each tool has its own rules and limits, so read its help page.
Check the answers
AI tools can make mistakes, invent facts or present guesses with confidence. For anything important, such as health, legal, financial or academic work, verify the information with reliable sources, and never share private data or passwords in a prompt. Treat the result as a draft that you review, not as a final authority.
A template you can reuse
You can copy this simple template and fill it in:
- Goal: what I want to achieve
- Context: who I am, who the audience is
- Role: how the tool should act
- Format: the structure and length of the answer
- Example: a sample or style I like
- Limits: what to include and what to avoid
Practice with everyday tasks such as summaries, emails, study notes and plans, and keep the prompts that work well. Over time, you will build your own small library of prompts and get better results with less effort.