Prompt Library

50 Copilot Prompts That Actually Save Time at Work

50 copy-paste prompts

A copy-paste library for Microsoft 365 Copilot and GitHub Copilot, covering Word, Excel, PowerPoint, Outlook, Teams meeting notes, and code. Every prompt is written to reference your real files, threads, and meetings instead of guessing.

In short: This page contains 50 copy-paste ready prompts, organized into 6 categories with a description and pro tip for each. The first 5 prompts are free instantly, no signup needed. Hand-curated and tested by the AI Academy team.

Louis Corneloup
By Louis Corneloup ยท Founder, Techpresso
Last updated ยทHand-curated & tested by the AI Academy team

Word & Documents

8 prompts

Draft a Document From a Brief

1/50

โœจ What it does

Copilot drafts a [type of document] about [topic] for [audience] in a [professional/friendly] tone, under [word count], pulling from [/file name or this document]. Fill those blanks, then edit names and numbers before anyone sees your draft.

Draft a [type of document, e.g. project proposal] about [topic] for [audience]. Use a [professional/friendly] tone, keep it under [word count], and structure it with a short intro, [number] main sections with headings, and a clear next-steps conclusion. Pull any relevant details from [/file name or this document].

๐Ÿ’ก

Pro tip: Type a forward slash in the Copilot box to pick a real file from OneDrive or SharePoint (for example /Q3 Plan.docx) so the draft is grounded in your content instead of invented details.

Rewrite for Tone and Length

2/50

โœจ What it does

Copilot rewrites the selected Word text to be [more concise/more formal/friendlier] and about [30%] shorter, keeping facts and headings, with a note on cuts. Select the passage, then check the flagged cuts before you accept.

Rewrite the selected text to be [more concise/more formal/friendlier] and cut the length by about [30%]. Keep all key facts and any numbers exactly as written, preserve the headings, and flag in a short note at the end anything you removed that I should double-check.

๐Ÿ’ก

Pro tip: Ask Copilot to flag anything it removed so you can catch cases where it drops a caveat or number you actually needed.

Summarize a Long Document

3/50

โœจ What it does

Copilot turns the document into [5] takeaways, an executive paragraph, and open questions or risks. Skim the brief, then assign an owner to anything still undecided on your side.

Summarize this document into [5] key takeaways and a one-paragraph executive summary. Then list any open questions, risks, or decisions that still need an owner. Keep it skimmable with bullet points and bold the most important phrase in each bullet.

๐Ÿ’ก

Pro tip: Asking for open questions and decisions that need an owner surfaces gaps the author left out, not just a restatement of what is already there.

Merge Several Documents Into One Brief

4/50

โœจ What it does

Copilot merges [/file 1], [/file 2], and [/file 3] into one [2-page] brief for [audience], plus a disagreement section. Attach the three files, then resolve the contradictions in your own pass.

Using [/file 1], [/file 2], and [/file 3], write a single [2-page] brief for [audience]. Merge overlapping points, keep the strongest version of each argument, and add a short section listing where the sources disagree or contradict each other.

๐Ÿ’ก

Pro tip: You can reference several files in one prompt by typing a forward slash before each one. Use Browse all files if the document you need is not in the suggested list.

Turn a Document Into a Client-Ready Version

5/50

โœจ What it does

Copilot rewrites the doc for an external [client/partner], strips jargon and confidential bits, and lists what it removed. Read that list, then put back anything a client still needs from you.

Rewrite this document for an external [client/partner] audience. Remove internal jargon, acronyms, and anything confidential such as internal costs or staff names. Explain any technical terms in one clause, keep the structure, and list at the end everything you stripped out so I can confirm.

๐Ÿ’ก

Pro tip: Always read the list of what it removed. Copilot judges confidentiality from wording alone and can miss context that only you know is sensitive.

Write Release Notes From a Changelog

6/50

โœจ What it does

Copilot turns [paste the changelog or reference /file] into customer release notes under [300] words, grouped New, Improved, and Fixed. Paste the changelog, then fix any item that still sounds like engineering to you.

Turn these raw changes into customer-facing release notes: [paste the changelog or reference /file]. Group them into New, Improved, and Fixed. Write each item in one sentence focused on the user benefit rather than the technical change, and keep the whole thing under [300] words.

๐Ÿ’ก

Pro tip: Say "focused on the user benefit" or Copilot will simply reformat your commit messages, which reads as noise to customers.

Build a Document From a Template

