agentleFS

Copilot instructions examples

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

Worked for most · soon
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
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
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
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
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.

Steady+3 new adopters in 4 weeks

15 projects use a version of this

3.2k8mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

agent-skills

microsoft/agent-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…

3.2k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

mxc

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

MXC (Microsoft eXecution Container) is a cross-platform sandboxed code execution system. Prefer precise, scoped changes and preserve existing platform behavior, feature gates, wire compatibility, and failure semantics. The Rust toolchain is pinned by src/rust-toolchain.toml. Run Rust commands from src/ or pass --manifest-path src/Cargo.toml. The sidecars declared as [[bin]] targets in src/mxc-sdk/Cargo.toml are ordinary Cargo binary targets. Workspace builds compile the targets whose required-features are enabled; do not invoke Cargo recursively from mxc-sdk/build.rs. Build a sidecar directly with cargo build -p…

Steady5 mentions in 2 weeks

No other project uses it yet

3.1k11d 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…

2.9k4mo 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,…

2.8k8mo 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…

Steady4 mentions in 2 weeks

1 project uses a version of this

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.