Your profile

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

Quick revision

GH-300 flashcards and glossary

150 flashcards from 30 topics. Try to answer before you flip the card.

Glossary

--allow-tool
A flag that pre-approves a tool, for example 'write', 'shell(git)' or an MCP server's tool.
--continue
Resumes the most recent Copilot CLI session. --resume lets you pick an earlier one.
--deny-tool
A flag that blocks a tool. A deny always beats an allow.
!command
Syntax in a Copilot CLI session that runs a shell command directly, such as !git status.
@path
Syntax in a Copilot CLI prompt that adds a file to the context, such as @src/cart.js.
/clear
A chat slash command that clears the current conversation so the next prompt starts without old history.
/compact
Summarises the conversation so far to free space in the context window without starting over.
/doc
A Copilot Chat slash command that generates documentation comments for the selected code.
/explain
A Copilot Chat slash command that explains the selected code or the active file in plain language.
/fix
A Copilot Chat slash command that proposes a fix for a problem in the selected code.
/tests
A Copilot Chat slash command that generates tests for the selected code.
#codebase
A chat variable that searches your workspace for code relevant to the question and adds it as context.
4 S's
Microsoft Learn's prompt principles for Copilot - single task, specific details, short prompts, and surround (relevant context such as open files and clear names).
Accountability
The developer and organization that ship code are responsible for it, whether a person or Copilot wrote the first draft.
action:copilot
The audit log search qualifier that filters the log to Copilot events, whose names start with copilot.
Agent mode
A Copilot Chat mode where Copilot plans a task, edits files, runs commands after approval and iterates on the results.
Agent session
One piece of agent work with its own history and context, kept separate from other sessions.
AGENTS.md
An instructions file that agents, including the Copilot coding agent, read for project rules.
Allow
The policy value that shows matching suggestions and adds a code reference so you can see where similar code exists.
applyTo
The front matter field in an .instructions.md file that holds a glob such as "tests/**/*.js" to say which files the rules cover.
Arrange, act, assert
A common test layout - set up the inputs, call the code, then check the result.
Ask mode
Chat mode that answers questions and suggests code blocks but doesn't edit your files.
Assertion
The line in a test that compares the actual result with the expected one and fails the test if they differ.
Audit log
The organization's record of who did what and when, including Copilot settings, seat and content exclusion changes.
Block
The policy value that stops Copilot showing a suggestion that matches public code.
Budget
A spending limit that decides whether usage beyond the allowance is billed or blocked.
Characterization test
A test that records what existing code currently does, so you can tell if a rewrite changes its behaviour.
Chat history
The earlier questions and answers in the current Copilot Chat conversation, which are sent as context with each new message.
Chat participant
An "@" expert in Copilot Chat, such as @workspace, @terminal, @vscode or @github, that brings its own context and tools.
Chat variable
A "#" reference in Copilot Chat, such as
Chat variable (# context)
A # reference such as #file, #selection or #codebase that adds specific context to the prompt.
Code reference
Details Copilot shows for a match with public code, including the repository URL and the licence type.
Code referencing log
The "GitHub Copilot Log (Code References)" channel in VS Code's Output panel, where inline suggestion matches are listed.
Code scanning
A GitHub Advanced Security feature that analyses code, usually with CodeQL, and raises alerts for vulnerabilities on pushes and pull requests.
Comment prompt
A code comment that describes what you want next, used to steer inline suggestions in the editor.
Comment review
A review that gives feedback without approving or requesting changes. Copilot's reviews are always this type.
Completions panel
A side panel (Ctrl+Enter) that lists several alternative suggestions so you can compare them.
Constraints
Rules the answer must follow, such as language version, style, edge cases to handle or files not to touch.
Content exclusion
A Copilot Business or Enterprise setting that lists files or paths Copilot must not use for suggestions or as context.
Context
The code, files and information Copilot uses alongside your words to answer.
Context switching
Leaving your editor to search docs, forums or other tools, which breaks focus. Asking Copilot in the IDE reduces it.
Context window
The limited amount of text a model can take in for one request. History, files and instructions all compete for it.
Copilot access
The organization setting that decides who gets a Copilot seat, all members, selected members and teams, or nobody.
Copilot Business
An organization plan billed per seat, with seat assignment, policies, content exclusions and audit log events.
Copilot code review
A Copilot feature that reviews a pull request or your local changes and leaves comments with suggested fixes.
Copilot Edits
Edit mode, which applies changes to a working set of files you choose and lets you Keep or Undo each diff.
Copilot Enterprise
An enterprise plan for GitHub Enterprise Cloud customers, with everything in Business plus enterprise-only features.
Copilot Free
A plan for individuals with a limited number of code completions and chat requests each month.
Copilot policy
An organization or enterprise setting that turns a Copilot feature on or off for members who get Copilot through it.
Copilot Pro
A paid individual plan with unlimited completions, more models and a premium request allowance.
Copilot Pro+
The top individual plan, with everything in Pro plus a larger premium request allowance and access to more models.
Copilot proxy
A GitHub-hosted service that every Copilot request passes through. It authenticates, pre-filters prompts and post-processes responses.
Copilot Requests permission
The fine-grained personal access token permission Copilot CLI needs when you sign in with a token. Classic tokens aren't supported.
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.
Copilot status bar icon
The icon in the VS Code status bar that shows whether Copilot is ready and opens quick settings.
Copilot status icon
The icon in the IDE status bar that shows whether Copilot is ready, signed out, disabled, or blocked for the current file.
Copilot user management API
REST endpoints under /orgs/{org}/copilot/billing to read Copilot settings, list seats and add or cancel seats.
Custom agent
A named persona with its own instructions and tools, defined in .github/agents/<name>.agent.md (or ~/.copilot/agents/ for the CLI).
Dependency review
A pull request check that shows new or changed dependencies and known vulnerabilities in them.
Device flow
The /login sign-in where you copy a one-time code and approve it on github.com.
Edge case
An input at or beyond the normal range, such as empty, missing, zero, negative, very large or invalid values.
Edit mode
Chat mode (Copilot Edits) that applies changes across the files you choose and lets you Keep or Undo each diff.
Edit mode (Copilot Edits)
A Copilot Chat mode that applies changes to the files you choose and shows each diff for you to Keep or Undo.
Encryption in transit
Data is protected with TLS (HTTPS) while it travels between your machine and GitHub.
Enforced policy
A policy set at the enterprise level. Organizations in that enterprise see it locked and can't change it.
Engagement data
Usage events such as accepted or dismissed suggestions, errors and latency. Kept to operate the service and to build usage metrics.
example.com
A domain reserved for documentation and examples, safe to use in fake email addresses.
Fairness
AI systems should treat all people fairly and not produce biased results for some groups.
Few-shot prompt
A prompt that includes one or more worked examples of input and output before the actual request, so the model follows the pattern.
fnmatch pattern
The glob style used for exclusion paths, such as "/secrets/**" or "*.pem".
Generative AI
AI that creates new content, such as code or text, by predicting likely output from patterns it learned in training.
Ghost text
The grey inline suggestion Copilot shows in the editor, which you accept with Tab or dismiss with Esc.
GitHub Copilot Chat extension
The VS Code extension that provides Copilot chat, inline suggestions and agent mode.
GitHub Copilot CLI
The copilot command, an agent in the terminal that can read your files, edit them and run commands with your permission.
GitHub Copilot logs
The Output panel channel for GitHub Copilot in VS Code, opened with Output › GitHub Copilot or the command GitHub Copilot - Open Logs.
GitHub Copilot proxy
The GitHub-hosted service between your IDE and the model. It authenticates requests, runs pre-filters and post-processing.
GitHub MCP server
GitHub's MCP server for issues, pull requests, Actions and more. Remote URL https://api.githubcopilot.com/mcp/.
GitHub Spark
A Copilot feature that builds and hosts small full-stack apps from a natural-language description. Available on Pro+ and Enterprise.
github.copilot.enable
A VS Code setting that turns Copilot inline completions on or off per language, for example off for plaintext or YAML. It's a personal preference, not a policy.
Goal
The part of a prompt that says what you want Copilot to produce and, ideally, why.
Hallucination
Output that looks confident and plausible but is false, such as a function or package that doesn't exist.
Human in the loop
A person reviews and approves AI output before it takes effect.
Human review
A person reads and approves a change before it merges.
Inclusiveness
AI systems should work for people of all abilities and backgrounds.
Inline chat
A small chat box opened with Ctrl+I inside the editor that changes the selected code in place.
Inline suggestion
Grey ghost text Copilot shows at the cursor as you type. Tab accepts it, Esc dismisses it.
Input variable
A placeholder such as ${input:resource} in a prompt file that Copilot fills from what you type after the command.
Insecure-pattern filter
Part of Copilot's post-processing that checks suggestions for common insecure code, such as hard-coded credentials, before you see them.
Integration test
A test that checks several parts working together, for example an HTTP route, the business logic and the JSON response.
Interactive session
A Copilot CLI conversation started with copilot or copilot -i, where it can ask you to approve tools as it goes.
IP indemnity
A contractual promise in some plans' terms that GitHub will defend customers against certain IP claims about Copilot output, subject to conditions in those terms.
Iteration
Refining a prompt or asking follow-up questions until the answer is right, instead of expecting a perfect result first time.
Knowledge cut-off
The date the model's training data ends. Libraries and APIs released after it may be missing or wrong in suggestions.
Large language model (LLM)
The model behind Copilot. It predicts the next token based on its training data and the prompt it receives.
last_activity_at
A field on each seat returned by the seats endpoint, showing when the user last used Copilot. Empty if they never have.
Legacy code
Older code still in production, often without tests or documentation, written with outdated language features or frameworks.
Linter
A tool that flags style problems and likely bugs without running the code.
manage_billing:copilot
The token scope needed to call the Copilot user management endpoints for an organization.
Micro app
A small, single-purpose app such as an internal tracker or calculator, the kind Spark is built for.
Model Context Protocol (MCP)
An open standard that lets AI apps connect to servers offering tools and data, such as GitHub, a browser or a docs search.
Model training
Using data to improve an AI model. Copilot Business and Enterprise data isn't used to train GitHub's models.
Models policy
The setting that controls which AI models members can choose in the Copilot model picker.
Modernization
Updating old code to current language features, libraries or frameworks while keeping its behaviour.
N+1 query
A performance problem where code runs one query to get a list and then one more query for each item, instead of a single query.
Neighbouring tabs
Other files open in your editor. Copilot looks in them for snippets related to the code you're writing.
Next edit suggestions (NES)
A Copilot feature that predicts the next edit you're likely to make, possibly elsewhere in the file, based on your recent changes.
No policy
The enterprise choice that leaves a Copilot setting for each organization to decide.
Non-deterministic output
The same prompt can produce different suggestions each time, because the model samples from probabilities.
One-shot prompt
A few-shot prompt with exactly one example.
Organization policy
A Copilot setting chosen by an organization or enterprise owner that can turn features such as chat or the CLI on or off for its seats.
Organization-level exclusion
YAML set by an organization owner that maps a repository name, or "*" for every repository, to the paths to exclude.
Over-reliance
Trusting AI output without checking it, so mistakes reach production.
Parameterised query
A query with placeholders such as $1, where the database driver passes values separately so they can't change the SQL.
Path-specific instructions
Files in .github/instructions/ ending in .instructions.md, with an applyTo glob in front matter so the rules only apply to matching files.
Pending cancellation
The state of a cancelled seat. The user keeps Copilot until the end of the current billing cycle.
Policy enforcement
An enterprise can set the policy for all its organizations, or leave it to each organization to decide.
Post-processing
Checks on the model's reply before you see it, covering quality, insecure patterns, offensive content and public code matches.
Pre-filter
A check on the prompt before it reaches the model, for example for offensive content or prompt injection.
Premium request
A request that uses a premium model or feature and counts against a monthly allowance.
Privacy and security
AI systems should protect personal and confidential data and resist attacks.
Programmatic mode
Running one prompt with copilot -p "..." that exits when done and can't stop to ask for approval.
Prompt
The bundle Copilot sends to the model, built from your code context, your question (in chat) and any instructions.
Prompt engineering
Writing and structuring the input to a model (instruction, context, examples, constraints) so the output is useful with less clean-up.
Prompt file
A reusable prompt saved as .github/prompts/<name>.prompt.md and run in Copilot Chat by typing /name.
Prompt injection
Text crafted to override the model's instructions, such as a comment telling the AI to ignore its rules or leak data.
Proxy
A network server that relays traffic. A corporate proxy or firewall must allow Copilot's endpoints or requests fail.
Public code filter
The "Suggestions matching public code" policy. Block hides matches of about 150 characters; Allow shows them with a code reference.
Pull request summary
A description of a pull request's changes that Copilot writes when you select the Copilot button in the description box.
Refactoring
Changing the structure of code to make it clearer or easier to maintain without changing what it does.
Reliability and safety
AI systems should behave as intended, including in unexpected conditions, and fail safely.
Reload Window
A VS Code command that restarts the window and its extensions, often used to pick up new settings or exclusion changes.
Repository custom instructions
A .github/copilot-instructions.md file whose rules are added to chat, agent and code review requests in that repository.
Repository-level exclusion
A list of paths, one per line, set under the repository's Settings › Copilot › Content exclusion. It applies to that repository only.
Required approvals
A branch protection or ruleset setting that blocks merging until enough human reviewers approve. Copilot's review never counts.
Responsible AI
Designing and using AI so it's fair, safe, private, inclusive, transparent and has a person accountable for it.
Retention
How long GitHub keeps prompts and suggestions after a request. It differs by feature and plan, so check the Trust Center for current numbers.
Ruleset
A set of repository or organization rules for branches. One rule can request a Copilot review on new pull requests automatically.
Sample data
Made-up records used for tests, demos and development, shaped like real data but containing no real personal information.
Seat
A Copilot licence assigned to a user, from their own plan or from an organization.
selected_users
The endpoint that adds seats (POST) or cancels seats (DELETE) for a list of usernames in selected_usernames.
Slash command
A shortcut typed with / in Copilot Chat, such as /explain, /fix or /tests, that tells Copilot the kind of job you want.
Space instructions
Guidance added to a Copilot Space that shapes every answer in it, such as "answer for new joiners".
SQL injection
An attack where user input changes the meaning of a database query because the query was built by joining strings.
Sub-agent
A helper agent that runs a side task in its own context window and returns a summary to the main agent.
Suggested change
A code block in a review comment that the pull request author can commit straight from the comment.
Suggestion ownership
GitHub doesn't claim ownership of the code Copilot suggests. Accepted code is treated like code you wrote.
Suggestions matching public code
The Copilot policy with two values, Block and Allow, that controls suggestions matching code in public repositories.
Transparency
People should understand how an AI system works, its limits, and when AI was involved.
Trusted folder
A directory you've allowed Copilot CLI to work in. It asks on first run (Yes, Yes and remember, or No).
Unit test
A test that checks one small piece of code, such as a single function, in isolation from databases, networks and other modules.
Used n references
The expandable list under a chat answer that shows which files and snippets Copilot used as context.
Used references
The list under a chat answer showing which files and sources Copilot actually used.
Validation
Checking that AI output is correct, secure and fits your requirements before you use it.
Zero-shot prompt
A prompt that contains only the instruction and no examples of the output you want.

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.