7/50

โœจ What it does

Copilot fills a [statement of work/project charter] using [/template file] and [/source file or the notes below], with [TBD] where the source is silent. Open the template, then replace every TBD before you send it.

Create a [statement of work/project charter] following the exact structure of [/template file]: same section headings, same order, same tone. Fill it in using the details from [/source file or the notes below], and put [TBD] in any section where the source material does not give you an answer.

๐Ÿ’ก

Pro tip: Requiring [TBD] for missing sections is the single best guard against Copilot inventing scope, dates, or pricing that nobody agreed to.

Stress-Test a Draft Before Sending

8/50

โœจ What it does

Copilot reviews the draft as [a skeptical CFO/our biggest client], listing [5] weak claims and unanswered questions, without rewriting. Pick the persona, then answer the questions in your next draft.

Review this document as if you were [a skeptical CFO/our biggest client]. List the [5] weakest claims, the questions they would ask that this draft does not answer, and any place where the logic jumps ahead. Be blunt and specific, quote the sentence you are criticizing, and do not rewrite the document.

๐Ÿ’ก

Pro tip: Add "do not rewrite the document" or Copilot defaults to producing a polished new version instead of telling you what is wrong with yours.

Prompts get you started. Tutorials level you up.

A growing library of 300+ hands-on AI tutorials. New tutorials added every week.

Start 7-Day Free Trial

Excel & Data

8 prompts

Explain and Build a Formula

9/50

โœจ What it does

Copilot writes the Excel formula to [calculate the % change between column C and column D, ignoring blanks], plus where to put it and divide-by-zero warnings. Paste the formula, then test it on a blank and a zero in your sheet.

In this sheet, I want to [calculate the % change between column C and column D, ignoring blanks]. Write the exact formula, tell me which cell to put it in, explain in one sentence what each part does, and warn me about any edge cases such as dividing by zero that I should handle.

๐Ÿ’ก

Pro tip: Asking about edge cases makes Copilot add IFERROR or blank handling you would otherwise discover only when the sheet breaks in front of someone.

Analyze a Table for Trends

10/50

โœจ What it does

Copilot finds the top [3] trends, outliers, and the one insight a manager should know, plus a chart type. Read the cited rows, then build that chart only if the numbers match your table.

Analyze the data in this table and tell me the top [3] trends, any outliers, and the single most important insight a manager should know. Reference specific rows or values to back up each point, then suggest one chart type that would best visualize the main trend.

๐Ÿ’ก

Pro tip: Make Copilot cite specific rows and values for each claim so you can verify it against the data rather than trusting a vague summary.

Clean Up Messy Data

11/50

โœจ What it does

Copilot lists cleanup steps for formatting, duplicates, blanks, and text-dates, with the Excel feature and the order to apply them. Run the steps in that order, then save a copy of your sheet first.

Suggest steps to clean this table for analysis: identify inconsistent formatting, duplicates, blank cells, and date columns stored as text. For each issue list the affected columns and the exact Excel feature or formula to fix it, in the order I should apply them.

๐Ÿ’ก

Pro tip: Request the fixes in the order you should apply them so deduping does not undo the formatting changes you just made.

Add a Status Flag Column

12/50

โœจ What it does

Copilot adds a column that flags ["On track", "At risk", or "Overdue"] from [the date in column E versus today], plus colors. Drop in the formula, then check a known overdue row on your sheet.

Add a new column that flags each row as ["On track", "At risk", or "Overdue"] based on [the date in column E versus today]. Give me the formula, explain the logic, and suggest conditional formatting colors so the statuses are easy to scan.

๐Ÿ’ก

Pro tip: Pair the formula request with a conditional-formatting suggestion so the column is readable the moment it is added.

Build a PivotTable From a Question

13/50

โœจ What it does

Copilot designs a PivotTable for [revenue by region and month for this year]: rows, columns, values, sort, and a two-sentence read. Build it as specified, then check the totals against your sheet.

I want to know [revenue by region and month for this year]. Build the PivotTable that answers it: tell me which fields go in rows, columns, and values, which aggregation to use, and how to sort it so the biggest contributors are at the top. Then describe in two sentences what the result shows.

๐Ÿ’ก

Pro tip: Copilot works best on data formatted as an Excel table. Select your range and press Ctrl+T first, and give the columns clear headers.

Reconcile Two Data Sets

14/50

โœจ What it does

