Guides

How to write better AI prompts (with copy-paste examples)

Workers are about 33% more productive per hour using AI. Six techniques for writing prompts that get sharper answers from ChatGPT, Claude, and Gemini.

June 15, 2026

Most weak AI answers come from weak prompts, not weak models. The fix is rarely a longer prompt, it's a clearer one. The same assistant that hands you a generic wall of text will, with a sharper request, return something you can use as-is. These tools are now mainstream: 34% of U.S. adults say they have used ChatGPT, about double the share in 2023 (Pew Research Center, 2025). Below are six techniques you can apply to any assistant today, each with a weak version, a better version, and the difference between them.

Key Takeaways

  • The model isn't guessing what you want, it's filling gaps you left open. Naming the role, the goal, and the format closes those gaps before it writes a word.
  • One worked example usually beats a paragraph of rules. When the output keeps missing the mark, show the pattern instead of describing it.
  • These techniques carry across ChatGPT, Claude, Gemini, Perplexity, and Deepseek, because they all respond to clear instructions. Learn the moves once and reuse them everywhere.

A person types on a laptop showing an AI chat conversation on screen.

Why do clearer prompts get better answers?

A language model answers by predicting what fits the request you gave it. A thin prompt leaves too much open, so it fills the space with safe, average text. A specific prompt narrows the path to the answer you actually had in mind. You aren't changing the model, you're changing what it has to work with. The payoff when you get this right is real: a 2025 St. Louis Fed analysis found workers are about 33% more productive in each hour they use generative AI (Federal Reserve Bank of St. Louis, 2025), and 90% of AI users say it helps them save time (Microsoft and LinkedIn, 2024). That return shows up when the request is clear, which is exactly what the skill of prompting well buys you. If you want the full picture of why this works, our explainer on what prompt engineering is walks through the mechanics in plain English. The six techniques below are how you put it into practice.

Give the model a role and a goal

Open with who the model should act as and what success looks like. This anchors tone, depth, and vocabulary before the model writes a word. Without a role, it defaults to a neutral middle voice that fits no one in particular.

Help me with this paragraph.
You are a senior copy editor. Tighten the paragraph below to under 80 words,
keep the original meaning, and prefer plain verbs over jargon.

The first prompt makes the model guess what "help" means. The second tells it the job, the target length, and the style, so the reply comes back already shaped the way you wanted instead of needing a second round of edits.

How should you tell the model what format you want?

If you need a table, a bulleted list, or JSON, say so explicitly, and show a tiny example of the shape. Models match formats far more reliably than they infer them. Naming the format also saves you the cleanup of reshaping a paragraph into the structure you needed all along.

Compare these three project management tools.
Compare these three project management tools in a markdown table with columns:
Tool, Best for, Pricing model, One drawback. One row per tool, no preamble.

The vague version returns flowing prose you'd have to skim and reorganize. The second returns a table you can drop into a doc, because you described the exact container you wanted the answer poured into.

Show one example, not five rules

A single worked example, one input paired with the output you'd want, usually beats a paragraph of instructions. This is why few-shot prompting works: the model matches a demonstrated pattern far more reliably than it follows a description of one.

Write product taglines in our brand voice.
Write three product taglines in our brand voice. Match this example.
Product: noise-canceling headphones -> Tagline: "Hear less. Focus more."
Product: a standing desk -> Tagline:

The first prompt forces the model to invent what "our brand voice" means. The second shows it: short, punchy, two clauses. One example does what a long style description can't, and it's the fastest fix when the tone keeps drifting. For a deeper look at where prompts go sideways, the roundup of common AI prompting mistakes covers the patterns worth avoiding.

Iterate in small steps

Ask for a draft, then refine with targeted follow-ups ("make section 2 more concrete," "cut the intro by half") instead of rewriting the whole prompt each time. The model keeps the context from the earlier turn, so small corrections land faster and you don't lose the parts that already worked.

Save your best prompts as you go

Promptly keeps a reusable library across every AI you use.

Constrain length and audience

Tell the model who will read the answer and how long it should be. Audience sets the vocabulary and the depth, length keeps it from padding. "Explain to a non-technical manager in three sentences" produces a very different, and usually better, result than an open-ended question.

Explain how our API rate limiting works.
Explain how our API rate limiting works to a non-technical manager in three
sentences. No code, no jargon, lead with what it means for customers.

The open version risks a deep technical dump aimed at no one. The constrained version names the reader, the length, and what to skip, so you get something you can forward without rewriting it for the audience.

