Your profile

One profile for every MSDEVBUILD site. Only you can see it, and the site owner if you write in.

Lesson 13 of 30
❮Prev Next❯

Copilot Spaces, Spark and Pull Request Summaries

Module 2: Copilot Features ⏱ 8 min read Updated

Your note

My notes for this lesson

Select any text in the lesson to highlight it or add a note. Saved in this browser.

    No highlights yet. Select a sentence in the lesson, then pick a colour or add a note.

    All my bookmarks and notes

    Reading settings

    For every lesson, saved in this browser.

    Text size
    Line spacing
    Font

    With IaaS you rent the virtual machine. Microsoft looks after the building, power and hardware; you patch the operating system.

    30-second answer

    Three Copilot features on github.com solve three different problems. A pull request summary comes from the Copilot button in the PR description box: it describes what changed and which files, and you edit in the *why*. Copilot Spaces collect curated context (files, issues, notes and instructions) for a topic, so every question asked in that space is grounded in the same sources and the team can share it. GitHub Spark turns a plain-language description into a working micro app you can refine and publish; it's available on Copilot Pro+ and Copilot Enterprise.

    Simulate it » No Azure account needed

    Exam objective: 2.3.3 Use Spaces, Spark, Pull Request summaries, and customizable review standards via instructions files. (Skills measured as of August 7, 2026)

    Simulations

    Feel it before you read it. No account needed, nothing leaves this page.

    VS Code & GitHub: Pull request summaries, Copilot Spaces and Spark Write a PR summary, set up a Space and see what Spark builds.
    </> Embed

    Embed this simulation

    Free for trainers, teachers and bloggers. Paste this into your page:

    Loading…

    When you open a PR, the <strong>Copilot</strong> button in the description box writes a <strong>summary</strong> of the changes. Edit it: you know the *why* better than the diff does.

    👆 Click the glowing item on screen to continue

    Read the steps as text
    1. When you open a PR, the Copilot button in the description box writes a summary of the changes. Edit it: you know the why better than the diff does.
    2. Copilot Spaces collect the context for a topic (files, issues, notes, instructions) so every question asked in that space is grounded in the same sources. Share a space with your team.
    3. GitHub Spark turns a description into a working micro app you can refine and publish. It’s for small tools and prototypes; review the code like any other.

    🧪 Simulation for learning. Screens are simplified versions of Visual Studio Code and github.com with GitHub Copilot; names, files and suggestions are examples. Not affiliated with GitHub or Microsoft, and nothing here touches your real account.

    😟 THE PROBLEM

    PR descriptions say “fix stuff” and new joiners can’t find anything.

    😊 THE SOLUTION

    Use Copilot PR summaries, Copilot Spaces for shared context, and Spark for quick tools.

    • Empty PR descriptions✓ Copilot summary
    • Context scattered everywhere✓ A Copilot Space
    • Small tool, no time✓ GitHub Spark
    🛠️ Solved with: Copilot on github.com

    Start with a question

    My pull request description just says 'fixes stuff'. Reviewers hate it, new joiners keep asking the same questions, and the product team wants a tiny app nobody has time to build. Is there one fix for all three?

    Not one fix, but three small tools that live on github.com.

    When you open pull request #53 on contoso-shop, Copilot can write the description from the diff. When new joiners keep asking how discounts work, a Copilot Space holds the files, issues and notes that answer it, so they ask the space instead of you. And when the product manager wants a quick page that tracks which discount codes get used, GitHub Spark can build it from a sentence.

    The trick for the exam is knowing which tool matches which problem.

    Explain it like I’m 10

    The technical explanation

    Pull request summaries

    When you create or edit a pull request, the description box has a Copilot button. Select it and Copilot reads the changes and writes a summary, for example:

    What changed: adds page and pageSize query params to GET /orders (max 100).
    Files: src/orders.js, tests/orders.test.js

    It’s a draft. A diff tells Copilot what changed, not why, so add the reason, the risk and how to test it. Then check the summary is accurate: it can describe a change too broadly or miss one. Copilot can also summarise in other places on github.com, but for the exam the PR description is the one to know.

    Copilot Spaces

    A Copilot Space is curated context for a topic. You add:

    SourceExample for contoso-shop
    Files from repositoriesREADME.md, docs/, src/discount.js
    Issues and pull requests#41 HALF applies twice, #44 NaN for unknown codes
    Notes“Discounts never stack. Totals never go below 0.”
    Instructions“Answer for someone new to the codebase. Cite the file.”

    Then you ask questions in the space, and Copilot answers from those sources. You can keep a space personal or share it with your team or organization, so everyone’s questions are grounded in the same material. Compared with custom instructions: instructions are rules added to requests in a repository; a space is knowledge for a topic, and it can pull from more than one repository.

    GitHub Spark

    GitHub Spark builds micro apps from natural language. You describe what you want, Spark builds a working full-stack app and hosts it, and you iterate by chatting or by editing the code. When you’re happy, you publish it, or open the code in a repository to keep working on it like any other project. Spark is available on Copilot Pro+ and Copilot Enterprise.

    It’s for small tools and prototypes. Anything that handles customer data or money needs the same review, tests and security checks as hand-written code.

    You want to…Use
    Describe a pull request’s changes quicklyPR summary
    Give the team one place to ask about a topic, grounded in your sourcesCopilot Spaces
    Build a small app from a descriptionGitHub Spark
    Set rules Copilot follows in a repo, including review standardsCustom instructions
    Architect level What a summary can and can't know

    A PR summary is generated from the diff and the pull request’s own content. It doesn’t know the conversation you had in a meeting, the customer complaint behind the change, or which parts you’re unsure about. That’s exactly what reviewers need most. A good habit: let Copilot write the “what changed” part, then write two lines yourself, “why” and “how to test”. It takes a minute, and it makes the summary honest about where the human judgement went.

    Real-world business scenario

    Online retail

    Contoso (fictional)

    The problem
    Pull request descriptions were empty or vague, new developers took weeks to learn the discount rules, and the marketing team waited months for a small dashboard.
    What they used
    Copilot PR summaries on every pull request, a shared 'Payments rules' Copilot Space with discount.js, refunds.md and the key issues, and GitHub Spark on Copilot Enterprise for the marketing dashboard.
    Why that choice
    Each tool fits one problem: summaries save writing time, the space gives grounded answers from Contoso's own sources, and Spark builds a small internal app from a description.
    The result
    Reviewers get clear descriptions, new joiners ask the space before asking a senior, and marketing had a prototype the same week, reviewed before wider use.

    When to use it and when not to

    ✓ Use it when…

    • PR summaries for a quick, accurate first draft of what changed.
    • Copilot Spaces when a team keeps asking about the same topic and the answers live in known files and issues.
    • GitHub Spark for small internal tools and prototypes, on Pro+ or Enterprise.

    ✕ Think twice when…

    • An unedited summary as the whole PR description. Add the why and how to test.
    • Putting secrets or personal data into a shared space.
    • Shipping a Spark app to customers without the usual review, tests and security checks.

    ↔ Alternatives to consider

    • Custom instructions for rules Copilot should follow in a repository.
    • Copilot coding agent when you want a pull request built from an issue in an existing repo.
    Ready for more?The full lesson adds the technical explanation, when to use it, interview questions and revision notes.

    Test yourself with exercises

    5 original practice questions in the GH-300 style. Pick your answers, then check them. You will see why each option is right or wrong. Score 75% or more and this topic is marked complete.

    Question 1

    Question 1 of 5

    A team wants new developers to ask Copilot questions about the payment rules and receive answers that are grounded in a selected set of files, issues, and notes. The context must be shared with the whole team. Which feature should the team use?

    Question 2

    Question 2 of 5

    A developer opens a pull request and wants Copilot to draft a description of the changes. What should the developer do?

    Question 3

    Question 3 of 5

    A product manager wants to build a small internal app that tracks discount code usage by describing it in natural language. Which feature and plan combination supports this requirement?

    Question 4

    Question 4 of 5 · Select 2

    Which TWO types of content can you add to a Copilot Space?

    Question 5

    Question 5 of 5

    A developer generates a Copilot pull request summary. The summary accurately lists the changed files but does not explain why the change was needed. What should the developer do before requesting reviews?

    Interview preparation

    Say your answer out loud first, then open the model answer. Interviewers care more about your reasoning than the exact words.

    Beginner What does the Copilot button in a pull request description do?

    Model answer

    It reads the diff and writes a summary: what changed, often grouped by file. I still edit it, because the diff shows what changed but not why we changed it or how to test it.

    Interviewer follows up

    Is the summary always right?

    You

    Not always. It can miss intent or describe something too broadly, so I read it like any other Copilot output before I open the PR.

    Intermediate What's a Copilot Space and how is it different from asking Copilot Chat a question?

    Model answer

    A space is curated context. I add the files, issues, notes and instructions for one topic, like onboarding to contoso-shop, and then every question in that space is answered from those sources. Plain chat only has what I attach in that one conversation.

    Experienced developer When would you use custom instructions and when a Copilot Space?

    Model answer

    Instructions are rules that ride along with requests in a repository, like "use the Node test runner". A space is knowledge for a topic, maybe across repos, like the payments rules plus three key issues and an architecture decision. Rules versus reference material.

    Scenario A product manager wants a small app to track which discount codes customers use. No developer has time. What could help?

    Model answer

    GitHub Spark, if they're on Copilot Pro+ or Enterprise. They describe the app, Spark builds and hosts it, and they refine it by chat. If it grows into something customers rely on, it becomes a real project with code review and tests.

    Architecture & design How would you use Spaces to cut onboarding time for a team?

    Model answer

    I'd create an onboarding space with the README, the docs folder, the architecture decision records and the issues a new joiner usually hits, add instructions like "explain for someone new to the codebase", and share it with the team. New people ask the space instead of interrupting seniors, and the answers point back to our own sources.

    Quick revision

    Key points

    • The Copilot button in the pull request description box writes a summary of the changes.
    • Edit the summary. Add the why, the risk and how to test, which a diff can't tell Copilot.
    • Copilot Spaces gather files, issues, notes and instructions so answers are grounded in the same sources.
    • Spaces can be shared with a team or organization.
    • GitHub Spark builds and hosts micro apps from a description. It needs Copilot Pro+ or Enterprise.
    • Review code from any of these like any other Copilot output.

    Important terminology

    Pull request summary
    A description of a pull request's changes that Copilot writes when you select the Copilot button in the description box.
    Copilot Spaces
    A place on github.com to gather files, issues, notes and instructions for a topic, so Copilot answers from that context. Spaces can be shared.
    Space instructions
    Guidance added to a Copilot Space that shapes every answer in it, such as "answer for new joiners".
    GitHub Spark
    A Copilot feature that builds and hosts small full-stack apps from a natural-language description. Available on Pro+ and Enterprise.
    Micro app
    A small, single-purpose app such as an internal tracker or calculator, the kind Spark is built for.

    Common mistakes

    • Opening a pull request with an unedited Copilot summary that says what changed but not why.
    • Confusing Copilot Spaces (shared context for questions) with GitHub Spark (building apps).
    • Assuming Spark is in every plan. It's Pro+ and Enterprise.

    Exam tips

    • "Describe the changes in a pull request quickly" = Copilot PR summary in the description box.
    • "Share curated context so everyone's questions use the same sources" = Copilot Spaces.
    • "Build a small app from a natural-language description" = GitHub Spark.

    Five quick revision questions

    1. 1.Where do you generate a pull request summary?Show

      With the Copilot button in the pull request description box.

    2. 2.What can you add to a Copilot Space?Show

      Files, issues, notes and instructions.

    3. 3.Which plans include GitHub Spark?Show

      Copilot Pro+ and Copilot Enterprise.

    4. 4.Which feature grounds team questions in the same curated sources?Show

      Copilot Spaces.

    5. 5.What should you add to a Copilot PR summary before opening the PR?Show

      The why, the risks and how to test, then check the summary is accurate.

    Official references

    Finished this lesson? Tick it off. Your progress is saved in this browser.

    Next up: Copilot Policies for Organizations and Enterprises

    Studying with a friend? Send them this lesson

    It's free and needs no sign-up. Their progress saves in their own browser.

    Lesson done? Make it stick with a quick gameSort It, Match the Pairs, Lightning Round and Who Am I? Earn XP and badges. Play ❯

    Install MSDEVBUILD Azure

    Free · no account · works offline

    Save the whole course for offline ›

    Hi, I’m your Nimbus

    Your study buddy. Pick what we do next.

    MSDEVBUILD · Multi-Stack Dev Build

    Sign in to MSDEVBUILD

    One account for Azure certifications and the blog: sign in here and you are signed in on both. Your XP, streak, practice deck and certificate stay in sync on every device. Optional: everything works without an account.