Copilot compares [sheet A] and [sheet B] on [the invoice ID column] and differing [amounts], plus a rerunnable method. Run that method, then clear the mismatches before you close the month.

Compare [sheet A] and [sheet B] on [the invoice ID column]. Tell me which rows exist in one but not the other, which rows match but have different [amounts], and give me the formula or approach to produce that list automatically so I can rerun it next month.

๐Ÿ’ก

Pro tip: Ask for a repeatable approach, not just the answer, so next month you rerun a formula instead of asking Copilot from scratch.

Forecast From Historical Data

15/50

โœจ What it does

Copilot forecasts [the next 6 months] of [revenue] from [monthly] history, with low, expected, and high cases and the sensitive assumption. Change the assumption you distrust, then bring the three cases to the budget talk.

Using the [monthly] history in this table, project [the next 6 months] of [revenue]. Show the method you used, state the assumptions in plain language, give a low, expected, and high case, and tell me which assumption the forecast is most sensitive to.

๐Ÿ’ก

Pro tip: Requiring assumptions in plain language is what makes the forecast reviewable. A number without a stated method is not something you can present.

Chart the Story, Not the Data

16/50

โœจ What it does

Copilot builds a chart that [our churn dropped after the March release], with type, columns, a takeaway title, and what would undermine it. Plot it, then drop the claim if the undermining note is true for you.

Build a chart from this table that makes the point that [our churn dropped after the March release]. Choose the chart type, tell me which columns to plot, suggest a title that states the takeaway rather than describing the axes, and note anything in the data that would undermine this conclusion.

๐Ÿ’ก

Pro tip: Asking what would undermine the conclusion is the difference between a chart and a spin exercise. It catches the outlier your audience will spot.

PowerPoint & Presentations

8 prompts

Build a Deck From a Word Document

17/50

โœจ What it does

Copilot makes a [10]-slide deck from [/document name] for [audience], one idea per slide, plus summary and ask. Generate it, then rewrite any slide that still reads like a paragraph to you.

Create a [10]-slide presentation based on [/document name] for [audience]. Use one clear idea per slide, write a punchy title and 3 to 4 concise bullets each, suggest a relevant image or icon per slide, and finish with a summary slide and a call-to-action slide.

๐Ÿ’ก

Pro tip: Specify one idea per slide and a slide count, or Copilot overloads slides and produces a deck that is too long to actually present.

Rewrite Slide Text to Be Punchy

18/50

โœจ What it does

Copilot tightens the slide to [5] bullets and a stronger title, and flags where a chart would beat text. Accept the tighter lines, then add the visual if the numbers are your point.

Rewrite the text on this slide to be more concise and presentation-ready: short phrases instead of full sentences, a maximum of [5] bullets, and a stronger title. Keep all the key numbers and suggest where a chart or visual would communicate the point better than text.

๐Ÿ’ก

Pro tip: Asking where a visual would communicate better than text cuts bullet bloat and identifies the slides that should become a chart.

Generate Speaker Notes

19/50

โœจ What it does

Copilot writes speaker notes: [3] talking points per slide, a transition, and a [20]-minute budget in spoken language. Rehearse with a timer, then cut slides if you run long.

Write speaker notes for each slide in this deck. For every slide give me [3] talking points in the order I should say them, one transition sentence into the next slide, and a rough time budget so the whole deck fits in [20] minutes. Write it the way I would say it out loud, not the way it reads on the slide.

๐Ÿ’ก

Pro tip: The time budget is the useful part. It tells you immediately whether your 30-slide deck fits a 20-minute slot, which it usually does not.

Restructure a Deck That Does Not Flow

20/50

โœจ What it does

Copilot audits the deck's story: breaks, repeats, reorder or merge or cut, and what is missing before the ask. Apply the new order, then write the missing slide yourself if you agree.

Review this deck as a narrative. Tell me the story it currently tells, where the argument breaks or repeats, which slides should be reordered, merged, or cut, and what is missing before the ask on the final slide. Give me a recommended slide order with a one-line reason for each change.

๐Ÿ’ก

Pro tip: Copilot can only see the deck it is in, so open the actual file first. Reviewing a deck by pasting slide titles into chat loses everything that matters.

Add a Slide That Is Missing

21/50

โœจ What it does

Copilot adds a slide after slide [4] on [the implementation timeline], matching tone and [4] bullets. Insert it, then check it still looks like the rest of your deck.