Add the context the model can't see

The model only knows what you give it. If the answer depends on your source material, your audience, or a constraint that lives in your head, paste it in. A prompt that asks the model to work on text it can't see is the most common reason a reply feels generic.

Is this a good subject line?
Rate this email subject line for a re-engagement campaign to lapsed free users:
"We miss you." Suggest two stronger alternatives under 50 characters, and say in
one line why each is better. Audience: people who signed up but never returned.

The first prompt has nothing to judge against. The second gives the goal, the audience, and the constraint, so the feedback is grounded in your actual situation rather than generic email advice.

The six techniques at a glance

Here's the whole set in one place. Treat it as a checklist when an answer comes back weak: find the part you left out and add it.

TechniqueWhat it fixesQuick example
Role and goalGeneric, unfocused tone and depth"You are a senior copy editor. Tighten this to 80 words."
State the formatOutput you have to reshape by hand"Return a markdown table with three columns."
Show one exampleTone or pattern that keeps drifting"Match this: 'Hear less. Focus more.'"
Iterate in stepsRewriting the whole prompt each time"Make section 2 more concrete."
Constrain length and audiencePadded answers aimed at no one"Explain to a non-technical manager in three sentences."
Add missing contextGeneric replies with nothing to work from"Here's the source thread; the reader is my boss."

Most weak prompts are missing one of these six. Run through the list, add the gap, and the answer usually fixes itself without a single extra "please."

Why does saving good prompts matter?

The real payoff isn't writing one great prompt, it's never writing it twice. Once a prompt reliably produces what you need, it becomes a reusable tool, and a small collection covers most of what you do in a week. That's the case for a prompt library: a place to store the prompts that work so you can run them again across any AI instead of rebuilding from memory.

If you'd rather not start from a blank page, a few ready-made starting points live in our prompt templates that save time post, and if you write code, there's a dedicated walkthrough on prompt engineering for developers.

Frequently asked questions

Does prompt length matter?

Clarity matters more than length. A short, specific prompt with a role, a goal, and a format almost always beats a long, vague one. Long prompts only help when the extra words add real context the model needs, like source text or a hard constraint. Padding a request with adjectives doesn't make the answer better; naming what good looks like does.

Do these techniques work across different AI assistants?

Yes. Role-setting, explicit formatting, and one-shot examples improve results on ChatGPT, Claude, Gemini, Perplexity, and Deepseek alike. Each tool has small quirks, but the fundamentals are shared because they all respond to clear instructions. Learn the moves once and you can reuse the same proven prompts everywhere instead of relearning the basics for each tool.

What should I do when an answer comes back weak?

Treat the weak answer as feedback on your prompt, not the model. Walk the six techniques and find the missing piece: no role, no format, no example, no length cap, or no context the model could see. Add that one thing and try again. This fixes far more bad outputs than retyping the same question with stronger wording.

Should I use one example or write out detailed rules?

Lead with one good example. Models match a demonstrated pattern more reliably than they follow a paragraph describing it, so showing the input and the output you'd want usually beats listing rules. Reach for rules when the constraints are things to avoid rather than a shape to copy, like don't invent facts or keep it under 150 words.

How do I reuse prompts that work well?

Save them to a prompt library so you can run the same proven prompt across tools instead of rewriting it each time. Start with one task you do often, refine the prompt until the output is dependable, then store it. Over a few weeks your good prompts accumulate into a small toolkit instead of disappearing into your chat history.

Sources

Federal Reserve Bank of St. Louis. The Impact of Generative AI on Work Productivity (2025). https://www.stlouisfed.org/on-the-economy/2025/feb/impact-generative-ai-work-productivity, retrieved 2026-06-16.

Microsoft and LinkedIn. AI at Work Is Here. Now Comes the Hard Part (2024). https://www.microsoft.com/en-us/worklab/work-trend-index/ai-at-work-is-here-now-comes-the-hard-part, retrieved 2026-06-16.

Pew Research Center. 34% of US Adults Have Used ChatGPT, About Double the Share in 2023 (2025). https://www.pewresearch.org/short-reads/2025/06/25/34-of-us-adults-have-used-chatgpt-about-double-the-share-in-2023/, retrieved 2026-06-16.

Hero image: Matheus Bertelli via Pexels.

Try it free

Write better prompts everywhere you chat with AI

Promptly lives in your browser and works with ChatGPT, Claude, Gemini, Perplexity, and more.

Also on Edge and Firefox

Read next