agentleFS
Sign inSign up

Copilot instructions examples

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

Most stars first · from page 5Worked for most · soon
MicrosoftCopilot instructions

FluidFramework / build-tools

microsoft/FluidFramework/build-tools/.github/copilot-instructions.md

This is the build-tools release group for the Fluid Framework monorepo. It contains CLI tools and libraries for building, testing, releasing, and managing Fluid Framework repositories. For release documentation, use conventional commits, not changesets. Runtime: Node.js >=22.22.2, pnpm 11.27.0 Language: TypeScript ~5.4.5 Module system: Mix of CommonJS and ESM (see DEV.md for constraints) **Always run from build-tools/ directory. Install dependencies first if node_modules/ doesn't exist.** Packages have workspace dependencies and must build in order: 1. version-tools (no internal deps) 2.…

4.9k56d agoDiscuss
MicrosoftCopilot instructions

FluidFramework

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

This file is mirrored in .claude/CLAUDE.md. Changes here should be duplicated there, and vice versa. Follow the Coding Guidelines when writing / modifying code. Follow the Documentation Guidelines when writing or modifying code or documentation. Read and follow the linked guides relevant to the task, including the language-specific guides for source-code documentation. These requirements apply to source-code comments and API documentation as well as standalone documentation. Add a changeset for user-facing changes only if the affected release group uses changesets.…

4.9k56d agoDiscuss
MicrosoftCopilot instructions

fluentui-blazor

microsoft/fluentui-blazor/.github/copilot-instructions.md

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

4.8k57d agoDiscuss
Microsoft AzureCopilot instructions

azure-powershell

Azure/azure-powershell/.github/copilot-instructions.md

Azure PowerShell is a collection of 200+ PowerShell modules for managing Azure resources. The repository contains modules with two types of projects: SDK-based projects and AutoRest-generated projects, all built using…

4.8k18mo agoDiscuss
MicrosoftCopilot instructions

msquic

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

MsQuic is Microsoft's cross-platform C implementation of the IETF QUIC protocol. It also has C++ API wrappers and Rust/C# interop layers. The codebase targets Windows (user & kernel mode), Linux, macOS, and FreeBSD. The primary language is C (C17), with C++ (C17) for tests/tools, Rust bindings, and C# interop. Build system: CMake + PowerShell scripts. Key files: CMakeLists.txt (root build), version.json (version info), .clang-format (C/C++ style), src/.editorconfig (editor settings), Cargo.toml (Rust crate config), rust-toolchain.toml (Rust 1.93.1). Always use PowerShell 7+…

4.8k5mo agoDiscuss
MicrosoftCopilot instructions

perfview

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

PerfView is a Windows performance-analysis tool for investigating CPU and memory issues, built on the TraceEvent library for parsing ETW and EventPipe trace data. The solution (PerfView.sln) contains the WPF GUI application, the cross-platform TraceEvent library, and several supporting libraries. Follow existing patterns — when in doubt, match the surrounding code.

4.8k4mo agoDiscuss
MicrosoftCopilot instructions

WindowsAppSDK

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

Windows App SDK AI contributor guidance

4.7k9mo agoDiscuss
MicrosoftCopilot instructions

PyRIT

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

PyRIT (Python Risk Identification Tool for generative AI) is an open-source framework for security professionals to proactively identify risks in generative AI systems. PyRIT uses a modular pluggable-brick design. doc/code/framework.md is the canonical reference for how these pieces fit together. It defines each component's responsibilities — what it owns and, critically, what it does not own — and how scenarios, attack techniques, executors, and the core/shared layers relate. Read it before adding or reviewing components so new code lands in…

4.6k57d agoDiscuss
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…

4.5k56d agoDiscuss
crmneCopilot instructions

ruby_llm

crmne/ruby_llm/.github/copilot-instructions.md

Use AGENTS.md and CONTRIBUTING.md as the source of truth for every change, review, and triage. AGENTS.md describes how the code is built and the boundaries Archspec.rb enforces; CONTRIBUTING.md describes what the project accepts. When they and this file disagree, they win. The four things every change is judged on, in order: the public API reads like Ruby a Rails developer already knows; persisted Rails records behave exactly like the plain-Ruby objects; providers and protocols stay in their layers with no…

4.4k16d agoDiscuss
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:

4.4k8mo agoDiscuss
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.4k8mo agoDiscuss
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.4k6mo agoDiscuss
IvanMurzakCopilot instructions

Unity-MCP

IvanMurzak/Unity-MCP/.github/copilot-instructions.md

PROHIBITED: Using System.Reflection to access private, internal, or otherwise non-public fields, properties, methods, or classes in project code. This includes Type.GetType, BindingFlags.NonPublic, GetMethod, GetField, GetProperty, and similar reflection APIs when used to bypass access modifiers. Example of prohibited code: Note: This rule does NOT apply to ReflectorNet library usage, which is an external dependency specifically designed for reflection-based access patterns. Before performing any code review, you MUST read the project constitution: .specify/memory/constitution.md. All code review feedback must verify adherence to…

4.3k7mo agoDiscuss
arcboxlabsCopilot instructions

arcbox

arcboxlabs/arcbox/.github/copilot-instructions.md

ArcBox is a pure-Rust, high-performance container and VM runtime targeting macOS (primary) and Linux, aiming to surpass OrbStack's performance metrics. Three-tier structure: Key layers (bottom-up): Communication: Host <-> Guest via vsock and ArcBox protocol crates (arcbox-protocol, arcbox-grpc, arcbox-transport). Docker API compatibility is provided by arcbox-docker (Axum REST server + guest dockerd proxy). macOS specifics: Required for: examples, tests touching hypervisor. See arcbox.entitlements - modet types (e.g., libc::SIFMT) are u16 (Linux: u32). Use u32::from() for cross-platform compatibility - No fallocate -…

4.3k2mo agoDiscuss
MicrosoftCopilot instructions

skill-recorder

microsoft/skill-recorder/.github/copilot-instructions.md

Ongoing work in this repository lands on the current release branch, not main. Release branches are named release/<semver> — currently release/0.3.0, the highest-versioned release/* branch on origin. main trails the release branch and only advances when a version is cut and merged (see RELEASING.md). Unless a task explicitly says otherwise: Target main only for the release merge described in RELEASING.md.

4.1k2mo agoDiscuss
nyldnCopilot instructions

claude-octopus

nyldn/claude-octopus/.github/copilot-instructions.md

This repository is a Claude Code plugin that orchestrates multiple AI providers (Codex, Gemini, Claude, Perplexity, OpenRouter, and optionally Ollama) through structured Double Diamond workflows. Run the pre-push test suite: bash tests/run-all-tests.sh Run a single test: bash tests/unit/test-<name>.sh

4.1k48d agoDiscuss
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…

3.9k14d agoDiscuss
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.

3.9k14d agoDiscuss
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.

3.9k14d agoDiscuss
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.