agentleFS
GitHubKnown publishergithub/copilot-cli-for-beginners/.github/copilot-instructions.md

copilot-cli-for-beginners

Copilot instructions2.8k starsChanged 6 months agoMITView on GitHub

These instructions guide GitHub Copilot when working in this repository. This is a beginner-friendly educational course teaching GitHub Copilot CLI. The repo contains Markdown chapters (00–07), Python/C#/JavaScript sample apps, and supporting assets (images, demo GIFs, glossary). It is not a software product — it is technical courseware. These patterns were mined from actual PR review feedback and represent recurring maintainer expectations: Every chapter (00–07) follows the same pattern in its README.md: Do not deviate from this structure when editing or…

Trending

Less talk lately.about the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 3 mentionsApr 2026: 4 mentionsMay 2026: 3 mentionsJun 2026: 5 mentionsJul 2026: 15 mentionsAug 2026: 22 mentionsSep 2026: 1 mentionOct 2026: 1 mentionNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the github/copilot-cli-for-beginners repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about github/copilot-cli-for-beginners

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

See all 54

Talked about on GitHub and Bluesky (54 times).

On GitHub · 45

40 more on GitHub

On Bluesky · 9

4 more on Bluesky

The file

Show its rules and text

We split this copilot-instructions.md into the rules it gives an agent

13 rules. About 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Examples: All code blocks and copilot commands must be copy-paste ready.

    line 13
  2. Very specific:

    Naming: Use kebab-case for session names, file names, and identifiers (e.g., book-app-review, not book app review).

    line 14
  3. Distinctive:

    Precision: Don't over-specify tool behavior that may vary across shells or OS.

    line 16
  4. Very specific:

    Fallbacks: When referencing tool version requirements (e.g., gh CLI version), always include upgrade instructions or a manual alternative.

    line 17
  5. Distinctive:

    When showing multi-step workflows, ensure all prerequisite steps are included (e.g., git add before git diff --staged).

    line 23
  6. Distinctive:

    When introducing a concept with an example, use consistent naming throughout the section — don't mix kebab-case and quoted names.

    line 24
  7. Distinctive:

    When describing a command's behavior, match the level of specificity in the official release notes — don't state behavior that may differ …

    line 25
  8. Distinctive:

    If a feature requires a minimum tool version, mention the version AND provide a fallback path for users who can't upgrade yet.

    line 26
  9. Very specific:

    Primary sample: Always use samples/book-app-project/ (Python) for examples in chapters.

    line 30
  10. Distinctive:

    Every chapter (00–07) follows the same pattern in its README.md:

    line 37
  11. Distinctive:

    Do not deviate from this structure when editing or adding chapter content.

    line 45
  12. Distinctive:

    Use standard GitHub-Flavored Markdown.

    line 49
  13. Very specific:

    Use relative links for cross-chapter references (e.g., ../03-development-workflows/README.md).

    line 51

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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
copilot-instructions.md

Copilot Instructions

These instructions guide GitHub Copilot when working in this repository.

Project Context

This is a beginner-friendly educational course teaching GitHub Copilot CLI. The repo contains Markdown chapters (00–07), Python/C#/JavaScript sample apps, and supporting assets (images, demo GIFs, glossary). It is not a software product — it is technical courseware.

Writing Conventions

  • Audience: Beginners with no AI/ML experience. Explain every technical term on first use.
  • Tone: Friendly, encouraging, practical. Avoid jargon without explanation.
  • Examples: All code blocks and copilot commands must be copy-paste ready. Test them mentally before including.
  • Naming: Use kebab-case for session names, file names, and identifiers (e.g., book-app-review, not book app review).
  • Command syntax: Standardize flag format — use --flag=value consistently when a value is required, --flag when boolean.
  • Precision: Don't over-specify tool behavior that may vary across shells or OS. Describe what the user will see, not implementation details.
  • Fallbacks: When referencing tool version requirements (e.g., gh CLI version), always include upgrade instructions or a manual alternative.

Content Conventions (from PR review patterns)

These patterns were mined from actual PR review feedback and represent recurring maintainer expectations:

  • When showing multi-step workflows, ensure all prerequisite steps are included (e.g., git add before git diff --staged).
  • When introducing a concept with an example, use consistent naming throughout the section — don't mix kebab-case and quoted names.
  • When describing a command's behavior, match the level of specificity in the official release notes — don't state behavior that may differ across environments.
  • If a feature requires a minimum tool version, mention the version AND provide a fallback path for users who can't upgrade yet.

Sample Code Conventions

  • Primary sample: Always use samples/book-app-project/ (Python) for examples in chapters.
  • Test framework: pytest — test files go in samples/book-app-project/tests/ and follow test_*.py naming.
  • Python version: 3.10+ (per samples/book-app-project/pyproject.toml).
  • Intentional bugs: Files in samples/book-app-buggy/ and samples/buggy-code/ contain deliberate bugs for exercises. Never fix them.

Chapter Structure

Every chapter (00–07) follows the same pattern in its README.md:

  1. Real-World Analogy
  2. Core Concepts
  3. Hands-On Examples
  4. Assignment
  5. What's Next

Do not deviate from this structure when editing or adding chapter content.

Markdown Formatting

  • Use standard GitHub-Flavored Markdown.
  • Images go in the repo-root assets/ directory.
  • Use relative links for cross-chapter references (e.g., ../03-development-workflows/README.md).
  • Emoji usage is encouraged for section headers (matching existing style).

Maintenance Matrix

Change MadeFiles to Update
New chapter addedREADME.md (course table), AGENTS.md (structure table), assets/learning-path.png
Chapter content updatedThe chapter's README.md, verify cross-references in adjacent chapters
New sample app variant addedAGENTS.md (structure table), samples/ directory, relevant chapter references
Sample app code changedsamples/book-app-project/tests/ (update/add tests), chapters referencing that code
Bug intentionally added to buggy samplessamples/book-app-buggy/ or samples/buggy-code/ only — do NOT update tests
New skill added.github/skills/{skill-name}/SKILL.md, samples/skills/ (example copy), Chapter 05
New agent template addedsamples/agents/, Chapter 04
New MCP config addedsamples/mcp-configs/, Chapter 06
Glossary term introducedGLOSSARY.md — add definition in alphabetical order
npm scripts changedpackage.json, AGENTS.md (build section)
Devcontainer updated.devcontainer/devcontainer.json, Chapter 00 (setup instructions)
Image or banner changedassets/ directory, any README referencing the image
Copilot CLI version requirements changeChapter 00, Chapter 01, .devcontainer/devcontainer.json

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.