agentleFS

Copilot instructions examples

How real projects brief GitHub Copilot, from .github/copilot-instructions.md.

Worked for most · soon
MicrosoftCopilot instructions

apm

microsoft/apm/.github/copilot-instructions.md

The CI Lint job is a hard gate. Mirror it locally before git push and before producing any artifact (PR body, release note, audit report) that claims CI is green. The Lint job runs (see .github/workflows/ci.yml): 1. uv run --extra dev ruff check src/ tests/ 2. uv run --extra dev ruff format --check src/ tests/ 3. YAML I/O safety guard (rejects raw yaml.dump(..., handle) outside utils/yaml_io.py; mark approved exceptions with # yaml-io-exempt). 4. File length guardrail (no src/**/*.py may exceed…

No other project uses it yet

3.9k2mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

apm / apm-contributor-dashboard

microsoft/apm/packages/apm-contributor-dashboard/.github/copilot-instructions.md

This package ships a canvas extension. No agent instructions are needed.

No other project uses it yet

3.9k2mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

apm / autopilot-maintainer-canvas

microsoft/apm/packages/autopilot/autopilot-maintainer-canvas/.github/copilot-instructions.md

This package ships a canvas extension. No agent instructions are needed.

No other project uses it yet

3.9k2mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

apm / s02b_copilot_instructions

microsoft/apm/tests/integration/fixtures/target_resolution/s02b_copilot_instructions/.github/copilot-instructions.md

No summary in the file. Open it to read it.

3.9k2mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

kiota

microsoft/kiota/.github/copilot-instructions.md

This file defines repository-wide defaults for Copilot behavior. It is always applied. When modifying code generation or writer/refiner logic, treat schema-derived values as untrusted and ensure literal-context sanitization at the emission site. Use language/literal-appropriate sanitizers from src/Kiota.Builder/Writers/StringExtensions.cs (and Dart convention helpers where applicable). For writer changes that emit schema-derived text into generated code, ensure hostile content is escaped and covered by regression tests in tests/Kiota.Builder.Tests/Writers/. Before finishing implementation work:

No other project uses it yet

3.8k6mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

mcp

microsoft/mcp/.github/copilot-instructions.md

When reviewing a pull request, use the mcp-code-reviewer skill. In interactive IDE and CLI sessions, return draft findings for human approval before posting them. In GitHub Copilot Code Review, post qualified inline comments directly as a comment-only review. Keep the review read-only: never modify code or the branch, approve or request changes, resolve threads, or invoke an agent to implement changes. When reviewing PRs that add or modify MCP tools, cross-reference the pre-merge checklist and check the following repository-specific completeness…

No other project uses it yet

3.7k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

WinUI-Gallery

microsoft/WinUI-Gallery/.github/copilot-instructions.md

Solution: Open WinUIGallery.slnx in Visual Studio 2022+. Set WinUIGallery as the startup project. Build configurations: Debug, Release, Preview, Stable, Store, Sideload, Debug-Unpackaged. Platforms: x86, x64, ARM64. This is a WinUI 3 / Windows App SDK gallery app that demonstrates controls, styles, and design patterns. It is a companion to the Fluent Design guidelines. Each control demo lives in its own folder under Samples/{UniqueId}/ (e.g., Samples/Button/, Samples/CheckBox/). The folder name must match the control's UniqueId from ControlInfoData.json — this convention is…

No other project uses it yet

3.7k2mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

azure-pipelines-tasks

microsoft/azure-pipelines-tasks/.github/copilot-instructions.md

This repository contains the in-the-box tasks for Azure Pipelines and Team Foundation Server. These instructions will help you understand how to build, test, and deploy tasks effectively. This repo provides open examples of how Azure Pipelines tasks are written and can help you write custom tasks for upload to your account or server. Tasks are tool runners that know how to execute tools like MSBuild, VSTest, etc., handle return codes, process stdout/stderr, write timeline records, and access credentials for Azure…

No other project uses it yet

3.7k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DirectXShaderCompiler

microsoft/DirectXShaderCompiler/.github/copilot-instructions.md

When reviewing pull requests in this repository, always check whether docs/ReleaseNotes.md should be updated. Use the release note policy in CONTRIBUTING.md ("Release Notes") as the default: - Release notes are…

No other project uses it yet

3.7k4mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

ebpf-for-windows

microsoft/ebpf-for-windows/.github/copilot-instructions.md

This project brings eBPF (extended Berkeley Packet Filter) to Windows, enabling programmable OS kernel extensions for use cases like network filtering and observability. See docs/GettingStarted.md for prerequisites, build options, and detailed setup. See docs/AutomatedTests.md for test categories and descriptions.

No other project uses it yet

3.6k8mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Generative-AI-for-beginners-dotnet

microsoft/Generative-AI-for-beginners-dotnet/.github/copilot-instructions.md

No summary in the file. Open it to read it.

No other project uses it yet

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Generative-AI-for-beginners-dotnet / CoreSamples

microsoft/Generative-AI-for-beginners-dotnet/samples/CoreSamples/.github/copilot-instructions.md

No summary in the file. Open it to read it.

5 projects use a version of this

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Generative-AI-for-beginners-dotnet / templates

microsoft/Generative-AI-for-beginners-dotnet/.squad/templates/copilot-instructions.md

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously, follow these guidelines. IMPORTANT — run this check on EVERY session start, before doing any work: Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions. This token is placed at the end of squad.agent.md. If it is missing, the coordinator file is missing or truncated. When the token is missing, you MUST: 1. STOP — do not proceed with standard Squad behavior.…

No other project uses it yet

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

skills

microsoft/skills/.github/copilot-instructions.md

Agent Skills is a repository of skills, prompts, and MCP configurations for AI coding agents working with Azure SDKs and Microsoft AI Foundry services. Azure SDKs and Foundry APIs change constantly. Never work with stale knowledge. Before implementing anything with Azure/Foundry SDKs: If you skip this step and use outdated patterns, you will produce broken code. Apply these principles to every task. Don't assume. Don't hide confusion. Surface tradeoffs. Minimum code that solves the problem. Nothing speculative. The test: Would…

No other project uses it yet

3.1k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DirectXTK

microsoft/DirectXTK/.github/copilot-instructions.md

These instructions define how GitHub Copilot should assist with this project. The goal is to ensure consistent, high-quality code generation aligned with our conventions, stack, and best practices. - Code Style: The project uses an .editorconfig file to enforce coding standards. Follow the rules defined in .editorconfig for indentation, line endings, and other formatting. Additional information can be found on the wiki at Implementation. The library's public API requires C++11, and the project builds with C++17 (CMAKE_CXX_STANDARD 17). The command-line…

No other project uses it yet

2.9k4mo agoReviewMountCreate a free account to mount
MicrosoftDeletes or force-pushesCopilot instructions

pg_durable

microsoft/pg_durable/.github/copilot-instructions.md

pg_durable is a PostgreSQL extension (pgrx/Rust) providing durable SQL function execution. Everything runs inside the PostgreSQL server—no external services. Two execution contexts: 1. Backend processes (user sessions): Build function graphs…

No other project uses it yet

2.8k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

clarity

microsoft/clarity/.github/copilot-instructions.md

Clarity is an open-source TypeScript behavioral analytics library for tracking user interactions and session replays. Monorepo with Lerna/Yarn workspaces: Stack: TypeScript, Rollup, TSLint, Playwright, Lerna, Yarn workspaces Critical: clarity-js has two top priorities that must guide all development decisions: Rollup + TypeScript → multiple formats (CJS, ESM, IIFE minified). Build artifacts auto-cleaned to build/ or extension/ (gitignored). Build outputs per package: - clarity-js: clarity.js (CJS), clarity.module.js (ESM), clarity.min.js (minified), plus variants: clarity.extended.js, clarity.insight.js, clarity.performance.js, clarity.livechat.js, and dynamic agent builds (clarity.tidio.js,…

No other project uses it yet

2.7k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

litebox

microsoft/litebox/.github/copilot-instructions.md

This repository contains a Rust-based, security-focused sandboxing library OS. To maintain high code quality and consistency, please adhere to the following guidelines when contributing.

No other project uses it yet

2.7k18mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

vscode-pull-request-github

microsoft/vscode-pull-request-github/.github/copilot-instructions.md

No summary in the file. Open it to read it.

No other project uses it yet

2.6k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

foundry-local

microsoft/foundry-local/.github/copilot-instructions.md

Prefer .github/instructions/*.instructions.md files to capture durable architectural facts, conventions, and domain knowledge. Each file should have a description (for on-demand discovery) and optionally applyTo (for file-glob auto-attachment). Keep facts concise…

No other project uses it yet

2.6k6mo agoReviewMountCreate a free account to mount
CLAUDE.md vs AGENTS.md

About Copilot instructions

What is copilot-instructions.md?

Repository-wide instructions for GitHub Copilot, kept in .github/copilot-instructions.md.

What should it contain?

How to build and test, the project's structure, and the conventions Copilot should follow in suggestions and reviews.

Does it replace AGENTS.md?

No. Copilot's coding agent also reads AGENTS.md, so many projects keep the shared rules there.

Which ones worked?

Open a file to see its discussion. Reports from people and their agents are coming.