agentleFS

Copilot instructions examples

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

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

copilot-cli-for-beginners

github/copilot-cli-for-beginners/.github/copilot-instructions.md

These instructions guide GitHub Copilot when working in this repository. This is a beginner-friendly educational course teaching GitHub Copilot CLI. The repo contains Markdown chapters (00–07), Python/C#/JavaScript sample apps, and supporting assets (images, demo GIFs, glossary). It is not a software product — it is technical courseware. These patterns were mined from actual PR review feedback and represent recurring maintainer expectations: Every chapter (00–07) follows the same pattern in its README.md: Do not deviate from this structure when editing or…

Steady3 mentions in 2 weeks

No other project uses it yet

2.9k5mo 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
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…

2.8k2mo 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
OpenAICopilot instructions

openai-dotnet

openai/openai-dotnet/.github/copilot-instructions.md

When making changes to TypeSpec files (.tsp files), you must regenerate the code by running the following script: This ensures that any modifications to the TypeSpec definitions are properly reflected in the generated code. When making Changes to TypeSpec files (.tsp files), Do not use type unions and instead use discriminators to ensure that we don't use binary data types when the generation occurs.

Steady5 mentions in 2 weeks

No other project uses it yet

2.7k9mo 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
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.

2.6k4mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-sdk-for-java

Azure/azure-sdk-for-java/.github/copilot-instructions.md

Note: For general AI agent guidance and repository overview, see AGENTS.md at the repository root. This file contains GitHub Copilot-specific instructions and detailed development guidelines. You are a highly experienced software engineer with expertise in This repository contains the source code for the Azure SDK for Java, which provides developers with libraries for accessing Azure services. The SDK is organized into client libraries, with each library corresponding to an Azure service. The Azure SDK for Java repository contains client libraries…

2.6k20mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

CsWin32

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

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

No other project uses it yet

2.5k6mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Microsoft365DSC

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

You are a lazy senior developer. Lazy means efficient, not careless. The best code is the code never written. Before writing any code, stop at the first rung that holds: Not lazy about: input validation at trust boundaries, error handling that prevents data loss, security, accessibility, the calibration real hardware needs (the platform is never the spec ideal, a clock drifts, a sensor reads off), anything explicitly requested. Lazy code without its check is unfinished: non-trivial logic leaves ONE runnable…

2.5k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Olive

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

Microsoft Olive is a Python-based AI model optimization toolkit for the ONNX Runtime. It provides 40+ built-in optimization components for model compression, optimization, fine-tuning, and compilation. 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.

Steady6 mentions in 2 weeks

No other project uses it yet

2.4k14mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

pxt

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

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

2.3k15mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-sdk-for-js

Azure/azure-sdk-for-js/.github/copilot-instructions.md

Agent-facing guidance for this repository now lives in AGENTS.md at the repository root. It acts as a resolver: each topic points at its canonical home (skills under .github/skills/, reviewer instructions under .github/instructions/reviewer/, and deep-dive docs under documentation/) so the same rule isn't duplicated across files. Start there. This file is intentionally kept as a lightweight redirect so tooling and pipelines that reference .github/copilot-instructions.md by path continue to resolve during the transition.

Steady3 mentions in 2 weeks

No other project uses it yet

2.3k20mo agoReviewMountCreate a free account to mount
AWSCopilot instructions

sagemaker-python-sdk

aws/sagemaker-python-sdk/.github/copilot-instructions.md

Guidance for GitHub Copilot working in this repository — the source of the Amazon SageMaker Python SDK. This repository keeps its AI-agent guidance in a single source of truth, AGENTS.md, following the AGENTS.md convention. Copilot instructions do not support file imports, so read AGENTS.md at the repository root and follow it. Key points from that file (see AGENTS.md for the authoritative, complete version): - v3 by default. The current major version is v3 (pip install sagemaker). SDK v3 is a…

Steady6 mentions in 2 weeks

No other project uses it yet

2.3k3mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

intelligent-terminal

microsoft/intelligent-terminal/.github/copilot-instructions.md

This is the source repository for Windows Terminal, Windows Console Host (conhost.exe), and shared components between them. It is a large C++ codebase built with MSBuild/Visual Studio targeting Windows. Requires Visual Studio (preferably Visual Studio 2026) with "Desktop Development with C++" and "Universal Windows Platform Development" workloads, plus the Windows 11 SDK (10.0.22621.0). The solution uses the .slnx format (OpenConsole.slnx), which requires MSBuild 17.10 or later. If you get "Invalid input 'OpenConsole.slnx'. The file type was not recognized.", update Visual…

Steady2 mentions in 2 weeks

No other project uses it yet

2.2k4mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DirectXTex

microsoft/DirectXTex/.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.2k4mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

AKS

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

Scope: Repository-wide standards, conventions, and Microsoft style guide. Module-Specific: See AGENTS.md files in subdirectories. File-Specific: See .github/instructions/*.instructions.md for targeted patterns. This repository contains resources, examples, and documentation for the Azure Kubernetes Service (AKS) Engineering team: See website/AGENTS.md for detailed build instructions and troubleshooting. Most examples are standalone YAML files or scripts: Shell script template: Text files documenting node image changes. No build process required.

2.1k12mo 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.