Information checked: November 21, 2026
Table of Contents
A good AI prompt tells the AI exactly what you want and how you want it. You give it a role, a clear task, enough context, the format you want back, and a simple limit. When those five parts are clear, the AI gives you a useful answer instead of a generic one.
Most people use AI the way they use a search box. They type a few words, hit enter, and hope for the best. Sometimes it works. Often, it doesn’t. The answer is too long, too vague, or just not what they wanted. That’s usually not the AI’s fault. It’s because the prompt didn’t give it enough to work with.
Here’s the good news: writing a good prompt is a skill you can learn in one sitting. You don’t need technical knowledge or special words. You just need a simple structure and a little practice. This guide will show you the five-part formula, explain each part with everyday examples, and give you a copy-and-paste template you can use again and again.
This is the cornerstone guide for our prompt series. If you’re starting here, you’re in the right place. Every other prompt post on this blog links back to this guide, including our list of 30 Best ChatGPT Prompts to Try in November 2026. Once you understand the formula, every other prompt on this site will make more sense.
What is the five-part prompt formula?
Most useful prompts have the same five parts:
- Role: Who should the AI act as?
- Task: What should the AI do?
- Context: What background information does it need?
- Format: How should the answer look?
- Constraint: Are there any limits or rules it should follow?
The five-part prompt formula: Role + Task + Context + Format + Constraint
- Role: “Act as a patient writing coach,” or “Act as a friendly customer service assistant.”
- Task: “Write a short email,” “Explain this topic,” or “Make a study plan.”
- Context: “I’m writing to a client about a delayed delivery,” or “I’m a student preparing for a biology exam.”
- Format: “Use bullet points,” “Keep it under 100 words,” or “Give me a table.”
- Constraint: “Use simple language,” “Do not invent facts,” or “Keep the tone polite but firm.”
You don’t always need all five parts. A quick question might only need two or three. But when you want a specific result, including all five parts makes a big difference.
What does each part actually do?
Role: The role tells the AI how to approach the task. “Act as a patient tutor” gives you a different answer from “Act as a strict examiner.” The role sets the tone and the level of detail. It also helps the AI choose the right kind of language. Try to be specific. “Act as a helpful editor” is better than “Act as an AI.”
Task: The task is the job itself. It should be clear and direct. “Write a short email” is clear. “Help me with this” is not. If you can read your task and immediately know what the AI should produce, you’ve written it well.
Context: Context is the background the AI needs to give a useful answer. Without context, the AI has to guess. “I’m writing to my manager about a project delay” gives it enough to write a realistic email. “Write an email” doesn’t. A sentence or two of context is often enough.
Format: Format tells the AI how to present the answer. Do you want a list, a table, a short paragraph, or a step-by-step guide? Without a format, the AI chooses for you, and it often chooses a long block of text. A simple format request can save you a lot of editing.
Constraint: A constraint is a limit or rule. “Keep it under 120 words” is a constraint. “Use simple language” is another. “Do not invent facts or statistics” is a useful constraint for anything factual. Constraints keep the answer focused and prevent it from going off track.
How do I fix a vague prompt?
The easiest way to learn is to compare a weak prompt with a stronger one. Here are three everyday examples.
Example 1: An email
Before (weak): “Write an email to my boss about a delay.”
After (strong): “Act as a professional communication assistant. Help me write a polite email to my manager about a project delay. The project is [PROJECT NAME], the original deadline was [DATE], and the new deadline is [DATE]. Keep the email under 120 words, use a calm and professional tone, and end with a clear next step.”
Why it works better: The strong version gives the AI a role, the project details, the dates, a word limit, and a tone. The weak version leaves all of that to guesswork.
Example 2: A reply
Before (weak): “Reply to this message.”
After (strong): “Act as a friendly customer service assistant. Help me reply to this customer message: [PASTE MESSAGE]. The customer is asking about [ISSUE]. Apologize for the inconvenience, explain what happened in simple language, and offer [SOLUTION]. Keep the reply under 100 words and use a warm, professional tone.”
Why it works better: The strong version includes the actual message, the issue, and the solution. It also sets a length and a tone, so the reply sounds like a real person wrote it.
Example 3: A plan
Before (weak): “Make a study plan.”
After (strong): “Act as a practical study planner. Create a five-day study plan for [SUBJECT] before my exam on [EXAM DATE]. I can study [NUMBER] hours per day. Divide the topics by difficulty, include a short review at the end of each day, and keep each session under [TIME LIMIT].”
Why it works better: The strong version gives the AI a subject, an exam date, available hours, and a structure. The weak version doesn’t say what you’re studying or when the exam is.
Can I use a template for every prompt?
Yes. Copy the template below and fill in the brackets. You can use it for emails, plans, explanations, and most everyday tasks.
Copy this template:
Role: Act as a [TYPE OF HELPER].
Task: I want you to [SPECIFIC TASK].
Context: Here is the background information you need: [RELEVANT DETAILS].
Format: Present the answer as [TABLE, CHECKLIST, EMAIL, SHORT PARAGRAPHS, OR OTHER FORMAT].
Constraint: Follow these rules: [WORD LIMIT, TONE, THINGS TO AVOID, OR OTHER REQUIREMENTS]. If information is missing, ask me instead of guessing.
Replace: [TYPE OF HELPER], [SPECIFIC TASK], [RELEVANT DETAILS], [TABLE, CHECKLIST, EMAIL, SHORT PARAGRAPHS, OR OTHER FORMAT], and [WORD LIMIT, TONE, THINGS TO AVOID, OR OTHER REQUIREMENTS] with your details.
Best for: Emails, plans, explanations, summaries, and most everyday AI tasks.
How long should an AI prompt be?
It depends on the task. A simple question can be one sentence. A detailed task might need a short paragraph. The goal is not to write the longest prompt, but the clearest one. If the AI’s answer is vague, your prompt probably needs more context or a clearer format. If the answer is too long, add a word limit. Most good prompts are between 20 and 80 words.
What if the answer is still not what I wanted?
Don’t start over. Change one part of the prompt and try again. Add a detail, change the format, or set a clearer limit. For example, if the answer is too formal, add “use a friendly tone.” If it’s too long, add “keep it under 100 words.” Small changes often fix the problem. You can also ask the AI to try again with a different approach: “Rewrite this in a simpler style” or “Give me a shorter version with bullet points.”
A quick note on safety
Before you use AI for anything important, check the output. AI can make mistakes, repeat old information, or invent details that sound correct but aren’t. Never paste passwords, account numbers, personal IDs, or private information into a chatbot. And don’t ask it to make up facts, quotes, or sources. Use it to help you think, write, and plan, not to replace your own judgment.
These prompts use ordinary text instructions and work with the free plans of ChatGPT, Claude, and Gemini.
Frequently Asked Questions
What is an AI prompt? An AI prompt is the instruction you give to an AI tool. It can be a question, a request, or a short set of directions. The AI uses your prompt to understand what you want and how you want it.
How long should a prompt be? Most good prompts are between 20 and 80 words. A simple question can be one sentence. A detailed task might need a short paragraph. The goal is clarity, not length. If the answer is vague, add more context or a clearer format.
Why do my prompts give generic answers? Usually because the prompt is too vague. The AI doesn’t know who it’s writing for, what the task is, or how the answer should look. Add a role, some context, and a format, and the answers get much more specific.
Bottom Line
Writing a good AI prompt is not about using special words. It’s about being clear: who the AI should act as, what it should do, what background it needs, how the answer should look, and what limits to follow. Start with the template above, change one part at a time, and you’ll get better answers with less effort.
For ready-to-use examples, see 30 Best ChatGPT Prompts to Try in November 2026. For the basics of what AI is, read What Is Artificial Intelligence?
Information checked: November 21, 2026
