Prompting 101Beginner12 min

The Anatomy of a Great Prompt

Goal, context, source, expectations: the four elements that separate prompts Copilot nails from prompts it fumbles.


What you'll learn

  • Name the four elements of an effective Copilot prompt
  • Rewrite a vague request into a four-element prompt
  • Tell context and source apart and use each for its own job
  • Decide which element to fix first when an answer disappoints

Before you start

On this page

Tell a new colleague to "look at the numbers" and they'll need to ask which numbers matter, what they're looking for, and who needs the answer. If you ask them to check whether March revenue dipped in the retail segment and email Ayşe the three biggest drivers, they can start. Copilot needs that same clarity, and it can't use your expression or the room around you to work out what you left unsaid.

When a Copilot answer disappoints, the request often left out an instruction the task depended on. The four-part checklist in this lesson helps you find that gap before you send the prompt.

A good prompt has four elements

Microsoft's prompting guidance rests on four elements, and so does every prompt that has worked well for us:

  1. Goal is what you want back: a summary, a table, an email draft, a list of risks. State the action and the deliverable.
  2. Context is why you need it and who it's for: the audience, the situation, the decision it feeds, and any constraint that should shape emphasis.
  3. Source is what Copilot should base the answer on: a file, a meeting, an email thread, pasted text, or the web.
  4. Expectations describe how the output should look: tone, length, format, section order, and what to do when a fact is missing.

You can usually locate the weak element by looking at the failure. "Help with this project" gives Copilot no action or deliverable, so the goal needs work. Start with a verb such as summarize, compare, extract, draft, rewrite, identify, organize, or recommend, then name what you expect back. For context, include the audience, purpose, and constraints that genuinely change the response. Extra background can distract as easily as missing background can. Name the source directly because "the document" may refer to any of several files. Expectations should be observable too. "Make it professional" leaves the standard open, while "neutral tone, five bullets, under 20 words each" gives you a result you can check.

Some quick factual questions don't need the full framework. Use all four elements when the answer will be shared, sent, or used in a decision. If the result misses, identify the element responsible before rewriting the entire prompt. That targeted diagnosis is faster and protects the instructions that already worked.

Start with the goal, always

Make the first sentence of every prompt a precise goal. Strong goals lead with a verb: summarize, compare, extract, draft, rewrite, identify. "Draft a two-paragraph status update" beats "help me with the project."

Each element changes the answer

Each row in the table below adds one element to the same request, and each addition fixes a different problem:

Version Prompt What you get
Vague "Summarize this document" Generic abstract, half a page
+ Goal "Summarize the risks in this document" A risk list, but unranked
+ Context "…for a steering committee deciding go/no-go" Prioritized, decision-oriented
+ Expectations "…as 5 bullets, each under 20 words, in plain English" Something you can paste into your deck

Length is not what fixed the answer in that table. Completeness did. Two sentences that name the goal, the audience, the source, and the format will beat a rambling paragraph.

Each element also repairs a different failure. A goal turns an open-ended request into something you can check. Context changes what the answer emphasizes. A source changes where the facts come from. Expectations change the shape you get back. So if the facts are wrong, adding three more sentences about the goal will not help. You need to name the source instead. Match the fix to the failure: check goal and context if the content is off, check the source if the facts are wrong, and check expectations if only the format needs work.

The four-element status update· copilot-chat
Bad example

Write a quick project status update for the steering committee. Keep it professional.

Good example

Draft a status update for the [project name] steering committee. Goal: inform a go/no-go decision next Tuesday. Base it only on /[status report file]. Keep it to three short paragraphs: progress, risks, ask. Tone: direct, no hype.

Why this works: A three-paragraph draft grounded in your file, ending with a concrete ask you can edit in under two minutes.

How context differs from source

This is the pair people blur most often. Get it wrong and an answer can be factually correct but emphasize the wrong things, or well organized but built on a fact nobody supplied.

Context and source answer different questions, and mixing them up causes the blur:

  • Context: "I'm preparing a Monday briefing for operations leaders who must decide whether to hold the target date." That tells Copilot what to emphasize and how much to explain.
  • Source: "Use only the July 8 project notes for factual statements." That tells Copilot where every fact must come from.

Context is never evidence. Telling Copilot the audience is "senior leaders" does not license it to state a budget figure the notes never mentioned. When the answer will drive a decision, pin the source down with an explicit boundary, such as "Use only the update between SOURCE START and SOURCE END for factual statements," so instructions and evidence never blur together.

When the source is missing a fact you asked for, don't leave a gap for Copilot to fill with something plausible. Tell it what to do instead: "If a requested value is absent from the source, write 'Not provided.'" That single line turns a silent guess into a visible flag you can act on.

Take a risk table pulled from a project update that never named who owns each risk. Without a rule, Copilot may fill the owner column with a name the source never mentioned, and now the table contains a fact nobody supported. A reviewer trusts the tidy table and acts on an owner nobody agreed to. With the "Not provided" rule, that same cell reads "Not provided": the gap stays visible, and you know to go find the real owner. Spell out the missing-information behavior whenever a confident guess costs more than an honest blank.

Rewrite my vague prompt· copilot-chat
Bad example

Can you make this prompt better: "[paste your vague prompt]"?

Good example

Here is a prompt I was about to send: "[paste your vague prompt]". Rewrite it using goal, context, source, and expectations, then ask me for any missing information before answering it.

