Skip to main content

Usevila

How to write better AI prompts — person typing a prompt into an AI chatbot on a laptop

How to Write Better AI Prompts: A Complete Beginner’s Guide

Why Your AI Answers Are Only as Good as Your Prompts

Have you ever asked ChatGPT a question and got an answer that was vague, off-topic, or just plain wrong — then blamed the AI? Most of the time, the problem is not the tool. It is the prompt. An AI chatbot can only work with what you give it.

Writing good prompts is a skill, and it can be learned in an afternoon. This guide explains how to write better AI prompts: what a prompt is, the five building blocks every strong prompt shares, ten practical techniques, copy-paste templates, and the mistakes beginners make most often. The techniques work in ChatGPT, Claude, Gemini, and almost any other AI chatbot.

What Is an AI Prompt?

A prompt is simply the instruction you type into an AI tool. It can be a question, a request, a piece of text to rewrite, or a set of rules for the AI to follow. The AI reads your prompt, works out what you most likely want, and generates a reply.

The important thing to understand is that an AI does not know your situation unless you tell it. It does not know who the answer is for, how long it should be, or what tone you want. Every detail you leave out is a guess the AI has to make — and guesses are where bad answers come from.

Think of prompting like briefing a new colleague. If you say “handle the email thing,” you will get a confused stare. If you say “write a polite 100-word reply to Sarah declining her meeting request,” you get exactly what you need.

The 5 Building Blocks of a Good Prompt

OpenAI, Google, and Anthropic (the company behind Claude) all publish prompting advice, and although each company words it differently, the advice keeps coming back to the same five elements. OpenAI’s own prompt engineering guide explains these ideas in depth. Use the five elements below as a checklist for anything more than a quick question.

1. Role: who the AI should be. “You are a friendly career coach.” Even one sentence of role changes the vocabulary, depth, and style of the answer.

2. Task: what to do, stated with one clear verb. “Draft a polite reminder email,” not “help me with this email.”

3. Context: the background the AI needs. Who the reader is, what has already happened. “This is the second reminder. The client is friendly. The invoice is 14 days overdue.”

4. Format: the shape of the answer. Bullet points, a table, numbered steps. “Give me five bullet points” or “reply as a table with three columns.”

5. Constraints: limits and things to avoid. “Under 120 words. No legal threats. Do not mention late fees.”

A helpful way to remember the parts is the CLEAR framework: Context, Length, Examples, Ask specifically, and Role.

10 Techniques to Write Better AI Prompts

1. Give the AI a Role

Assigning a role is the fastest improvement you can make. A role shapes the AI’s vocabulary, assumptions, and level of detail.

Weak: “Explain how interest rates work.”

Better: “Act as a friendly economics teacher explaining interest rates to a 16-year-old who has never studied finance. Use one everyday example and no jargon.”

2. Be Specific About What You Want

Vague prompts produce vague answers. Replace general words with exact details: the topic, the audience, the purpose, and the length.

Weak: “Write a story.”

Better: “Write a 300-word bedtime story for a 7-year-old about a brave little robot who learns to share. Keep the language simple and end with a happy lesson.”

Before you send a prompt, read it back and ask: could a human understand exactly what I want from this sentence alone?

3. Add Context Before You Ask

Context is the background information the AI cannot guess: your situation, your audience, your budget, your deadline.

Weak: “What is the best CRM?”

Better: “I run a 15-person online shop with a small sales team and no IT support. Our budget is $50 a month. Which CRM should we compare, and what are the pros and cons of each for a team our size?”

4. Show Examples (Few-Shot Prompting)

Showing the AI what you want is often faster than describing it. This technique is called few-shot prompting: give two or three examples of the input and the output you expect, then ask for a new one in the same style.

Examples are especially useful for tone. Paste one caption you like and say “write five more captions in this exact style” — the results will match your voice far better than a description of your voice would. You can also turn plain text into stylish fonts for social media bios and posts with Usevila’s Fancy Text Generator.

Example: “Classify each review as Positive, Negative, or Neutral. ‘I love these headphones, the sound is amazing!’ Answer: Positive. ‘Battery life is okay, but the ear pads feel cheap.’ Answer: Neutral. Now classify this review: ‘Terrible customer service, I will never buy from them again.'”

5. Ask for Step-by-Step Thinking

For maths, logic, planning, or any multi-step problem, ask the AI to think through the problem before answering. This is called chain-of-thought prompting, and the simplest version is adding “think step by step” to your prompt.

Weak: “Should I migrate our company to a hybrid cloud?”

Better: “I am choosing between staying on our current cloud setup and moving to a hybrid cloud for a 40-person company. Think through the costs, risks, and benefits step by step before giving a recommendation.”

6. Specify the Output Format

AI models default to long paragraphs unless you say otherwise. If you want a table, a checklist, an email draft, or a slide outline, say so directly.

Weak: “Compare ChatGPT and Gemini.”