Add a slide after slide [4] that covers [the implementation timeline]. Match the tone, bullet style, and level of detail of the surrounding slides, keep it to [4] bullets, and suggest a simple visual such as a timeline or a three-column layout.

๐Ÿ’ก

Pro tip: Naming the position and telling Copilot to match the surrounding slides prevents a new slide that visibly comes from a different deck.

Summarize a Deck Someone Sent You

22/50

โœจ What it does

Copilot summarizes the deck in [10] bullets covering the proposal, evidence, ask, and assumptions, plus [3] questions and unsupported claims. Walk into the meeting with those questions, not a reread of 60 slides you barely saw.

Summarize this presentation in [10] bullets: what is being proposed, the supporting evidence, the ask, and the assumptions it depends on. Then list the [3] questions I should ask in the meeting, and flag any claim that is stated without data behind it.

๐Ÿ’ก

Pro tip: Copilot in PowerPoint can summarize large decks, but very long files can get truncated. Split a 150-slide deck before asking for a full summary.

Adapt One Deck for a New Audience

23/50

โœจ What it does

Copilot adapts the deck for [an executive audience instead of the technical team], cuts to [7] slides, and lists removals. Check the cut list, then restore any number an exec will ask you for.

Adapt this deck for [an executive audience instead of the technical team]. Cut implementation detail, lead with the business outcome and the numbers, reduce it to [7] slides, and rewrite every slide title so it states a conclusion. Tell me which slides you removed and why.

๐Ÿ’ก

Pro tip: Rewriting titles so they state a conclusion is the highest-leverage change in any deck. An executive who reads only the titles should get the whole argument.

Write the Follow-Up After You Present

24/50

โœจ What it does

Copilot drafts a follow-up to [audience] with [3] points, the decision, owners, under [150] words, and one yes-or-no question. Send it within an hour, then wait for the reply instead of attaching your deck.

Based on this deck, draft a follow-up email to [audience] recapping the [3] main points, the decision we asked for, and the next steps with owners. Keep it under [150] words, attach nothing, and end with a single clear question that makes it easy to reply yes or no.

๐Ÿ’ก

Pro tip: Ending with one yes-or-no question consistently gets faster replies than a summary that leaves the reader to work out what you want.

Like these prompts? There are full tutorials behind them.

Learn the workflows, not just the prompts. 300+ easy-to-follow tutorials inside AI Academy โ€” and growing every week.

Try AI Academy Free

Outlook & Email

8 prompts

Reply to an Email Thread

25/50

โœจ What it does

Copilot drafts a thread reply that [confirms the meeting / declines politely / answers their three questions] under [120 words], with a [bracketed placeholder] for your details. Fill every placeholder, then send.

Draft a reply to this email thread that [confirms the meeting / declines politely / answers their three questions]. Match the sender's level of formality, keep it under [120 words], end with a clear call to action, and leave a [bracketed placeholder] anywhere I need to add a specific detail.

๐Ÿ’ก

Pro tip: Telling Copilot to leave bracketed placeholders for specifics it cannot know, such as dates or prices, means you never send a confidently wrong reply.

Catch Up on a Long Thread

26/50

โœจ What it does

Copilot summarizes the thread: who, decisions, opens, and what they need from you, plus a one-line reply. Send that line if it is right, or rewrite it in your voice.

Summarize this email thread: who is involved, what has been decided, what is still open, and what action is expected from me. Present it as a short bulleted brief, then suggest a one-line reply I could send to move it forward.

๐Ÿ’ก

Pro tip: Ending with a suggested one-line reply turns the summary into an action instead of just context you still have to act on.

Triage Your Inbox

27/50

โœจ What it does

Copilot groups unread mail from [the last 3 days] into reply-today, waiting, FYI, and archive, with sender and ask. Answer the first group today; archive the last without guilt on your part.

Go through my unread email from [the last 3 days] and group it into: needs a reply from me today, waiting on someone else, FYI only, and can be archived. For each item in the first group, give me the sender, the ask in one line, and how urgent it looks based on the thread.

๐Ÿ’ก

Pro tip: Copilot in Outlook can prioritize your inbox natively, but a grouped prompt like this gives you the reasoning, so you can disagree with its ranking.

Write a Follow-Up That Is Not Annoying

28/50

โœจ What it does

Copilot drafts an [8]-day chaser under [60] words: the ask, the deadline, an easy no, and a preview-friendly subject. Send it once, then stop chasing if they take the out you offered.

