Skip to content

Lesson 3 ยท Prompting Copilot

Writing Copilot Prompts That Work

Write better Copilot prompts with a four-part pattern of goal, context, source and expectations, plus examples, rewrites, constraints and a reusable template.

A prompt is the request you give Copilot. Vague prompts produce generic answers, because Copilot has to guess who you are, what you need and which material counts. A good prompt does not need clever words. It needs the information a helpful new colleague would need.

Microsoft's own guidance describes four ingredients: a goal, context, expectations and a source. Only the goal is required, but the others usually improve results. This lesson shows how to use each one. For deeper theory, see the anatomy of a prompt.

The four ingredients

Four ingredients of a prompt

Goal What you want
Context Why and for whom
Source What to use
Expectations Shape and tone
1 / 2

Goal is the task. Start with a clear verb: summarize, compare, draft, list, rewrite or explain.

Context explains the purpose and the audience. "For a customer who is upset about a late delivery" changes the whole reply.

Source names the material: an attached file, pasted text, a specific email thread or meeting, or the web. Naming the source reduces guessing. In some experiences Copilot can search your work data, but naming the exact file is still clearer than hoping it finds the right one.

Expectations describe the output: length, format, tone, language, what to leave out, and how to handle uncertainty.

From weak to strong

Here is a weak prompt:

TEXT
Write something about the training.

It has a goal, barely. Compare this one:

TEXT
Draft an email inviting the support team to the new ticketing system training.
Context: the team is busy and has seen two earlier tool changes fail.
Source: use only the dates and rooms in the attached schedule.
Expectations: under 120 words, friendly and direct, with a short list of
what to bring. If a detail is missing from the schedule, write [CHECK]
instead of guessing.

The last line is powerful. It tells Copilot what to do when information is missing. Without it, a model may fill gaps with plausible inventions.

Useful patterns

These patterns cover many everyday tasks. Copy them and fill in the brackets.

TEXT
Summarize [source] for [audience]. Give 5 bullets, then open questions.
Compare [option A] and [option B] in a table: cost, effort, risks. Use only [source].
Before you answer, ask me up to 3 questions about anything unclear.
Rewrite this text in plain English for non-native readers. Keep all numbers.
Act as a skeptical reviewer of [source]. List weak claims and missing evidence.

"Ask me questions first" works well when you do not yet know which detail matters.

Examples and constraints

If you want a particular style, show one example and say which parts to imitate. This is called few-shot prompting, covered in zero-shot and few-shot prompting. Be careful: if your example contains real customer data or a quirk you do not want, the reply may copy it.

State limits positively where you can. "Use short sentences" is clearer than only "Don't be wordy". Add a "do not" for real risks: "Do not mention pricing."

Order can matter. Microsoft's prompt guidance suggests that later parts of a prompt may get more emphasis. Try placing the instruction you care most about near the end, then test whether it helps.

A stand-in: a prompt checker

This script looks for the four ingredients using simple keywords. It cannot judge quality, and Copilot does nothing like it. Use it to practice the habit of looking for missing parts.

Python Stand-in: check a prompt for the four ingredients

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Edit the first prompt until nothing seems missing. Then ask yourself whether a colleague would understand it. That second test matters more than any keyword match.

One task at a time

Large requests are easier when you split them. Instead of "Read these files, find the problems, write a plan and an email to the client", use a short chain:

TEXT
1. List the problems mentioned in the attached files, with the file name.
2. (After you check the list) Suggest actions for problems 1 and 3.
3. (After you agree) Draft the client email using only those actions.

Each step gives you a chance to catch a mistake before it spreads to the next one.

Save what works

When a prompt gives good results more than once, save it with a note:

TEXT
Name: Weekly sponsor update
Use when: turning my notes into a short update
Inputs: this week's notes
Prompt: [paste prompt]
Check before sending: dates, names, any number, tone

Copilot also offers prompt galleries in some experiences. Treat ready-made prompts as starting points; your context is what makes them useful. Teams that share prompts benefit from the habits in prompt libraries in production, even on a small scale.

A worked example

Start with "Help me prepare for the review." It lacks almost everything. Add a goal: "Create a list of questions I may be asked." Add context: "in a quarterly review of the support team with two senior managers". Add a source: "using the attached quarterly report only". Add expectations: "group the questions by topic, give at most eight and mark any that the report cannot answer".

The final prompt is four sentences long. The last instruction is especially useful, because it turns gaps in your report into a preparation list. You now know which answers you still need to find before the meeting.

Prompts in other languages

If English is not your first language, you can usually write in the language you think in most clearly. Language support differs between Copilot features, so check Microsoft's current list. Say which language you want in the reply, especially when the source and the readers use different languages:

TEXT
Reply in Spanish. Keep product names and error messages in English.

If you cannot read the reply language well, ask a fluent colleague to review anything that will be sent to other people. Simple, direct sentences in your prompt usually work better than complex ones in any language. They also make it easier for a colleague to review and reuse your prompt later.

Common mistakes are asking for several unrelated tasks at once, leaving out the audience, forgetting to name the source, and asking for "a perfect result" instead of describing what good looks like. Long prompts are not automatically better, because irrelevant detail can distract.

Practice

Rewrite these three prompts using the four ingredients, then compare your versions with a colleague:

  1. "Help me with the report."
  2. "Make this email better."
  3. "What should we do about the delays?"

For the third, notice that you need a source (which delays, in which data?) before any answer can be trusted.

Check your understanding

Quick check ยท 3 questions

of 3 answered You scored / 3 ยท perfect!

  1. 1. Which prompt ingredient does Microsoft's guidance treat as the one required part?

    A clear goal is enough to start, and the other parts improve the result.
  2. 2. Why add 'write [CHECK] if a detail is missing'?

    Telling the assistant what to do with gaps makes missing information visible.
  3. 3. A prompt asks to compare two vendors but names no source. What is the main risk?

    Without a named source you cannot tell where the claims come from.

Summary

  • Build prompts from goal, context, source and expectations; the goal is essential.
  • Say what to do when information is missing.
  • Use examples carefully and keep private data out of them.
  • Split large jobs into checkable steps and save prompts that work.
  • Judge prompts by whether a colleague would understand them, not by length.

Next: Refining Copilot Conversations

Your progress is saved in this browser. No account needed.