Better: “Compare ChatGPT and Gemini in a table with four columns: feature, ChatGPT, Gemini, and winner. Cover price, free plan limits, and writing quality. End with a one-sentence recommendation for a student.”

7. Set Clear Constraints

Constraints are the rules that keep an answer on track: length limits, tone rules, and things to avoid. They force the AI to be precise instead of rambling.

Useful constraints include:

  • Length: “Under 150 words” or “about 500 words.”
  • Tone: “Friendly and conversational” or “formal and professional.”
  • Reading level: “Explain it so a 12-year-old can understand.”
  • What to avoid: “No marketing buzzwords.”

Negative constraints are powerful. “Explain this without technical jargon” often improves an answer more than any other single sentence.

8. Break Big Tasks Into Smaller Prompts

One giant prompt asking for a whole report or a complete business plan usually produces a shallow result. Split the work into stages and let the AI focus on one step at a time.

For example, to write a blog post: first ask the AI to research the topic and list the key facts, then ask it to turn those facts into an outline, then ask it to draft one section at a time. Each step gets the AI’s full attention, and you can correct the direction between steps instead of starting over at the end.

9. Ask the AI to Check Its Own Work

After the first answer, ask the AI to review it. This simple follow-up catches mistakes, weak arguments, and missing details.

Try prompts like: “What weaknesses or mistakes might be in this answer?” or “Read this draft as a strict editor and list three things to improve.”

10. Iterate — Do Not Start Over

The first answer is a draft, not a final result. Instead of opening a new chat when the answer is close but not right, keep the same conversation and refine it with short follow-ups.

Useful follow-ups include: “Make it shorter.” “Add more detail to the second point.” “Rewrite this for a beginner audience.”

Copy-Paste Prompt Templates

Use these templates as starting points. Replace the text in square brackets with your own details.

Write an email: “You are a professional copywriter. Write a [short / formal / friendly] email to [who] about [topic]. The email should be under [number] words, have a clear call to action, and sound [tone].”

Summarise a document: “Summarise the text below into [number] bullet points for [audience]. Focus on [what matters most] and leave out [what to skip]. Here is the text: [paste text].”

Write a social media caption: “Write 5 Instagram captions for a photo of [describe the photo]. Tone: [funny / inspirational / professional]. Each caption under 25 words, with 5 relevant hashtags.” If you want more caption ideas in seconds, try Usevila’s Caption and Hashtag Generator — it creates ready-to-post captions and hashtags for Instagram, TikTok, Facebook, X, and LinkedIn, free with no sign-up.

Learn something new: “Explain [topic] to me like I am a complete beginner. Use simple words, one everyday example, and a short quiz of 3 questions at the end so I can test myself.”

Name a business: “Suggest 10 business names for a [type of business] that sells [product] to [audience]. The names should be short, easy to spell, and sound [modern / friendly / premium].” For instant name ideas, try Usevila’s Business Name Generator.

Common Prompting Mistakes to Avoid

Being too vague. “Write something about marketing” gives the AI nothing to work with. Add the audience, the format, and the goal.

Trusting the first answer blindly. AI tools sometimes invent facts, dates, and quotes that sound confident but are wrong. Always verify important information from an original source before you use it.

Giving up after one bad answer. A weak first reply usually means a weak first prompt, not a weak tool. Change one thing — add context, give an example, set a format — and try again.

How to Keep Improving

Prompting gets easier with practice. Keep a simple document of prompts that worked well — your best email prompt, your best summary prompt, your best caption prompt — and reuse them instead of writing from scratch each time. When a prompt fails, save the fixed version next to the original so you remember what changed.

Also try the same prompt in more than one AI tool. ChatGPT, Claude, and Gemini each have different strengths, and comparing answers teaches you what each tool is good at.

Frequently Asked Questions

What is a good AI prompt?
A good AI prompt gives the AI a role, a clear task, enough context, the format you want, and any limits such as length or tone. The CLEAR framework — Context, Length, Examples, Ask specifically, Role — is an easy checklist to remember.

How long should an AI prompt be?
As long as it needs to be. A quick question can be one sentence, but for important work, a prompt of 50 to 150 words usually works best. Include every detail that would change the answer.

Do the same prompts work in ChatGPT, Claude, and Gemini?
Yes, mostly. The techniques in this guide — roles, examples, formats, step-by-step thinking — work across all major chatbots. You may need small tweaks, but the structure of a good prompt stays the same.

What is few-shot prompting?
Few-shot prompting means showing the AI two to five examples of the input and output you want before asking for a new one. It is the fastest way to get consistent, style-matched results, especially for classification, formatting, and writing in a specific tone.

Should I be polite to AI?
Politeness does not change the quality of the answer, but clear and respectful instructions do help you think through what you actually want. “Please” is optional; specifics are not.

Start Writing Better Prompts Today

You do not need a course or a paid tool to write better AI prompts. You need five building blocks — role, task, context, format, and constraints — and the habit of treating the first answer as a draft. Pick one technique from this guide and try it on your next question. The difference is usually obvious on the first try.