Draft a follow-up to this thread. It has been [8] days with no reply. Keep it under [60] words, do not apologize for following up, restate the one thing I need and by when, and give them an easy out if the answer is no. Suggest a subject line that makes the ask visible in the preview.

๐Ÿ’ก

Pro tip: The "do not apologize" instruction matters. Copilot defaults to hedging openers like "sorry to bother you" that make the ask easier to ignore.

Turn a Thread Into a Decision Log

29/50

โœจ What it does

Copilot builds a decision log table for [a Word doc / our project page]: decision, who, date, source, plus unresolved items. Paste the table, then confirm dates against the thread on your side.

Read this thread and produce a decision log: each decision, who made it, the date, and the message it came from. Then list anything that was raised but never resolved. Format it as a table I can paste into [a Word doc / our project page].

๐Ÿ’ก

Pro tip: Asking for the message each decision came from lets you verify it. Copilot occasionally reads a proposal as a decision when nobody actually confirmed.

Check Tone Before You Send

30/50

โœจ What it does

Copilot reviews the draft for [recipient, who is currently frustrated about the delay], flags defensive lines, and rewrites delivery only. Keep the news, then send the calmer sentences from your pass.

Review this draft before I send it to [recipient, who is currently frustrated about the delay]. Tell me how it will land, flag any sentence that sounds defensive, dismissive, or passive-aggressive, and suggest a rewrite for each one. Do not soften the actual message, only the delivery.

๐Ÿ’ก

Pro tip: Copilot in Outlook has a built-in Coach that reviews tone, clarity, and sentiment on a draft. This prompt does the same job with the context you add about the recipient.

Draft a Difficult Message

31/50

โœจ What it does

Copilot drafts an email to [client/team] that [the delivery date is slipping by three weeks], news first, under [150] words. Change the date if your slip is different, then send it the same day.

Draft an email telling [client/team] that [the delivery date is slipping by three weeks]. Lead with the news in the first sentence, give the reason in one line without blaming anyone, state exactly what we are doing about it and the new date, and close by inviting a call. Under [150] words, no filler.

๐Ÿ’ก

Pro tip: Lead with the news is the key instruction. Left alone, Copilot buries the bad part in paragraph three, which reads as evasive.

Plan Your Day From Mail and Calendar

32/50

โœจ What it does

Copilot builds a today plan from calendar and mail into [must-do, should-do, can-wait], plus unprepared meetings and one easy miss. Do the must-do block first; do not reshuffle your morning away.

Based on my calendar and recent emails, suggest a priority plan for today. Group tasks into [must-do, should-do, can-wait], flag any meetings I am unprepared for, and call out one thing that is easy to forget. Keep it to a short, scannable list.

๐Ÿ’ก

Pro tip: Flagging meetings you are unprepared for turns the plan into prep triggers rather than a to-do list you will ignore by 11am.

Teams & Meeting Notes

9 prompts

Recap a Teams Meeting

33/50

โœจ What it does

Copilot recaps the Teams meeting into decisions, owned actions, open questions, and a channel post. Post that recap before you leave the call, then check owners agree.

Summarize this meeting: list the key decisions, the action items with an owner and due date where mentioned, and any unresolved questions. Then draft a short follow-up message I can post in the channel recapping what was agreed and who owns what.

๐Ÿ’ก

Pro tip: Copilot can only recap a meeting that was recorded or transcribed. Turn on transcription before the call starts, because you cannot add it afterwards.

Catch Up on a Meeting You Missed

34/50

โœจ What it does

Copilot briefs you on a missed meeting: discussion, decisions, mentions of [my name or my project], and any action still on you. Read the bolded lines, then reply only where you owe a response.

I missed this meeting. Give me a brief catch-up: what was discussed, what was decided, anything that mentioned [my name or my project], and whether there is any action expected from me. Keep it to a short bulleted summary and bold anything that needs my response.

๐Ÿ’ก

Pro tip: Naming your project explicitly makes Copilot surface mentions you would otherwise miss halfway through a 50-minute transcript.

Extract Only the Action Items

35/50

โœจ What it does

Copilot lists only committed actions: owner, verb, due date, timestamp, or OWNER UNCLEAR. Paste the list into Planner or To Do, then assign every unclear owner on your team.

From this meeting, list only the action items. One line each: owner, the action phrased as a verb, the due date if one was given, and the timestamp where it was agreed. Skip discussion, context, and anything that was suggested but not committed to. If an item has no clear owner, put OWNER UNCLEAR.

