agentleFS

Copilot instructions examples

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

Worked for most · soon
MicrosoftCopilot instructions

waza

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

Read AGENTS.md before changing this repository. Its review-derived standards, required checks, and completion gates apply to ordinary Copilot work as well as Squad work. Keep detailed standards there; this file is the execution checklist, not a second specification. - Trace changed values through every affected consumer: native loaders, eval/task/checkpoint schemas, preflight, execution/resume, cache keys, run/regrade serialization, API, UI, exports, and documentation. Reuse shared effective-config/path/tool-name helpers; check overrides and disabled paths. - Preserve omitted/null/empty/zero/false distinctions and intentional legacy compatibility. Keep artifact…

Steady3 mentions in 2 weeks

No other project uses it yet

1.5k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

waza

microsoft/waza/.squad/copilot-instructions.md

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously, follow these guidelines. Before starting work on any issue: Before starting work, check your capability profile in .squad/team.md under the Coding Agent → Capabilities section. Use the squad branch convention: Example: squad/42-fix-login-validation When opening a PR: - Reference the issue: Closes #{issue-number} - If the issue had a squad:{member} label, mention the member: Working as {member} ({role}) - If this is a…

Steady3 mentions in 2 weeks

2 projects use a version of this

1.5k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

waza / templates

microsoft/waza/.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: 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…

3 projects use a version of this

1.5k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

pict

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

Comprehensive instructions for developing in the PICT (Pairwise Independent Combinatorial Testing) repository PICT (Pairwise Independent Combinatorial Testing) is a Microsoft open-source command-line tool and C++ library for generating test cases…

1.5k10mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

fluentui-react-native

microsoft/fluentui-react-native/.github/copilot-instructions.md

See AGENTS.md for guidance on working with code in this repository.

1.4k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

fhir-server

microsoft/fhir-server/.github/copilot-instructions.md

Core project guidelines, coding standards, and architecture principles are in AGENTS.md at the repo root — read it first. This file adds Copilot-specific skill activation routing and ADR guidance. Activate the relevant skill from .github/skills/ before any architecture task. When creating or updating an ADR in docs/arch/: - Use the create-adr skill. - Cover states, behaviors, outcomes, and edge cases thoroughly. - Reference prior ADRs and the FHIR specification. - If the decision obsoletes a prior ADR, update that ADR…

1.4k6mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

gctoolkit

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

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

1.3k12mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

CSS-Exchange

microsoft/CSS-Exchange/.github/copilot-instructions.md

NEVER commit, push, or create PRs without explicit user instruction. NEVER auto-fix issues found during code review. Report findings only. NEVER present code as complete without running Invoke-CodeFormatterOnFiles and SpellCheck.ps1 first. ALWAYS report findings and wait for user decision before modifying the repository. ALWAYS commit only the specific files the user requests. No extra files. ALWAYS use named parameters instead of positional parameters. ALWAYS ensure .ps1 files have UTF-8 BOM encoding. When counting code patterns (function calls, occurrences), ALWAYS exclude…

1.3k6mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

griffel

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

Griffel is a CSS-in-JS library with near-zero runtime, SSR support, and ahead-of-time compilation. It's organized as a monorepo using Nx with 16+ packages and applications including React bindings, build-time transforms, and DevTools. Always reference these instructions first and fallback to search or bash commands only when you encounter unexpected information that does not match the info here. CRITICAL: NEVER CANCEL long-running commands. Set timeouts appropriately. When using Nx affected commands in a repository that may not have a main branch…

1.3k7mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

clrmd

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

Microsoft.Diagnostics.Runtime (ClrMD) is a .NET library for inspecting crash dumps and live processes. It provides programmatic access to CLR internals (heap, types, threads, GC roots, exceptions) similar to SOS debugging extensions. Important: ClrMD loads architecture-specific native components (DAC), so the test host must match the dump architecture. Use --arch x86 to test 32-bit dumps and --arch x64 for 64-bit. The Test.cmd/test.sh scripts handle this automatically. Dump generation: Tests generate crash dumps lazily on first run — no manual pre-build step…

Steady4 mentions in 2 weeks

No other project uses it yet

1.2k9mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

onnxruntime-genai

microsoft/onnxruntime-genai/.github/copilot-instructions.md

