How to Write Better AI Prompts: A Beginner's Guide
Get better answers from ChatGPT, Claude, Gemini or any AI chatbot. A simple five-part formula, real before-and-after examples, and the mistakes that waste your time.
The biggest difference between a useless AI answer and a great one usually isn't the AI. It's the prompt. Chatbots like ChatGPT, Claude and Gemini are good at following instructions, but they can't read your mind. The more they know about what you want, the better they do.
Here's the simplest way to get consistently better results.
The five-part prompt formula
Most great prompts include some mix of these:
- Task: what you want done. Start with a clear verb: write, summarize, compare, rewrite, plan, explain.
- Context: the background it can't know. Who you are, what it's for, what's already been tried.
- Audience: who will read the result. "For my customers," "for a 10-year-old," "for my boss who has 30 seconds."
- Format: what the answer should look like. "A table," "five bullet points," "under 100 words," "an email with a subject line."
- Example or constraint: a sample of what good looks like, or rules to follow. "Match this tone," "don't use jargon," "no more than three options."
You don't need all five every time. But when an answer misses, the fix is almost always more context or a clearer format.
Before and after
Weak prompt:
Write a post about our sale.
Strong prompt:
Write an Instagram caption for my coffee shop's weekend sale: 20% off all bags of beans, Saturday and Sunday only. Our customers are locals who like a laid-back, funny tone. Keep it under 60 words, start with a hook, and end with a call to visit. Give me three options.
The second one tells the AI the task, context, audience, format and constraints, and asks for options so you can pick the best.
Seven habits that make a big difference
- Ask for options. "Give me five subject lines" beats asking for one and settling.
- Iterate in the same chat. Reply with "shorter," "more casual," "make point 2 the headline." The AI remembers the conversation.
- Give it your material. Paste in the document, notes or data you want it to work from, instead of making it guess.
- Tell it what to avoid. "No buzzwords," "don't mention pricing," "avoid exclamation points."
- Ask it to ask you questions. "Before you write this, ask me any questions you need answered." It's surprisingly effective for bigger tasks.
- Break big jobs into steps. Outline first, then each section, instead of "write my whole business plan."
- Ask for reasoning when it matters. "Explain how you got this number" makes errors easier to spot.
Common mistakes
- Trusting facts blindly. Chatbots can state wrong information confidently (often called hallucinating). Check any fact, figure, quote or citation that matters.
- Sharing sensitive information. Don't paste passwords, customer data or confidential documents into a tool unless you know how that tool handles your data.
- Giving up after one try. The first answer is a draft. The magic is in the follow-up.
- Over-complicating it. You don't need secret "magic prompts." Clear, specific instructions in plain English work best.
A template you can steal
I'm [who you are] working on [what]. I need you to [task] for [audience]. Here's the background: [context or pasted material]. Please format it as [format], keep it [length/tone], and avoid [things to avoid]. If anything's unclear, ask me before you start.
The bottom line
Treat the AI like a smart new teammate on their first day: explain the task, give them the background, show them what good looks like, and give feedback. Do that, and almost any chatbot gets dramatically more useful.
Quick answers
What is a prompt?
A prompt is the instruction or question you give an AI chatbot. The clearer and more specific it is, the more useful the answer tends to be.
What is the best prompt formula?
A reliable starting point is: the task, the context, the audience, the format you want, and an example or constraint. You don't need every part every time, but adding context and format fixes most weak answers.
Should I be polite to AI chatbots?
Politeness doesn't hurt, but clarity matters far more. Spend your words on context, specifics and the format you want rather than on pleasantries.
AI Glossary: 30 Terms Explained in Plain English
LLM, tokens, context window, hallucination, AI agent, fine-tuning, RAG and more. The AI terms you keep seeing in the news, each explained in a sentence or two.
AI Voice-Clone Scams: How They Work and How to Protect Your Family
Scammers can clone a voice from a short clip and call pretending to be someone you love. Here's how the scam works, the warning signs, and the simple family safe word that stops it.
How to Fact-Check a Tech Story in 5 Minutes
A fast, repeatable way to check a viral tech claim before you believe or share it. The same five steps DarkWire runs on every story, adapted for anyone.
New guides, first.
Get the daily wire plus every new guide and playbook the day it drops.