๐Ÿ’ก

Pro tip: OWNER UNCLEAR is the trick that makes this reliable. Copilot otherwise assigns tasks to whoever spoke last, which quietly creates fake accountability.

Write Formal Minutes

36/50

โœจ What it does

Copilot writes formal minutes: attendees, agenda, discussion, decisions, votes, and owned actions, in neutral third person. Circulate them the same day, then correct attendance before they become your record.

Produce formal minutes for this meeting: date, attendees, apologies, agenda items in order, a short record of the discussion under each, decisions taken with any vote or approval noted, and actions with owners. Neutral third-person tone, no adjectives, no interpretation of what people meant.

๐Ÿ’ก

Pro tip: The instruction against interpretation matters here. Copilot tends to smooth over disagreement, and minutes that hide a dissent are worse than no minutes.

Find What Was Decided About One Topic

37/50

โœจ What it does

Copilot pulls everything said about [topic], by whom, in order, with quotes, keeping separate recurrences. Fill the topic, then use the quotes if you need to replay the decision.

Across this meeting, pull out everything related to [topic]. Give me what was said, by whom, in what order, and what the conclusion was. Quote the key lines. If the topic came up more than once, keep them separate rather than merging them into one summary.

๐Ÿ’ก

Pro tip: Keeping repeat mentions separate matters because positions change during a meeting. A merged summary can present someone's first take as their final one.

Turn Notes Into Action Items

38/50

โœจ What it does

Copilot turns [paste notes or reference the file] into actions with owner, verb, and implied due date, flagging vague items. Paste the notes, then clarify anything it marked too vague for you.

Convert these rough notes into a clean action list: [paste notes or reference the file]. Each item should have an owner, a clear next step phrased as a verb, and a due date where one is implied. Flag anything too vague to act on so I can clarify it.

๐Ÿ’ก

Pro tip: Having Copilot flag vague items separately stops you assigning half-defined tasks that bounce back a week later.

Prep for a Meeting

39/50

โœจ What it does

Copilot preps you for [topic] with [person/team]: recent mail and docs, [3] talking points, likely questions, and an opening line. Skim it on one screen, then walk in with the opening.

Help me prepare for my upcoming meeting about [topic] with [person/team]. Summarize recent relevant emails and documents, suggest [3] talking points, list likely questions they may ask, and draft one strong opening line. Keep it on a single screen.

๐Ÿ’ก

Pro tip: Naming the person or team lets Copilot pull the specific thread and file history, which makes the talking points far sharper than a generic agenda.

Summarize a Busy Teams Channel

40/50

โœจ What it does

Copilot summarizes this channel from [the last week] by topic: decisions, unanswered questions, and notes to you or [my team]. Open the still-active threads, then answer the ones aimed at you.

Summarize the activity in this channel from [the last week]: main topics, decisions made in chat, questions still unanswered, and anything directed at me or [my team]. Group by topic rather than chronologically, and note which threads are still active.

๐Ÿ’ก

Pro tip: Grouping by topic instead of by day is what makes this readable. Chronological summaries of chat recreate the same mess you were trying to escape.

Compare Two Meetings on the Same Project

41/50

โœจ What it does

Copilot compares [meeting 1] and [meeting 2] on [project]: reversed decisions, moved dates, added scope, and ignored concerns. Bring that before-and-after list to your next steering meeting.

Compare [meeting 1] and [meeting 2] on [project]. What changed between them: decisions that were reversed, dates that moved, scope that was added, and concerns that were raised in the first and never addressed in the second. Present it as a short before-and-after list.

๐Ÿ’ก

Pro tip: Both meetings need saved transcripts for this to work. Reference each one by name in the prompt so Copilot pulls the right recordings.

Go from copy-pasting to actually mastering AI.

AI Academy: 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ other tools. New tutorials added every week.

Start Your Free Trial

GitHub Copilot for Developers

9 prompts

Explain Unfamiliar Code

42/50

โœจ What it does

GitHub Copilot explains #selection in plain steps: inputs, outputs, side effects, and one breakage, assuming you know [language] but not this repo. Read it, then change the code only after you agree with the side effects.

Explain what #selection does in plain language, step by step. Call out the inputs and outputs, any side effects or external calls, and one thing that could break it. Assume I am familiar with [language] but new to this codebase.

๐Ÿ’ก

Pro tip: Stating your familiarity level stops Copilot explaining basic syntax and pushes it toward the part that is actually confusing: the project-specific logic.

