Skip to content
AI fundamentals

How to Write a Good Prompt: A 5-Part Framework for Work

By · Co-Founder & CEO, Intura
· 7 min read
A person typing a prompt on a laptop at a white desk

The short answer

A good prompt gives the AI five things: context, task, input, format and limits. It says who the work is for, what to do, which material to use, how the answer should look and what to avoid. Then you check the answer and ask a follow-up.

Length helps, too. Google found that the most successful prompts in its Workspace tests averaged about 21 words, while people usually typed fewer than nine (Google Prompting Guide 101). So the quickest fix is simple: add detail. Then read the answer, check it and refine the prompt, which is also what OpenAI tells ChatGPT users to do (OpenAI Help Center).

Why a better prompt gets a better answer

An AI model knows nothing about your work unless you tell it. Unless it can see your files or search the web, it can’t know your company, your audience or your goal. A short prompt forces it to guess, and those guesses come out generic.

What the AI companies recommend

The major AI companies give similar advice. OpenAI tells ChatGPT users to be clear and specific and to give enough context (OpenAI). Anthropic’s guide for Claude starts with being clear and direct (Anthropic). Google names four parts of a good prompt: persona, task, context and format (Google).

The framework below builds on Google’s four parts. It folds persona into context, and adds two parts that matter at work: the input you paste in and the limits you set.

A good prompt still needs a check

Even a strong prompt gives you a draft. In Microsoft’s 2026 survey of 20,000 AI users, 86% said they treat AI output as a starting point, not a final answer, and 50% named quality control of AI output as a critical skill (Microsoft Work Trend Index 2026). Plan time to review every answer.

The 5-part prompt framework

Use the five parts in this order. You won’t need all five every time, but the more a task matters, the more parts you should fill in.

Part 1. Context: who you are and who it’s for

Context tells the AI your role, your audience and your goal. For example: “I’m an HR officer at a 200-person logistics company in Surabaya. Most staff read messages on their phones.” Without it, the AI writes for a generic office reader.

You can also give the AI a role, such as “Act as an experienced recruiter.” Google’s guide calls this a persona.

Part 2. Task: the one thing you want done

The task is the verb, and Google calls it the most important part of a prompt. Start with a clear action: write, summarize, compare, rewrite or list.

Add a number when you can. “Write three subject lines” gets a clearer result than “Write some subject lines.” Keep one main task per prompt; if you have several, Google suggests splitting them into separate prompts.

Part 3. Input: the material it should use

Input is your source material: release notes, a survey export, last month’s report. Paste it in or upload the file, then tell the AI to use only that material. That leaves it less room to invent facts.

For long documents, Anthropic suggests an extra step: first ask Claude to pull out exact quotes, then ask it to answer from those quotes (Anthropic). Before you paste anything, remove names, salaries and customer details unless your company has approved the tool.

Part 4. Format: what the answer should look like

Format covers length, structure and tone. Ask for “a table with three columns,” “five bullet points” or “under 100 words,” and name the tone: OpenAI suggests words such as formal, friendly or professional (OpenAI).

If you have a good past example, paste it in. For complex tasks, Anthropic recommends three to five varied examples (Anthropic).

Part 5. Limits: what to avoid

Limits stop common problems before they start: “Don’t invent numbers.” “Don’t use hashtags.” “If you’re unsure, say so.” Google’s guide also recommends constraints such as a character count or the number of options you want.

Copy-and-paste prompt template

Prompt template
Context: I am a [role] at [company]. This is for [audience]. The goal is [goal].
Task: [Verb] [number] [thing].
Input: Use only the material below.
[paste material]
Format: [length], [structure], [tone].
Limits: Don’t [X]. If you’re unsure, say so.

Before-and-after prompts for common work tasks

Here is the framework applied to three real tasks. Each strong prompt uses all five parts.

Marketing: a campaign recap

Weak prompt
Summarize our campaign results.
Strong prompt
I’m a marketing executive at a skincare brand in Jakarta. Summarize our October Instagram campaign for my manager, who has five minutes to read it. Use the CSV I uploaded. Give me three bullet points on what worked, two on what didn’t and one next step. Use only numbers from the file, and show how you calculated cost per sign-up.

HR: a policy announcement

Weak prompt
Write an announcement about the new leave policy.
Strong prompt
I’m an HR officer at a 200-person logistics company. Most staff read messages on their phones. Write a WhatsApp announcement about our new annual leave policy, based on the policy text below. [paste policy] Keep it under 120 words, in Bahasa Indonesia, with a friendly tone. Don’t add rules that aren’t in the policy text.

Everyday work: meeting notes

Weak prompt
Clean up these notes.
Strong prompt
Turn the meeting notes below into a summary for people who missed the call. [paste notes] Use three headings: decisions, action items and open questions. For each action item, list the owner and the due date. If the notes don’t name an owner, write “owner unclear” instead of guessing.
PartMarketingHRMeeting notes
ContextMarketing executive, skincare brand, manager as readerHR officer, logistics firm, staff on phonesPeople who missed the call
TaskSummarize the campaignWrite an announcementTurn notes into a summary
InputUploaded CSVPasted policy textPasted notes
Format3 + 2 + 1 bullet pointsUnder 120 words, Bahasa Indonesia, friendlyThree headings, owner and due date
LimitsFile numbers only, show the mathNo new rules“Owner unclear” instead of guessing
The five parts in each strong prompt

How to check and improve the answer

Treat the first answer as a draft, and plan on one or two follow-up prompts.

Five follow-up prompts that work for most tasks

  1. “What questions do you have that would help you give a better answer?” (Google’s guide suggests this one.)
  2. “What assumptions did you make?”
  3. “Which parts are you least sure about?”
  4. “Rewrite this for a reader with no technical background.”
  5. “Make it 30% shorter and keep the three main points.”

Check before you send

Compare every number and name against your input. Open any link the AI cites. Then read the answer once as your reader would. Google’s guide ends with the same reminder: review the output for clarity, relevance and accuracy, because “the final output is yours” (Google).

Save the prompts that work

When a prompt works well, save it in a note with the date and the tool you used. Next time, swap in new input and reuse it. In a few weeks you’ll have a prompt library for your own job. If you’re new to AI, our guide to learning AI from zero, without coding covers what to learn first.

Frequently asked questions

How long should a prompt be?

Long enough to cover the five parts. Google found that its most successful prompts averaged about 21 words. For complex tasks with pasted material your prompt will run longer, and that’s fine.

Does the same prompt work in ChatGPT, Gemini and Claude?

Mostly, yes. All three companies give similar advice: be clear, add context and refine. Results can still differ, so test important prompts in the tool you use most.

Should I start prompts with “Act as…”?

It can help with tone and focus, but a role alone isn’t enough. You also need the task, the input and the format.

Is it safe to paste work files into a prompt?

Only if your company approves the tool. Before you paste, remove names, salaries and customer details.

Practice prompts in 3 minutes a day

Datamew’s AI & Data Fundamentals track teaches you how to write prompts that get something useful back. Each three-minute lesson ends with a quick check, so you practice instead of only reading. The app is coming soon to iOS and Android. Join the waitlist to get it first.

Join the waitlist

Sources

  1. Google: Gemini for Google Workspace Prompting Guide 101
  2. OpenAI Help Center: Prompt engineering best practices for ChatGPT
  3. Anthropic: Prompting best practices (Be clear and direct; Use examples effectively)
  4. Anthropic: Reduce hallucinations
  5. Microsoft Work Trend Index 2026: Agents, human agency, and the opportunity for every organization (5 May 2026)