agentleFS

Copilot instructions examples

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

Worked for most · soon
Model Context ProtocolCopilot instructions

csharp-sdk

modelcontextprotocol/csharp-sdk/.github/copilot-instructions.md

This repository contains the official C# SDK for the Model Context Protocol (MCP), enabling .NET applications to implement and interact with MCP clients and servers. This disclosure is not required…

No other project uses it yet

4.6k40d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

FLAML

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

FLAML (Fast Library for Automated Machine Learning & Tuning) is a lightweight Python library for efficient automation of machine learning and AI operations. It automates workflow based on large language models, machine learning models, etc. and optimizes their performance. Key Components: The repository uses pre-commit hooks for:

Steady5 mentions in 2 weeks

No other project uses it yet

4.4k10mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

ApplicationInspector

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

Microsoft Application Inspector is a source code characterization tool that identifies coding features based on well-known library/API calls using regex patterns and rules. It supports multiple programming languages and generates reports in HTML, JSON, SARIF, and text formats. Version Tracking: This project uses Nerdbank.GitVersioning (nbgv) for version tracking, which requires a deep clone of the repository. Shallow clones will not work correctly with version generation. NuGet Packages: The repository uses a custom nuget.config that points to a private Azure DevOps…

4.4k9mo agoReviewMountCreate a free account to mount
MongoDBCopilot instructions

mongo-python-driver

mongodb/mongo-python-driver/.github/copilot-instructions.md

When reviewing code, focus on: Always prioritize security vulnerabilities and performance issues that could impact users. Always suggest changes to improve readability and testability. For example, this suggestion seeks to make the code more readable, reusable, and testable:

4.4k10d agoReviewMountCreate a free account to mount
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…

1 project uses a version of this

4.2k59d 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.

Steady3 mentions in 2 weeks

No other project uses it yet

4.2k59d 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.

Steady3 mentions in 2 weeks

No other project uses it yet

4.2k59d 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.

Steady3 mentions in 2 weeks

No other project uses it yet

4.2k59d 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:

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…

3.8k39d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

verona

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

Read AGENTS.md in this repository first. It contains all project-specific knowledge (build workflow, pass architecture, syntax, conventions, etc.).

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 2026. 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…

3.7k32d 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.7k29d 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…

3.7k8mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

bicep

Azure/bicep/.github/copilot-instructions.md

Bicep is a DSL for Azure ARM templates. The compiler pipeline is: Lexer → Parser → Binder → Type Checking / Linting → Emitter (ARM JSON). Key classes: Compilation → SemanticModel → TypeManager, Binder, TemplateEmitter. All use lazy evaluation and caching—the language server recreates state per keystroke, so only compute what's requested. .NET SDK version is pinned in global.json (currently .NET 10). Use VS Code tasks (defined in .vscode/tasks.json) for common operations. Integration test datasets live in src/Bicep.Core.Samples/Files/baselines/. Each dataset…

3.7k52d 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.

Steady3 mentions in 2 weeks

No other project uses it yet

3.6k19d agoReviewMountCreate a free account to mount
GitHubCopilot instructions

squad

github/squad/.github/copilot-instructions.md

If you are a named squad agent (a cast name in .squad/casting/registry.json): This directive exists because .github/copilot-instructions.md is injected into ALL Copilot sessions globally. Agent-specific personas live in .squad/agents/*/charter.md — that is the authoritative source of identity. Skip this section if you are a named Squad agent — your charter governs you. If you are a generic Copilot CLI session, check routing before handling any non-trivial task: Full routing rules and examples: .github/instructions/squad-routing-guard.instructions.md Full routing table: .squad/routing.md Check your profile…

No other project uses it yet

3.4k2mo agoReviewMountCreate a free account to mount
GitHubCopilot instructions

squad / templates

github/squad/packages/squad-cli/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: Inspect your agent_instructions for the coordinator canaries. This is a two-state payload-integrity check within a known Squad coordinator session; it verifies whether the coordinator payload loaded fully or was visibly truncated. It is not proof that an agent with no canaries is safely non-Squad — wholly…

No other project uses it yet

3.4k2mo 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.

3.3k17mo 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.

3.2k8mo 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.