Generate Unit Tests

43/50

โœจ What it does

GitHub Copilot writes tests for #selection in [testing framework], covering happy path, edges, a failure, mocks, and a manual-check comment. Run the tests, then verify the case it asked you to check by hand.

/tests for #selection using [testing framework]. Cover the happy path, edge cases, and at least one failure case. Use clear test names that describe the scenario, mock any external dependencies, and add a comment for any case you think I should verify manually.

๐Ÿ’ก

Pro tip: Asking it to comment the cases to verify manually surfaces the assumptions it baked into mocks, which is where generated tests usually go wrong.

Refactor for Readability

44/50

โœจ What it does

GitHub Copilot refactors #selection for naming and nesting without changing behavior, then lists what it changed. Diff the result, then keep only the edits you still want.

Refactor #selection to be more readable and maintainable without changing its behavior. Improve naming, reduce nesting, and extract reusable logic where it makes sense. Show the updated version, then list the specific changes you made and why in a short bullet list.

๐Ÿ’ก

Pro tip: Requiring the list of changes and why lets you review the diff intentionally instead of trusting a silent rewrite of code you shipped.

Debug an Error

45/50

โœจ What it does

GitHub Copilot diagnoses [paste error message] against #selection, with a likely cause, a fix, and two backups. Paste the error, try the first fix, then use the backups if it still fails on you.

I am getting this error: [paste error message]. The relevant code is #selection. Identify the most likely cause, explain why it happens, and give me a corrected version. List two other less-likely causes I should check if your first fix does not work.

๐Ÿ’ก

Pro tip: Asking for two less-likely causes gives you a fallback path, which saves a second round trip when the obvious fix turns out to be wrong.

Write a Function From a Spec

46/50

โœจ What it does

GitHub Copilot writes a [language] function that [does X] from [inputs] to [output], handling [these edge cases], plus a docstring and assumptions. Read the assumptions, then add tests before you merge.

Write a [language] function that [does X], taking [inputs] and returning [output]. Handle [these edge cases], follow the existing conventions in this file, and add a short docstring. After the code, note any assumptions you made about the inputs.

๐Ÿ’ก

Pro tip: Telling Copilot to follow the conventions in this file keeps generated code from clashing with your project's naming and error-handling style.

Write Repo Custom Instructions

47/50

โœจ What it does

GitHub Copilot drafts .github/copilot-instructions.md from this workspace: stack, folders, naming, tests, and what it should never do. Save the file, then edit any convention it guessed wrong for your repo.

@workspace Draft a .github/copilot-instructions.md for this repository. Cover the stack and versions actually used here, the folder structure and what belongs where, naming and error-handling conventions you can infer from the code, the testing framework and how tests are named, and what Copilot should never do in this repo. Base every line on what is in the codebase, not on general best practice.

๐Ÿ’ก

Pro tip: Repository custom instructions live at .github/copilot-instructions.md and are sent with every request. Keep them short and specific, because vague rules dilute the ones that matter.

Create a Path-Scoped Instruction File

48/50

โœจ What it does