Why this works: A structured version of your own prompt, plus clarifying questions that turn Copilot into your prompting coach.

Expectations make the answer checkable

Expectations describe how the output should look: tone, audience, required sections and their order, length, table columns or bullet structure, and rules for missing information. Naming them creates a standard you can score the answer against. "Make it professional" can't be scored. "Write for nontechnical leaders in a neutral tone, lead with the decision needed, then status, then a risk table, under 400 words" can.

Expectations get sharper fast with a couple of habits. First, state positive instructions: describe the behavior you want. "Give three specific next actions" is more actionable than "don't be vague." Second, use if-then rules for conditional cases: "If an owner is absent, write 'Not provided.'" Microsoft's own guidance leans on both patterns.

Here is the whole framework as a planning template you can keep next to your keyboard:

Goal: [action and deliverable]
Context: [purpose, audience, and relevant situation]
Source: [material Copilot should use]
Expectations: [format, tone, length, order, and missing-information rules]

The labels are a checklist. Fold them into natural sentences once the habit sticks. What they buy you is a way to inspect an answer instead of just admiring it. When expectations are observable, you can read the response and tick each one: right sections, right order, right length, missing values flagged. A prompt whose success you can't check is a prompt you'll end up re-doing.

One more habit makes expectations more reliable: keep your instructions and your evidence visibly separate. When you paste a source, fence it, for example "Use only the text between SOURCE START and SOURCE END for facts," so a sentence in the source is never mistaken for an instruction, and an instruction is never mistaken for a fact to repeat. That separation matters more as your prompts get longer.

Give missing facts a home

Add one line to prompts that feed a decision: "If a fact is absent from the source, write 'Not provided.'" That one line turns Copilot's most common failure, filling gaps with plausible inventions, into an explicit, visible flag you can act on.

The grounded executive brief· copilot-chat
Bad example

Turn this project update into an executive brief with the important risks and decisions.

Good example

Create a concise executive brief from the pasted project update. Context: a Monday update for operations leaders deciding whether to keep the target date. Use only the text between SOURCE START and SOURCE END for facts. Expectations: neutral tone. Sections: Current status, Decision needed, and a Risk / Impact / Owner table. Under 400 words. If a value is absent, write "Not provided."

Why this works: A leadership-ready brief where every fact traces to your source, and any gap, like an unnamed risk owner, shows as "Not provided" instead of a guess.

Which element should you fix first?

When an answer misses, diagnose it before you rewrite the whole prompt. Read the response against each element in turn: Did it do what the goal asked? Is the emphasis right for the context? Can every fact be traced to the source? Did it follow the format and missing-value rules in your expectations? The first check that fails names the element to fix.

Then correct the single largest failure rather than rewriting from scratch. Say the brief was strong but invented a risk owner. You don't need a new prompt. You need one targeted follow-up: "Revise using only facts stated in the source. The source names no risk owner, so replace any inferred owner with 'Not provided,' and keep all four sections." That preserves the goal and source you already got right and fixes only the element that failed. Rewriting everything risks breaking the parts that worked.

Then verify. A polished sentence still fails if the source doesn't support it, so compare every name, date, number, status, and owner against your evidence before you rely on it. Run through the elements in order as a review checklist: did it do the goal, match the context, stay inside the source, and follow the expectations? You'll practice that targeted fix in the next lesson, Iterate and Refine. For now, look for which element left room for the failure.

Try it yourself

Rebuild a real prompt from your week

Take the last disappointing answer Copilot gave you and find out which element its prompt was missing.

  1. 01

    Find a prompt you sent recently that returned something bland or wrong.

  2. 02

    Label its pieces: does it state a goal, context, a source, and expectations? Note which are missing.

    Hint: Most vague prompts state only a goal.

  3. 03

    Rewrite it with all four elements. Add "If a fact is absent, write 'Not provided'." Then send it again in the same Copilot surface.

  4. 04

    Compare the two answers side by side and name which single element did the most work.

A before-and-after pair that reveals which element mattered most for this task.

Key takeaways

  • Four elements make a prompt work: goal, context, source, expectations.
  • A precise, verb-first goal in the first sentence fixes more prompts than anything else.
  • Context shapes what an answer emphasizes. Source supplies the facts it can use, and context never substitutes as evidence.
  • Expectations spell out format, tone, and length so you can check the output, including a rule for missing facts.
  • When an answer disappoints, diagnose which element is missing before rewriting.

Check your understanding

  1. 1. Your prompt "Summarize the quarterly report" returns a generic overview, but you needed talking points for a customer call. Which element was missing?

  2. 2. Which prompt states an expectation?

  3. 3. A prompt reads: "Prepare a Monday briefing for operations leaders deciding whether to hold the target date. Use only the July 8 notes for facts." Which phrase is the source?

  4. 4. Your prompt asks for a risk table, but the source names no owner for one risk. What is the best way to handle it in the prompt?

  5. 5. Copilot returns a fluent, well-formatted brief. What should you do before you rely on it?

Frequently asked questions

Terms used in this lesson

prompt
The instruction you give an AI assistant: everything Copilot knows about what you want, in one message.
grounding
Basing an answer on a specific source (your files, mail, meetings) instead of the model's general knowledge.
source boundary
An explicit limit, such as "use only the text between SOURCE START and SOURCE END," that keeps facts inside evidence you control.

Further reading