Prompting fundamentals

How to Write AI Prompts: A Practical Beginner Guide

Learn how to write clear AI prompts with a five-part framework, before-and-after examples, a practice exercise, and fixes for common mistakes.

By 12 minute readEditorially reviewed August 16, 2026

Updated August 16, 2026

Quick answer

Quick answer

To write a useful AI prompt, state the task clearly, add the context that changes the answer, define the output you want, and tell the AI to ask questions when an important detail is missing. A role can help set the perspective. Then review the response as a draft and revise the prompt based on what the output actually needs.

What is an AI prompt?

An AI prompt is the instruction and information you give an AI tool before it responds. A good prompt works like a useful brief: it explains the job, supplies the facts that matter, and describes what a successful answer should look like.

Prompting is not about secret commands or magic words. The goal is to reduce unnecessary guessing so you receive a first draft that is easier to review and improve.

A vague request such as ‘write a post’ forces the AI to guess the audience, goal, tone, facts, format, and next step. A practical prompt supplies those missing decisions or tells the AI to ask for them.

The five ingredients of a confident prompt

The Confident Prompt Framework uses five simple ingredients. You do not need every ingredient in every sentence, but checking all five prevents the most common gaps.

  • Role: Tell the AI what kind of perspective or expertise should guide the answer.
  • Context: Explain the situation, audience, constraints, and facts the AI should use.
  • Task: State the exact job to complete with a clear action verb.
  • Output: Describe the format, length, tone, structure, or level of detail you need.
  • Clarify: Invite the AI to ask focused questions when an important detail is missing.

Before and after: improve a vague business request

Before: ‘Write an email about my AI workshop.’ This names the format, but the AI still has to guess the reader, goal, facts, tone, length, and call to action.

After: ‘Act as a practical email copywriter. Write a 150-word invitation for small-business owners who are curious about AI but feel overwhelmed. Explain that the 60-minute workshop teaches three everyday uses. Use a warm, plain-language tone, avoid hype and guaranteed results, and end with one clear registration call to action. Ask up to three focused questions if essential details are missing.’

The improved prompt is not better because it is longer. It is better because every added detail changes the answer or makes the result easier to use.

Use the same prompt in ChatGPT and Claude

Start with the same improved prompt in both tools. Do not rewrite it to favor one system before you have evidence. Save the model or product name, date, prompt, and response so the comparison can be repeated later.

Review whether each answer follows the word limit, addresses the intended audience, uses the requested tone, preserves the supplied facts, avoids unsupported claims, and ends with one clear action. Note the differences, then add only the instruction that would fix the weaker result.

In Mike Bradway’s August 16, 2026 test, both tools produced a usable invitation with a warm tone and clear registration action. Both guessed the three workshop uses because the prompt did not provide them. Claude clearly labeled its guesses and asked three questions about the actual uses, delivery details, and price. ChatGPT produced a polished draft but silently added topics, setup details, and question time without asking for confirmation.

The test shows why the Clarify step matters. A structured prompt can control the audience, tone, length, and format, but it cannot replace facts that were never supplied. The smallest useful revision is: ‘If an essential fact is missing, use a labeled placeholder, identify the assumption, and ask the question. Do not invent workshop topics, format, price, schedule, or outcomes.’

Current official guidance from both OpenAI and Anthropic emphasizes clear instructions, relevant context, and explicit output requirements. Each product can still interpret the same brief differently. Treat that difference as test evidence, not proof that one tool is always better.

  • Test date and product or model used
  • Exact prompt, unchanged between tools
  • Required facts present or missing
  • Tone, length, structure, and call to action
  • Invented claims, uncertainty, or questions asked
  • The smallest revision that improved the weaker output

Common prompt problems and the smallest useful fix

When an answer misses the mark, diagnose the gap before replacing the whole prompt. A small targeted revision usually teaches you more than adding a long block of generic instructions.

  • Generic answer: name the audience, goal, and facts that should shape the response.
  • Wrong format: request the exact structure, approximate length, and number of options.
  • Invented details: provide source facts and require the AI to mark unknowns or ask questions.
  • Unhelpful tone: describe the reader and choose plain qualities such as warm, direct, cautious, or professional.
  • Too much information: remove history and instructions that do not change the result.
  • Confident but unreliable answer: request sources or visible assumptions, then verify important claims yourself.

Practice: improve one prompt in ten minutes

Choose one low-risk task you already understand, such as outlining a meeting agenda, rewriting a customer FAQ, or comparing two draft headlines. Do not start with legal, medical, financial, safety, employment, or confidential work.

Write the rough prompt exactly as you would normally ask it. Run it once and save the answer. Then add Role, Context, Task, Output, and Clarify. Run the improved prompt, compare the two results, and write down the one change that mattered most.

  • What result do I need?
  • Who will use it?
  • Which facts and constraints change the answer?
  • What format would make the result immediately useful?
  • Which missing detail should trigger a question?

Review the answer instead of trusting it automatically

Even a strong prompt does not make an AI response automatically correct. Treat the answer as a draft. Check names, numbers, dates, quotations, links, policies, and claims against reliable sources before using them.

Your judgment remains the final quality control. Remove invented details, adjust the tone, and make sure the final work reflects your real experience and responsibilities.

  • Verify factual and time-sensitive claims.
  • Protect private, customer, employee, and company information.
  • Use qualified professionals for legal, medical, financial, safety, or other high-stakes decisions.
  • Save prompts that work so you can improve and reuse them.

Keep learning with the supporting guides and free tool

Use How to Improve an AI Prompt for a focused five-pass diagnosis when a request still feels vague. Use the AI Workflow Checklist to map one recurring business process, clarify handoffs, and decide whether a manual change or a bounded AI trial fits.

The free Confident Prompt Builder can turn a rough request into a structured prompt in your browser and explain the five improvements. It does not send your prompt to an AI service.

Common questions

Do I need special prompt commands?

No. Clear goals, relevant context, useful constraints, and a defined output matter more than secret phrases.

Does the framework work with different AI tools?

Yes. The same briefing principles work with ChatGPT, Claude, Gemini, and similar conversational AI tools.

Should I include private information in a prompt?

No. Remove sensitive personal, customer, employee, financial, health, credential, and confidential business information unless you are using an explicitly approved secure system.

How long should an AI prompt be?

Use the shortest prompt that gives the tool enough direction to produce a useful draft. Keep details that change the answer and remove repetition or unrelated history.

Testing and evidence note

The framework and examples were checked against current official OpenAI and Anthropic prompting guidance on August 15, 2026. Mike Bradway then ran the same business-email prompt in Claude Opus 5 with High effort and ChatGPT with Extra High effort on August 16, 2026. The ChatGPT model label was not visible in the supplied screenshot. Both tools produced usable, roughly 150-word drafts with the requested audience, tone, and registration action. Both also supplied workshop examples that were not in the prompt. Claude labeled its assumptions and asked three focused questions. ChatGPT did not label its additional assumptions or ask a clarifying question. This is one owner-run comparison, not a claim that either product will always behave the same way.

Read our editorial standards for sourcing, AI assistance, corrections, and review practices.

Sources and further reading

Continue learning

Put the framework to work.

Use the free Prompt Builder to improve one real prompt and see the five changes clearly.

Try the free Prompt Builder

Help us improve The AI Mastery Hub

With your permission, privacy-masked analytics show which public pages people visit, how they navigate, and what they click. Sensitive pages and Prompt Builder content are excluded.

Read the analytics privacy details