How to Use AI Prompts Effectively: A Practical 2026 Guide
Learn how to use AI prompts effectively in ChatGPT, Claude and Gemini: what to include, how to add examples and context, and how to fix weak answers by iterating.
To use AI prompts effectively, tell the model exactly what you want: the task (starting with a clear verb), the context behind it, who the output is for and what shape it should take. Then treat the first answer as a draft and refine your prompt. The rest of this guide shows how to do that in ChatGPT, Claude, Gemini and similar assistants.
The advice below comes from the vendors’ own guidance: Anthropic’s prompt engineering best practices, OpenAI’s ChatGPT prompting article, and Google’s Gemini for Workspace Prompting Guide 101 and Gemini API prompt design docs. They agree on far more than they disagree on. Details are current as of November 2026, and the vendors revise this guidance as models change. Google’s Workspace guide, for example, dates from April 2024.
The four parts of a good prompt
Google’s Workspace guide splits a prompt into four parts. The other vendors’ advice fits this structure too.
| Part | What it means | Example |
|---|---|---|
| Task | What you want done. Start with a verb. | “Write a training plan…” |
| Context | Background the model can’t know | “…for the sales team, launching a new product next month” |
| Persona / perspective | Who it should write as, or what it should prioritize | “Focus on risk tolerance and long-term growth” |
| Format | Shape, length, structure, tone | “A table with one row per week, under 200 words” |
You don’t need all four every time. Google’s guide notes that using even a few helps. The task matters most, and Google’s material calls it the most important part.
Here’s Google’s own before-and-after: instead of “Training plan,” try “Write a training plan for the sales team for the launch of a brand new product.” The second version is still short, but it names the action, the audience and the purpose.
Step by step: writing a prompt that works
- Lead with the action. Anthropic recommends direct action verbs and no preamble: “Summarize,” “Draft,” “Compare,” “Rewrite.” If you want an ambitious result, say so. Anthropic’s guidance notes that newer models do what you literally ask, so if you want extra features or depth, request them.
- Add the context the model can’t guess. OpenAI’s help article boils it down to prompts that are “clear, specific, and provide enough context,” with no ambiguity. Say who the audience is, what the output is for and any constraints.
- Explain why, not just what. Anthropic suggests giving the reason behind an instruction. “Don’t use bullet points” is weaker than “write in flowing prose because I find it easier to read,” because the model can apply that reason to related choices.
- Be specific about constraints. Anthropic’s example turns a vague “Mediterranean meal plan” into a plan for pre-diabetic management at 1,800 calories a day, built on low-glycemic foods, with a nutritional breakdown for each meal. Same request, much more useful answer.
- Specify the output format. Ask for a table, a numbered list, JSON, a word limit or a tone. OpenAI suggests descriptive tone words such as formal, friendly, professional or humorous. Google Cloud’s prompt guidance makes the same point: define the format explicitly rather than letting the model guess.
- Review, then refine. OpenAI describes prompting as iterative: start with an initial prompt, review the response, refine. Google’s guide says the same, adding detail to the persona, task, context or format when an answer misses.
Techniques worth knowing
Show an example
If you care about a specific format or style, show it. Google’s Gemini API docs recommend few-shot examples (sample inputs and outputs inside the prompt). Anthropic suggests starting with one example and adding more only if needed. One caution from Anthropic: newer models copy examples closely, so make sure every example shows only what you want repeated.
Tell it what to do, not what to avoid
Anthropic recommends positive instructions. “Write in plain paragraphs” works better than “don’t use markdown.” Anthropic also notes that the style of your prompt tends to carry into the reply. A prompt full of headings and bullets invites a reply full of headings and bullets.
Ask for step-by-step reasoning on hard problems
For analysis, math or multi-factor decisions, ask the model to think step by step, or spell out the stages yourself (“first consider X, then Y, then write the recommendation”). Anthropic says built-in extended thinking modes are generally preferable where a tool offers them. A manual “think step by step” is still useful when they aren’t available or when you want to read the reasoning.
Break big jobs into a chain
Rather than one giant prompt, split complex work into steps that feed each other. Anthropic’s example: summarize a paper, then ask the model to grade the summary for accuracy and clarity, then revise it based on that feedback. It takes longer but tends to be more reliable. Google Cloud’s guidance lists “break down complex tasks” as a best practice too.
Give it permission to say “I don’t know”
Anthropic recommends telling the model to say when information is insufficient rather than speculate, which it says reduces made-up answers. That reduces the risk but doesn’t remove it, so verify anything that matters.
Use roles lightly
The vendors put this a little differently. Google’s guides treat a persona (“You are a seasoned advertising writer…”) as one of the core building blocks. Anthropic’s current guidance calls role prompting less necessary for its newer models and suggests stating the perspective you want instead. In practice, both approaches work. Pick whichever makes your intent clearer.
Habits that keep results good
- Start a fresh chat when you change topics. Google’s guide warns that leftover context from an unrelated conversation can produce irrelevant or misguided answers.
- Put critical details at the start or end of long prompts. Anthropic suggests this for long content.
- Save prompts that work. Google’s Workspace blog advises noting what worked once you get a good result, so you can reuse it.
- Make standing preferences persistent. Many assistants let you save instructions that apply to every chat. Anthropic, for example, points to project instruction files and skills for Claude. Check your tool’s settings for the equivalent; names and locations vary by product and change often.
- Don’t over-engineer. Anthropic lists piling on every technique, skipping the basics and assuming the model can read your mind among the most common mistakes.
Quick troubleshooting
| Problem | Likely fix |
|---|---|
| Generic, bland answer | Add specifics: audience, goal, constraints |
| Format keeps changing | Show an example, or spell out the exact structure |
| Wrong or invented facts | Allow “I don’t know,” supply source material, verify |
| Complex task done poorly | Break it into a chain of smaller prompts |
| Answer drifts off-topic | Start a new chat and restate the context |
This table follows Anthropic’s troubleshooting advice, with the off-topic row from Google’s guide.
The bottom line
You don’t need secret phrases. Every major vendor’s guidance comes down to the same few habits: say clearly what you want, give the context only you have, describe the output, and refine the prompt after each answer. Start with those, add examples or chaining when a task calls for it, and check anything factual before you use it.
Free apps worth trying
SponsoredSponsored links. Installing through them can earn us a commission, at no cost to you. Apps are free to download; some offer optional in-app purchases.
Frequently asked questions
Do I need special prompt templates or magic phrases? +
No. OpenAI, Anthropic and Google all put clarity, specificity and context ahead of any trick wording. Google's Workspace guide says you don't have to be a prompt engineer, and suggests writing the way you'd talk to a colleague.
Should I tell the AI to act as an expert? +
It can help, and Google's guides list a persona as one of four prompt ingredients. Anthropic's current guidance says to use roles sparingly, because stating the perspective you want, such as which factors to weigh, often works better than a job title.
How long should a prompt be? +
Long enough to cover the task, the context and the output you want, and no longer. Anthropic lists over-engineering and using every technique at once as common mistakes. Start simple, then add detail where the answer falls short.
What should I do when the AI makes things up? +
Tell it explicitly that it may say it doesn't know or that the data is insufficient. Anthropic recommends this to reduce invented answers. Always check facts, figures and citations against a primary source before you rely on them.
Sources
- Best practices for prompt engineering (Claude) (claude.com)
- Prompt engineering best practices for ChatGPT (OpenAI Help Center) (help.openai.com)
- Gemini for Google Workspace Prompting Guide 101 (services.google.com)
- Prompt design strategies (Gemini API docs) (ai.google.dev)
- 5 tips for writing great prompts for Gemini in the Workspace side panel (blog.google)
- Prompt design strategies (Google Cloud) (docs.cloud.google.com)