Mastering-GitHub-Copilot-for-Paired-Programming
AGENTS.md8.1k starsChanged 17 months agoMITView on GitHub
This is Mastering GitHub Copilot for Paired Programming, an open-source educational repository maintained by Microsoft. It is a multi-module, 10-hour course that teaches developers how to use GitHub Copilot as an AI coding partner — from beginner to advanced topics including Agent Mode. The repository is documentation-centric: most content is Markdown-based lesson guides. A small number of code samples exist within specific lessons. Each lesson module follows a consistent structure: Most exercises reference external Codespaces template repos (e.g., github/dotnet-codespaces) rather…
Trending
Quiet since July.thin dataabout the whole repository
Who's talking about microsoft/Mastering-GitHub-Copilot-for-Paired-Programming
- @kurtsh.bsky.social“Microsoft & GitHub are excited to launch 9-lesson, open-source course on "Mastering GitHub Copilot for …”Bluesky · Dec 21, 2024 · 13 likes
- A Hacker News story“Mastering GitHub Copilot for AI Paired Programming”Hacker News · Dec 13, 2023 · 5 points
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Mastering-GitHub-Copilot-for-Paired-Programming ⭐ 926 …”Bluesky · Dec 18, 2023 · 3 likes
- @dailygithubtrends.bsky.social“今日のGitHubトレンド microsoft/Mastering-GitHub-Copilot-for-Paired-Programming このリポジトリは、GitHub …”Bluesky · Jul 2, 2025 · 1 likes
- github/github-mcp-server“help me”GitHub · Jul 7, 2026
The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 8
Talked about on GitHub, Bluesky and Hacker News (8 times).
On GitHub · 4
- Jul 7, 2026help me — github/github-mcp-server0 reactions
- Mar 17, 2026> > The section "Want to learn more?" in [the README](https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming/blob/main/README.md#-want-to-learn-more) links to a GitHub Universe Cloud Skills Challenge. Instead of the Skills Challenge, I'd recommend linking to [a Learning Path]( — evgenvl1285-spec/improved-waddle0 reactions
- May 23, 2025GitHub Copilot Resources — lagimik/PartnerCrucible0 reactions
- May 2, 2022[epic]: 🏄 机器学习入门 — skypesky/study0 reactions · 1 comment
On Bluesky · 3
- Dec 21, 2024Microsoft & GitHub are excited to launch 9-lesson, open-source course on "Mastering GitHub Copilot for AI-Paired Programming".… — @kurtsh.bsky.social13 likes and reposts · 1 reply
- Dec 18, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 microsoft / Mastering-GitHub-Copilot-for-Paired-Programming ⭐ 926 (+231) 🗒 Python A 6 Lesson… — @github-trending.bsky.social3 likes and reposts · 1 reply
- Jul 2, 2025今日のGitHubトレンド microsoft/Mastering-GitHub-Copilot-for-Paired-Programming このリポジトリは、GitHub Copilotを習得するための詳細なコース教材を提供します。 GitHub CopilotのAgent… — @dailygithubtrends.bsky.social1 likes and repost
On Hacker News · 1
- Dec 13, 2023Mastering GitHub Copilot for AI Paired Programming5 points · 2 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
15 rules. About 1 is common, 10 are distinctive, and 4 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 59
No additional dependency installation is required at the root level.
- Distinctive: line 63
When editing or adding lesson content, follow these conventions:
- Very specific: line 66
Images: Place images inside the lesson's images/ subdirectory.
- Distinctive: line 67
Lesson table: If adding a new lesson, update the lesson table in the root README.md under the appropriate difficulty level (Beginner, …
- Distinctive: line 68
Language: Write in clear, instructional English.
- Common: line 69
No hardcoded secrets: Never commit API keys, tokens, or credentials.
- Very specific: line 75
Python: Follow PEP 8. The dev container includes pylance for type checking.
- Very specific: line 77
C#: Follow standard .NET conventions.
- Distinctive: line 78
Markdown: Use standard GitHub-Flavored Markdown.
- Distinctive: line 88
Follow the Microsoft Open Source Code of Conduct.
- Very specific: line 90
Ensure spelling and grammar are correct — the code-spell-checker extension helps with this.
- Distinctive: line 91
Do not modify files unrelated to your change.
- Distinctive: line 92
If adding a new lesson, include the README, images, and update the root lesson table.
- Distinctive: line 96
Codespace won't start: Ensure your GitHub account has Codespaces access and that the dev container image can be pulled.
- Distinctive: line 97
Copilot not working: Verify you have an active GitHub Copilot subscription.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
Project Overview
This is Mastering GitHub Copilot for Paired Programming, an open-source educational repository maintained by Microsoft. It is a multi-module, 10-hour course that teaches developers how to use GitHub Copilot as an AI coding partner — from beginner to advanced topics including Agent Mode.
The repository is documentation-centric: most content is Markdown-based lesson guides. A small number of code samples exist within specific lessons.
Repository Layout
├── Getting-Started-with-GitHub-Copilot/ # Beginner lesson
├── Using-GitHub-Copilot-with-JavaScript/ # Intermediate – JS / Node
├── Using-GitHub-Copilot-with-Python/ # Intermediate – Python / FastAPI
├── Using-GitHub-Copilot-with-CSharp/ # Intermediate – C# / .NET Minimal APIs
├── Using-GitHub-Copilot-CLI/ # Intermediate – CLI usage
├── Using-GitHub-Copilot-Coding-Agent/ # Intermediate – Coding Agent workflow
├── Integrate-MCP-with-Copilot/ # Intermediate – MCP integration
├── Creating-Mini-Game-with-GitHub-Copilot/ # Intermediate – Python console game (has app.py)
├── Using-Advanced-GitHub-Copilot-Features/ # Advanced – inline chat, slash commands, agents
├── Using-GitHub-Copilot-for-Azure-to-Deploy-to-Cloud/ # Advanced – Azure deployment
├── Challenging-GitHub-Copilot-with-SQL/ # Advanced – complex SQL
├── Upgrading-Legacy-Projects/ # Advanced – Python 2 → 3 migration
├── Migrating-Languages/ # Advanced – Python → Rust migration
├── GitHub-Copilot-for-Data-Scientists/ # Advanced – Jupyter / data science
├── archive/ # Archived older lesson content
├── images/ # Shared images for the root README
├── .devcontainer/ # Dev container configuration
├── .github/workflows/ # CI (CodeQL)
└── Root files: README.md, LICENSE, CONTRIBUTING.md, CODE_OF_CONDUCT.md, SECURITY.md, SUPPORT.mdEach lesson module follows a consistent structure:
- A
README.md(sometimesREADME.MD) with the written lesson - An
images/subdirectory for screenshots and diagrams - Optionally, code files or additional markdown guides
Most exercises reference external Codespaces template repos (e.g., github/dotnet-codespaces) rather than containing code directly.
Dev Environment
The repository ships a dev container (.devcontainer/devcontainer.json) for use with GitHub Codespaces or VS Code Dev Containers:
- Base image:
mcr.microsoft.com/vscode/devcontainers/python:dev-3.13-bookworm - Forwarded ports: 5000, 8000
- VS Code extensions installed automatically:
github.copilotms-python.python,ms-python.vscode-pylancems-toolsai.jupyterdbaeumer.vscode-eslint,esbenp.prettier-vscodestreetsidesoftware.code-spell-checkerms-vscode.azure-account,ms-azuretools.vscode-azure-github-copilot
To get started:
- Open the repo in GitHub Codespaces or a local dev container.
- The container automatically installs Python 3.13 and the listed VS Code extensions.
- No additional dependency installation is required at the root level.
Content Conventions
When editing or adding lesson content, follow these conventions:
- Lesson README: Each lesson folder must have a
README.mddescribing the lesson, challenge, and extra resources. - Images: Place images inside the lesson's
images/subdirectory. Use relative paths in Markdown. - Lesson table: If adding a new lesson, update the lesson table in the root
README.mdunder the appropriate difficulty level (Beginner, Intermediate, or Advanced). - Language: Write in clear, instructional English. The audience ranges from beginners to experienced developers.
- No hardcoded secrets: Never commit API keys, tokens, or credentials.
Code Style
This repo has minimal code. When code is present, follow these guidelines:
- Python: Follow PEP 8. The dev container includes
pylancefor type checking. Example:Creating-Mini-Game-with-GitHub-Copilot/app.py. - JavaScript: ESLint and Prettier are available via the dev container extensions.
- C#: Follow standard .NET conventions. C# lessons reference the external
github/dotnet-codespacesrepo. - Markdown: Use standard GitHub-Flavored Markdown. Keep lines readable. Use fenced code blocks with language identifiers.
CI/CD
- CodeQL Advanced (
.github/workflows/codeql.yml): Runs on pushes and PRs tomain, plus a weekly schedule. Currently analyzes Python only. - There is no build or test pipeline at the repository level — the repo is primarily documentation.
Pull Request Guidelines
- A Contributor License Agreement (CLA) is required. A bot will prompt you on your first PR.
- Follow the Microsoft Open Source Code of Conduct.
- Title format: use a clear, descriptive title summarizing the change.
- Ensure spelling and grammar are correct — the
code-spell-checkerextension helps with this. - Do not modify files unrelated to your change.
- If adding a new lesson, include the README, images, and update the root lesson table.
Troubleshooting
- Codespace won't start: Ensure your GitHub account has Codespaces access and that the dev container image can be pulled.
- Copilot not working: Verify you have an active GitHub Copilot subscription.
- Port conflicts: The dev container forwards ports 5000 and 8000. Ensure they are not in use locally if running outside Codespaces.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

