How to write better AI prompts: start rough.
You don't have to write the perfect prompt from scratch. Type your idea the messy way you would say it, then add the five parts every good prompt has. Here is the method, with 8 before and after examples.
The short answer
To write a better AI prompt, start by typing your rough idea, then add five things: a role for the AI, the exact task, the context only you know, the format and length you want, and any limits. You can do it by hand in a minute, or let an AI keyboard like PromptPad turn your rough text into a full prompt in one tap.
Why short prompts get generic answers
An AI model answers the prompt you give it, not the one in your head. Every gap you leave, it fills with the most average guess. Ask for "something about dogs" and it has to guess the reader, the purpose, the angle and the length, so you get a polite, forgettable essay.
Most bad answers aren't the model's fault. They come from missing information: who the answer is for, what you already know, what shape the answer should take. Fill those gaps and the same model gives a sharper answer, usually on the first try.
Start rough, then add structure
Most prompt guides tell you to write a careful, complete prompt before you hit send. That is hard to do on a phone, in the middle of something. There is an easier order:
- Dump the idea. Type it the way you would say it to a friend. Fragments, typos and missing words are fine. The point is to get the facts down: names, numbers, dates, what went wrong.
- Add the structure. Turn the dump into a role, a task, context, a format and limits. This is the step that turns a rough note into a prompt.
- Send and steer. Read the answer and reply with what to change. A good prompt gets you closer on the first try; it doesn't replace a quick follow-up.
Your rough text already holds the part that matters most: the context only you know. The structure is the same every time, which is why it can be done for you.
The 5 parts of a good prompt
Role
Tell the AI who to be. "Act as a patient biology tutor" changes the depth, the vocabulary and the tone of the answer.
Task
Say exactly what to do, with a verb: write, plan, compare, explain, fix. "Something about dogs" is a topic, not a task.
Context
Give the facts only you know: who it is for, what happened, what you have tried. Your rough text is mostly this.
Format
Ask for the shape and the length: a list, a table, an email with a subject line, 150 words. Otherwise you get the default essay.
Limits
Add the rules: the tone, a budget, what to keep, what to avoid, or "ask me questions before you answer".
Here is one rough request built up part by part.
| Part | What you add |
|---|---|
| Rough idea | bday party ideas for my 8yo |
| Role | Act as an experienced kids' party planner. |
| Task | Plan a 2-hour birthday party at home for my daughter, who turns 8. |
| Context | 12 kids, a small garden, and she loves space and dinosaurs. |
| Format | Give a schedule, a shopping list and 3 game ideas. |
| Limits | Keep it under $150 and screen-free. |
Put together: Act as an experienced kids' party planner. Plan a 2-hour birthday party at home for my daughter, who turns 8 and loves space and dinosaurs. There will be 12 kids and we have a small garden. Give a schedule, a shopping list and 3 game ideas. Keep it under $150 and screen-free.
From rough text to a better prompt: 8 examples
Each rough note below is the kind of thing people actually type on a phone. Each better prompt adds the five parts, and nothing the writer didn't mean. The first one is the before and after shown for PromptPad's Prompt Optimizer shortcut; the others show the same method. AI results vary a little each time.
You typedwrite something about dogs
Better promptWrite a 200-word introduction for a general audience explaining how dogs were domesticated. Use plain language, avoid jargon, and end with one surprising fact.
You typedemail landlord heater broken again 3rd time this month
Better promptAct as a tenant who wants a fast repair and a good relationship. Write a firm, polite email to my landlord: the heater has broken for the third time this month. Ask for a repair date. Under 150 words, with a clear subject line.
You typed3 days lisbon with 2 kids what to do
Better promptYou are a family travel planner. Plan 3 days in Lisbon for two adults and two kids. For each day give a morning, afternoon and evening, short walks between stops, one rest break and kid-friendly food. Keep it to a short list per day.
You typedhelp me study for bio exam friday, cells
Better promptAct as a patient biology tutor. My exam on cells is on Friday. Make a 4-day study plan, then quiz me with 10 questions one at a time, starting easy. When I get one wrong, explain the answer in 2 sentences.
You typedpython script crashes keyerror fix it
Better promptYou are a senior Python developer. My script crashes with a KeyError. Explain the likely causes, then show a fixed version that handles missing keys safely. I'll paste the code and the full error below. Keep the explanation under 100 words.
You typednew job offer more money but 1h commute should i take it
Better promptAct as a neutral career coach. Help me decide on a job offer with higher pay but a one-hour commute each way. First ask me 3 questions about my priorities, then give pros, cons and a clear recommendation in a short table.
You typedinsta post for my bakery new sourdough
Better promptYou are a social media copywriter for a small neighborhood bakery. Write an Instagram caption launching our new sourdough loaf. Warm and playful, under 60 words, one call to visit this weekend, and 5 relevant hashtags.
You typedexplain inflation
Better promptExplain inflation to a curious 15-year-old. Use one everyday example with prices, then cover what causes it and why central banks raise interest rates. Under 200 words, no jargon, and end with a one-sentence summary.
Look at what changed. Every better prompt names a reader or a role, starts the task with a verb, keeps every fact from the rough note, and says how long or what shape the answer should be. The code example also tells the AI that more material is coming, so it waits for the error instead of guessing.
A prompt template you can reuse
Fill in the brackets and delete what you don't need. It works in any chat AI.
Act as [role]. [Task, starting with a verb]. Context: [who it is for, what happened, what you know]. Format: [list, table or email, and the length]. Limits: [tone, must include, avoid].
Save it in Notes, or make it a shortcut so it is always one tap away.
Before you answer, ask me up to 3 questions about anything you need to know. Then answer.
Add this when you are not sure what context matters. The AI tells you what is missing.
Do it in one tap from your keyboard
Adding the five parts by hand takes a minute. On an iPhone, the PromptPad AI keyboard can do it where you are already typing, so there is no copying into another app and no extra round trip with the chatbot.
Open your AI app
ChatGPT, Gemini, Claude or any other app. Tap the globe key and pick PromptPad. First time? See how to add the keyboard.
Type it rough
Write your idea the way you would say it. Typos and fragments are fine.
Tap Prompt Optimizer
Your rough text is rewritten into a full prompt, right in the text field. Check it, then send.
Prompt Optimizer is a Pro shortcut in the PromptPad library. On the free plan you can make your own version in under a minute: create a custom shortcut, choose Custom, and paste this instruction.
The text is a rough request I want to give an AI. Rewrite it as a clear prompt: give the AI a fitting role, state the task with a verb, add the context my text implies, say what format and length the answer should have, and list key limits. Keep my goal and every fact I gave. Don't answer the request. Return only the improved prompt.
Works on the free plan, which includes 4 shortcuts, 20 cloud AI runs and unlimited on-device runs with Apple Intelligence.
Image, video and music prompts
Image and video models need different parts: the subject in detail, the setting and time of day, the camera angle and lens, the lighting, a color palette and the mood. The idea is the same. Start with a few words, then add what the model can't guess.
You typedfox, tokyo street
Image promptA curious red fox trotting down a narrow rain-soaked side street in Shinjuku, Tokyo, just after midnight. Low camera angle at the fox's eye level, shot on a 35mm lens with shallow depth of field. Glowing neon signs in magenta and cyan reflect in the puddles around its paws, while warm amber light spills from a tiny ramen shop behind it. Palette of deep navy, electric magenta, cyan and amber. Cinematic, quiet and slightly magical.
Image Prompt Pro, Midjourney Prompt, Video Prompt, Suno Song, Logo Prompt, Product Photo Prompt, Sound Effect Prompt and Character Sheet.
The Create category of the PromptPad library (Pro) turns a few words into a prompt written for that kind of tool. The example on the left is shortened.
More tips that still work
- Treat the first answer as a draft. Reply with what to change: "shorter", "less formal", "more about cost". Small follow-ups beat starting over.
- Show an example. Paste a message you like and say "match this style". One example says more than a list of adjectives.
- Split big jobs. Ask for an outline first, then each part. Long tasks in one prompt drift.
- Say what to do, not only what to avoid. "Use plain words a 12-year-old knows" works better than "no jargon".
- Start a new chat for a new topic. Old messages in the same chat still shape the answer.
- Check facts that matter. A clear prompt makes mistakes less likely, not impossible.
Prompt questions
What makes a good AI prompt?
A good prompt tells the AI who to be, what to do, the facts it needs, what the answer should look like and the rules to follow. It is specific about the goal and the reader, and leaves out anything the AI doesn't need.
What are the 5 parts of a good prompt?
Role, task, context, format and limits (often called constraints). The role sets who the AI is, the task says what to do, the context gives the facts, the format sets the shape and length, and the limits add rules such as tone or things to avoid.
Why does ChatGPT give generic answers?
Because the prompt leaves gaps, and the AI fills them with the most average guess. Without a reader, a purpose, a format or a length, "write something about dogs" gets a generic essay. Add the missing parts and the answer gets specific.
Can ChatGPT rewrite my prompt for me?
Yes. You can ask it to improve your prompt and tell you what is missing, then send the improved version. That costs an extra round trip. A prompt shortcut on your keyboard does the rewrite before you send, in the app you are already using.
Do longer prompts give better results?
Not by length alone. A good prompt is complete, not long: a role, task, context, format and limits often fit in three or four sentences. Words that add no facts or rules only add noise.
Should I give the AI a role?
Usually, yes. A role such as "act as a patient tutor" or "you are a senior Python developer" sets the depth, vocabulary and tone in one line. It helps most with expert and teaching tasks and matters less for simple facts.
What is a prompt enhancer?
A prompt enhancer turns a short or vague prompt into a detailed one, usually by adding a role, context, format and constraints. PromptPad's Prompt Optimizer is a prompt enhancer built into an iPhone keyboard, so it works inside the app where you are typing.
Is there a free way to improve prompts on iPhone?
Yes. Use the 5-part method by hand, or make a free custom shortcut in PromptPad with the Better prompt instruction on this page. The free plan includes 4 shortcuts and 20 cloud AI runs, plus unlimited on-device runs on iPhones with Apple Intelligence and iOS 26.
Does it work with ChatGPT, Gemini and Claude?
Yes. PromptPad is a keyboard, so it works in any app that allows third-party keyboards, including the ChatGPT, Gemini and Claude apps and their websites in Safari. The improved prompt is plain text you can send anywhere.
Can I type my rough prompt in another language?
Yes. Results come back in the language you wrote in, and the keyboard types in 9 languages, including Arabic and Persian. If you want the prompt in English, run a Translate shortcut such as To English afterwards.
Do I still need prompt skills with newer AI models?
Newer models guess better, but they still can't know what you didn't tell them: who the answer is for, what you already tried, how long it should be. Context and format matter as much as ever. What you no longer need are tricks or magic words.
Is the text I type stored?
No. In cloud mode the text is sent to the AI model, the result comes back, and the text is discarded. In on-device mode it never leaves your iPhone.
More you can do
Better prompts are one of many things the PromptPad AI keyboard does. These pages go deeper.
Your rough idea
is the first draft.
Free on the App Store. Turn rough text into a clear prompt in any app.
Download on theApp StoreFor iPhone. Free plan included. On-device AI needs iOS 26 and an iPhone that supports Apple Intelligence.