agentleFS
MicrosoftKnown publishermicrosoft/Xbox-GDK-Samples/.github/copilot-instructions.md

Xbox-GDK-Samples

Copilot instructions348 starsChanged 6 months agoMITView on GitHub

When generating a pull request summary for this repository, follow the format used in our release notes. The summary should help reviewers quickly understand what changed, which samples were affected, and any infrastructure/kit updates. Use this structure for every PR summary: Determine categories by inspecting the diff: - Files under Samples/ that are newly added → New samples - Files under Samples/ that are modified → Updated samples - Files under Kits/ that are modified → Updated kits (ATGTK or…

The file

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

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When generating a pull request summary for this repository, follow the format used in our release notes.

    line 3
  2. Distinctive:

    Use this structure for every PR summary:

    line 9
  3. Very specific:

    Use an H2 (##) heading for the PR title/theme

    line 25
  4. Very specific:

    Use a bulleted list under a ### Changes subheading

    line 27
  5. Distinctive:

    Keep the summary concise — aim for clarity over length

    line 31

≈ “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 for PR Summaries

When generating a pull request summary for this repository, follow the format used in our release notes. The summary should help reviewers quickly understand what changed, which samples were affected, and any infrastructure/kit updates.

Required Format

Use this structure for every PR summary:

## <Brief descriptive title of the change>

**<One-sentence bold summary>** explaining the purpose and scope of the PR.

### Changes
- **New samples:** <list any newly added samples, or omit this line if none>
- **Updated samples:** <list samples that were modified, or omit if none>
- **Updated kits:** <list any kit/library updates (e.g., ATGTK, OpenSource/imgui), or omit if none>
- **General:** <any other notable changes — config updates, build changes, docs, removals>

Formatting Rules

  • Use an H2 (##) heading for the PR title/theme
  • The first line after the heading must be a bold summary sentence
  • Use a bulleted list under a ### Changes subheading
  • Each bullet should have a bold category prefix followed by a colon
  • Sample and kit names should be wrapped in bold
  • Omit category lines that have no items (do not include empty categories)
  • Keep the summary concise — aim for clarity over length

Category Detection

Determine categories by inspecting the diff:

  • Files under Samples/ that are newly added → New samples
  • Files under Samples/ that are modified → Updated samples
  • Files under Kits/ that are modified → Updated kits (ATGTK or OpenSource/imgui)
  • Changes to build files (.vcxproj, .sln), configs, docs, Media/, or vcpkg manifests → General

Examples

Good summary:

## ARM64 Build Target Support

**Added ARM64 (Desktop) build configurations across all samples** to enable building and running on ARM64-based Windows PCs.

### Changes
- **Updated samples:** All samples (ARM64 platform targets added to project files)
- **Updated kits:** ATGTK
- **General:** Updated `.sln` solution files with ARM64 platform entries, updated vcpkg configuration

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.