agentleFS
MicrosoftKnown publishermicrosoft/Mastering-GitHub-Copilot-for-Paired-Programming/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 1 mentionApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 1 mentionAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the microsoft/Mastering-GitHub-Copilot-for-Paired-Programming repository that our weekly crawl found: only 8 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Who's talking about microsoft/Mastering-GitHub-Copilot-for-Paired-Programming

The biggest 5 of 8 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 8
  • 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
  1. Distinctive:

    No additional dependency installation is required at the root level.

    line 59
  2. Distinctive:

    When editing or adding lesson content, follow these conventions:

    line 63
  3. Very specific:

    Images: Place images inside the lesson's images/ subdirectory.

    line 66
  4. Distinctive:

    Lesson table: If adding a new lesson, update the lesson table in the root README.md under the appropriate difficulty level (Beginner, …

    line 67
  5. Distinctive:

    Language: Write in clear, instructional English.

    line 68
  6. Common:

    No hardcoded secrets: Never commit API keys, tokens, or credentials.

    line 69
  7. Very specific:

    Python: Follow PEP 8. The dev container includes pylance for type checking.

    line 75
  8. Very specific:

    C#: Follow standard .NET conventions.

    line 77
  9. Distinctive:

    Markdown: Use standard GitHub-Flavored Markdown.

    line 78
  10. Distinctive:

    Follow the Microsoft Open Source Code of Conduct.

    line 88
  11. Very specific:

    Ensure spelling and grammar are correct — the code-spell-checker extension helps with this.

    line 90
  12. Distinctive:

    Do not modify files unrelated to your change.

    line 91
  13. Distinctive:

    If adding a new lesson, include the README, images, and update the root lesson table.

    line 92
  14. Distinctive:

    Codespace won't start: Ensure your GitHub account has Codespaces access and that the dev container image can be pulled.

    line 96
  15. Distinctive:

    Copilot not working: Verify you have an active GitHub Copilot subscription.

    line 97

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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.md

Each lesson module follows a consistent structure:

  • A README.md (sometimes README.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.copilot
    • ms-python.python, ms-python.vscode-pylance
    • ms-toolsai.jupyter
    • dbaeumer.vscode-eslint, esbenp.prettier-vscode
    • streetsidesoftware.code-spell-checker
    • ms-vscode.azure-account, ms-azuretools.vscode-azure-github-copilot

To get started:

  1. Open the repo in GitHub Codespaces or a local dev container.
  2. The container automatically installs Python 3.13 and the listed VS Code extensions.
  3. 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.md describing 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.md under 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 pylance for 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-codespaces repo.
  • 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 to main, 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-checker extension 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.