This is ONNX Runtime GenAI, a high-performance inference library for generative AI models. The codebase implements the complete generative AI loop including preprocessing, ONNX Runtime inference, logits processing, search/sampling, and KV cache management. The State class hierarchy in src/models/model.h handles device-specific execution, while the Engine class in src/engine/ manages request batching and scheduling. WinML builds require explicit SDK version specification: WinML integration downloads Microsoft.Windows.AI.MachineLearning via NuGet and copies headers/libs to a local ort/ directory. Each hardware backend implements DeviceInterface (defined…

Steady8 mentions in 2 weeks

No other project uses it yet

1.2k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

mssql-jdbc

microsoft/mssql-jdbc/.github/copilot-instructions.md

This project is the Microsoft JDBC Driver for SQL Server, enabling Java applications to interact with SQL Server and Azure SQL databases. It implements the JDBC 4.2/4.3 specification, communicating over the TDS (Tabular Data Stream) protocol. It supports features like connection pooling, Always Encrypted, Azure AD authentication, bulk copy, configurable retry logic, and idle connection resiliency. The project builds from a single Maven project (pom.xml) with multiple JRE profiles (jre8, jre11, jre17, jre21, jre25, jre26). Each profile compiles against a…

Steady9 mentions in 2 weeks

No other project uses it yet

1.1k4mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

power-platform-skills / template

microsoft/power-platform-skills/plugins/mobile-apps/template/.github/copilot-instructions.md

Follow the canonical Power Apps app guidance for this project, including skill routing, installation approval, and the vendor-code boundary.

Steady41 mentions in 2 weeks

No other project uses it yet

1.1k9d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Agents

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

Synchronization owns maintenance of generated Teams samples in every language. The language profiles in automation/teams-sample-sync/config/targets.yml define the managed destination roots, currently samples/dotnet/teams/** and samples/nodejs/teams/**. This rule also applies to future language profiles. Outside that process, do not change any files in those roots, including implementations, project/package versions, lockfiles, shared helpers such as AspNetExtensions.cs, tests, manifests, configuration, assets, documentation, formatting, cleanup, or dependency updates. The authorized maintenance path includes the synchronization runtime and Copilot tasks assigned through workflow-generated handoff issues with…

1.1k12d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

shell-intune-samples

microsoft/shell-intune-samples/.github/copilot-instructions.md

This repository's canonical agent context lives in AGENTS.md at the repository root. Read it first. It describes the repository layout, the script conventions (docs/conventions.md), the one-command verify loop (scripts/verify.sh), and the pull-request conventions (.github/instructions/telemetry.instructions.md). These are sample scripts for educating Intune administrators; they are run in non-production / test environments only. Keep changes focused, idempotent, and consistent with the existing ## banner plus Microsoft copyright / MIT license header style. Run ./scripts/verify.sh before opening a pull request.

1.1k4mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

bf-tree

microsoft/bf-tree/.github/copilot-instructions.md

Rust toolchain is pinned to 1.95.0 via rust-toolchain.toml. Bf-Tree is a concurrent, larger-than-memory B+-tree range index. The core data flow:

1.1k6mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

testfx

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

This is a .NET based repository that contains the MSTest testing framework and Microsoft.Testing.Platform (aka MTP) testing platform. Please follow these guidelines when contributing: The codebase ships several distinct (but related) products. Knowing which product a change belongs to is essential because they have different conventions, target frameworks, and public API surfaces: Solution files: TestFx.slnx is the full solution; MSTest.slnf, Microsoft.Testing.Platform.slnf, and NonWindowsTests.slnf are filtered views. Use session-delivery-hygiene for guidance-change requests, before editing or pushing PR-linked work, when diagnosing package/output…

1.1k36d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

qdk

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

This repo contains the Microsoft Quantum Development Kit (QDK), which provides tooling for the Q# language. Q# is an open-source programming language designed for developing and running quantum algorithms. This repo is publicly available at https://github.com/microsoft/qdk . All internal source code for the compiler and related tooling has been moved under the source/ directory at the repository root. This does not include Q# libraries (library/), samples (samples/), katas (katas/), or any standard files and folders typically found at the root…

No other project uses it yet

1k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

BuildXL

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

BuildXL is a distributed, cached, incremental build engine. Frontends construct a pip graph, then the scheduler executes it. Pips declare inputs and outputs, and sandboxed file-access monitoring enforces those declarations. Build correctness and caching are content-based rather than timestamp-based. Important concepts: - A pip is a node in the build DAG, such as a process, copy, write, service, or IPC operation. - Frontends include DScript, MSBuild, JavaScript, Ninja, NuGet, and Download. - Qualifiers parameterize builds, commonly by configuration and platform.…

1k9d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DevSkim

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

DevSkim is a .NET library and cross-platform command line tool that performs static security analysis of source code. The repository contains: ⚠️ IMPORTANT: This repository uses private Azure DevOps feeds for package management: Rules for agents: 1. You MAY temporarily modify nuget.config to use public feeds (nuget.org) when working locally 2. You MUST NOT commit these changes - always revert them before committing 3. Use git restore nuget.config before creating commits 4. The private feed configuration must remain in the…

1k8d 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.