agentleFS

Copilot instructions examples

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

Worked for most · soon
MicrosoftCopilot instructions

DirectXMath

microsoft/DirectXMath/.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 code requires C++11/C++14 features. Notable .editorconfig rules: C/C++ files use 4-space indentation, crlf line endings,…

No other project uses it yet

1.8k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DirectXTK12

microsoft/DirectXTK12/.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. If you are new to DirectX, you may want to start with DirectX Tool Kit for DirectX 11 to learn many important concepts for Direct3D programming, HLSL shaders, and the code patterns used in this project with a more 'newbie friendly' API. - Code Style: The project uses an .editorconfig file to…

No other project uses it yet

1.8k4mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

vscode-cmake-tools

microsoft/vscode-cmake-tools/.github/copilot-instructions.md

You are an expert contributor to microsoft/vscode-cmake-tools, a TypeScript VS Code extension targeting Windows, macOS, and Linux. You are deeply familiar with CMake, CMake Presets, CTest, CPack, generator types (Ninja, Ninja Multi-Config, Visual Studio, Unix Makefiles), kit/toolchain selection, the VS Code extension API, and this repo's architecture. Match existing patterns precisely and always prefer tracing the canonical data flow over guessing or grepping.

No other project uses it yet

1.7k7mo agoReviewMountCreate a free account to mount
GitHubCopilot instructions

codeql-action

github/codeql-action/.github/copilot-instructions.md

The CodeQL Action is used in GitHub Actions workflows to run CodeQL scans using the CodeQL CLI. The main codebase of the CodeQL Action is written in TypeScript and compiled to JavaScript. Both the TypeScript sources and the generated JavaScript code are contained in this repository. The TypeScript sources are contained in the src directory and the JavaScript code is contained in the lib directory. A GitHub Actions workflow checks that the JavaScript code in lib is up-to-date. Therefore, you…

No other project uses it yet

1.7k2mo agoReviewMountCreate a free account to mount
GitHubCopilot instructions

gh-stack

github/gh-stack/.github/copilot-instructions.md

A Go CLI extension (gh stack) for managing stacked branches and pull requests. Uses Cobra for commands, bubbletea/lipgloss for TUI, and stretchr/testify for tests. Repository operations require Git 2.36+. No Makefile, no code generation, no external linter config. Standard Go toolchain only. For full architecture details, see AGENTS.md in the repository root.

No other project uses it yet

1.6k59d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

OpenAPI.NET

microsoft/OpenAPI.NET/.github/copilot-instructions.md

Always use conventional commits format when creating commits. Follow this structure: The scope should indicate the package or area affected (e.g., library, yaml-reader, hidi). If a commit introduces a breaking change, add BREAKING CHANGE: in the footer or append ! after the type/scope: The user might request you update the benchmark information. You might do it on your own if a previous change added new properties to models under src/Microsoft.OpenApi/Models. Always use a separate commit for this change. To do…

No other project uses it yet

1.6k10mo agoReviewMountCreate a free account to mount
MongoDBCopilot instructions

mongo-php-library

mongodb/mongo-php-library/.github/copilot-instructions.md

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

No other project uses it yet

1.6k10mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

vscode-jupyter

microsoft/vscode-jupyter/.github/copilot-instructions.md

This file contains key information to help AI assistants work more efficiently with the VS Code Jupyter codebase. Read .github/typescript-instructions.md for detailed TypeScript development steps.

No other project uses it yet

1.5k16mo agoReviewMountCreate a free account to mount
Microsoft AzureReads credentialsCopilot instructions

data-api-builder

Azure/data-api-builder/.github/copilot-instructions.md

Data API builder (DAB) is an open-source, no-code tool that creates secure, full-featured REST, GraphQL endpoints for databases. It's a CRUD data API engine that runs in a container—on Azure, any other cloud, or on-premises. It also supports creation of DML and Custom MCP tools to build a SQL MCP Server backed by a SQL database. DAB uses integration tests that require database instances with proper schemas. SQL-based tests: CosmosDB tests: Test Configuration: - Test database schemas are in src/Service.Tests/DatabaseSchema-<engine>.sql…

No other project uses it yet

1.5k5mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

iotedge

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

Azure IoT Edge is a dual-language (C# and Rust) system with three main components: Shared C# utilities live in edge-util/ (Option type, Preconditions, storage abstractions, RocksDB bindings). Solution: Microsoft.Azure.Devices.Edge.sln Test framework: xUnit with Moq. Tests use trait-based categories: [Unit], [Integration], [Bvt]. Workspace root: edgelet/Cargo.toml The api-proxy-module is a separate Rust project at edge-modules/api-proxy-module/. CI enforces both rustfmt and clippy. Run before submitting: StyleCop.Analyzers runs on Release/CheckInBuild configurations. Warnings are treated as errors (TreatWarningsAsErrors=True). CI uses Azure Pipelines (not GitHub Actions).…

No other project uses it yet

1.5k7mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

ai-dev-gallery

microsoft/ai-dev-gallery/.github/copilot-instructions.md

AI Dev Gallery is a WinUI 3 desktop application showcasing local AI capabilities for Windows developers. It features interactive samples powered by local AI models, and enables exporting standalone Visual Studio projects. Tech Stack: C#, WinUI 3, Windows App SDK, ONNX Runtime, WinML, .NET 9.0

No other project uses it yet

1.5k11mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

win32metadata

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

The toolchain converts Windows SDK C/C++ headers into a .NET metadata assembly (Windows.Win32.winmd). Pipeline stages (in order, defined in sources/GeneratorSdk/sdk/sdk.targets): 1. ScrapeHeaders — Win32MetadataScraper hosts ClangSharp PInvokeGenerator as a library,…

No other project uses it yet

1.5k5mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

hve-core

microsoft/hve-core/.github/copilot-instructions.md

Comprehensive coding guidelines and instructions for hve-core

No other project uses it yet

1.5k2mo 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…

No other project uses it yet

1.5k11mo 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.

No other project uses it yet

1.4k6mo agoReviewMountCreate a free account to mount
MicrosoftDeletes or force-pushesCopilot instructions

waza

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

You are working on a project that uses Squad, an AI team framework. When picking up issues autonomously or using Squad, follow these guidelines. IMPORTANT — run this check only when the session is expected to use Squad Coordinator behavior, before doing any Squad work: Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions. This token is placed at the end of squad.agent.md. If it is missing, the coordinator file is missing or truncated. Do not run this check for…

No other project uses it yet

1.4k6mo 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…

2 projects use a version of this

1.4k6mo 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 or using Squad, follow these guidelines. IMPORTANT — run this check only when the session is expected to use Squad Coordinator behavior, before doing any Squad work: Look for the exact token SQUAD_COORDINATOR_CANARY_a8f3 in your agent_instructions. This token is placed at the end of squad.agent.md. If it is missing, the coordinator file is missing or truncated. Do not run this check for…

No other project uses it yet

1.4k6mo 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. Prefer the smallest test command covering the change. Host-dependent backend suites live under tests/scripts/; use the applicable backend guide and docs/ci-validation-infrastructure.md before running or changing them. - Production parsing dispatches through exact closed contracts and their version-specific…

No other project uses it yet

1.4k59d 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…

No other project uses it yet

1.4k6mo 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.