GitHub Copilot writes a [frontend].instructions.md for [src/components/**] with applyTo and local rules inferred from that folder. Adjust applyTo if your path differs, then commit it so the team shares the rules.

Create a [frontend].instructions.md file for .github/instructions/ that applies to [src/components/**]. Include the applyTo frontmatter, then the rules that only apply to this area: component structure, styling approach, state management, and accessibility requirements. Infer them from the existing files in that folder and keep it under [30] lines.

๐Ÿ’ก

Pro tip: Path-scoped .instructions.md files use an applyTo glob in the frontmatter and stack on top of the repo-wide file, so only put the differences in them.

Save a Reusable Prompt File

49/50

โœจ What it does

GitHub Copilot turns [describe the recurring task] into a .prompt.md with steps, files, conventions, and checks. Save it where teammates can invoke it, then run it once on your machine.

Turn this task into a reusable .prompt.md file: [describe the recurring task, e.g. adding a new API endpoint]. Include the steps in order, which files usually need to change, the conventions to follow, and the checks to run before it is done. Write it so a teammate who has never done this task could run it.

๐Ÿ’ก

Pro tip: Prompt files are per-interaction, unlike custom instructions which apply to every request. Use instructions for how the repo works and prompt files for how a specific job gets done.

Review a Change Before You Open the PR

50/50

โœจ What it does

GitHub Copilot reviews staged changes as a strict reviewer: bugs, errors, security, convention breaks, ranked, no formatting nits. Fix the high-severity items, then open your PR.

@workspace Review my staged changes as a strict reviewer on this codebase. Flag bugs, unhandled errors, security issues, and anything that breaks the conventions in this repo. For each finding give the file, the line, the risk, and the fix. Rank them by severity and do not comment on formatting.

๐Ÿ’ก

Pro tip: Excluding formatting is what keeps the output usable. Otherwise half the findings are spacing notes your linter already handles.

Free tool

Prompt Optimizer

Turn a rough idea into a structured, professional AI prompt.

Try it free โ†’

Frequently Asked Questions

The best Copilot prompts are the ones tied to a specific file, thread, or meeting rather than a general request. In practice the highest-value ones at work are: summarize this meeting into decisions and action items with owners, build a deck from this Word document, write and explain this Excel formula, summarize this email thread and tell me what is expected from me, and turn my rough notes into an assignable task list. Those five cover most of the time Copilot actually saves in a normal week. All 50 prompts on this page are grouped by app so you can find the one that matches what is open on your screen.
Give it four things: the task, the source, the format, and the constraints. The task is what you want done. The source is the file, thread, or meeting it should work from, referenced with a forward slash in Microsoft 365 Copilot so it uses your real data. The format is how you want the answer back, such as five bullets, a table, or a 150-word email. The constraints are the limits, such as a word count, a tone, or a rule like leave a placeholder anywhere you are unsure. Vague prompts get generic answers because Copilot fills the gaps with averages. The bracketed placeholders in these prompts exist so you can fill in exactly those details.
They are two separate products with separate licenses. Microsoft 365 Copilot is built into Word, Excel, PowerPoint, Outlook, and Teams, and works with your organization documents, emails, and meetings. GitHub Copilot is a coding assistant that lives in editors like VS Code, Visual Studio, and JetBrains IDEs, plus a CLI, and works with your repositories. There is also a free consumer Copilot chat at copilot.microsoft.com, which is a general assistant with no access to your work files. This page covers all three contexts, grouped by where you use them.
Microsoft 365 Copilot can access the content you already have permission to see in your tenant, including your OneDrive and SharePoint files, Outlook mail, and Teams chats and meetings. It does not grant you access to anything you could not open yourself, and your prompts and company data are not used to train the underlying foundation models. GitHub Copilot works from the files and repository open in your editor. If your organization has not enabled Microsoft 365 Copilot, prompts on this page that reference your documents or meetings will not work, but the writing, analysis, and coding prompts still do.
In Microsoft 365 Copilot, type a forward slash followed by the name of the file, person, or meeting. Copilot shows a short list of recent and suggested items, and you pick the one you want. If the file you need is not listed, choose Browse all files to search everything you have access to in OneDrive and SharePoint. You can reference several items in one prompt by using a forward slash before each, and you can reference a whole folder. In GitHub Copilot Chat the equivalents are hash file for a specific file, hash selection for the code you have highlighted, and at workspace for the whole repository.
Ask for structure, not a summary. The prompts that work best request decisions, action items with an owner and a due date, and unresolved questions as three separate lists, because a plain summary flattens all three into prose. Add an instruction like mark any item with no clear owner as unclear, so Copilot does not silently assign a task to whoever spoke last. One thing to check first: Copilot can only recap a Teams meeting that was recorded or transcribed, and transcription has to be switched on before or during the call. You cannot add it afterwards. The Teams and Meeting Notes section above has nine prompts covering recaps, formal minutes, catching up on a call you missed, and comparing two meetings on the same project.
Yes, in two ways. Custom instructions apply to every request in a repository: put them in .github/copilot-instructions.md at the repo root, or in path-scoped files under .github/instructions/ with an applyTo glob so different folders get different rules. These layers merge and are sent with each request, which is why they should be short and specific to your codebase. Prompt files are different: a .prompt.md file holds one reusable task you invoke on demand in Copilot Chat, which is the right place for a workflow like adding a new endpoint. Use instructions for how the repo works and prompt files for how a specific job gets done.

Is GitHub Copilot worth paying for?

Read our honest, no-hype breakdown with the real pricing.

Read review โ†’

Prompts are the starting line. Tutorials are the finish.

A growing library of 300+ hands-on tutorials on ChatGPT, Claude, Midjourney, and 50+ AI tools. New tutorials added every week.

7-day free trial. Cancel anytime.