agentleFS
Sign inSign up

Copilot instructions examples

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

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

CsWin32

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

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

2.5k5mo agoDiscuss
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.

2.4k13mo agoDiscuss
MicrosoftCopilot instructions

pxt

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

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

2.3k13mo agoDiscuss
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 (CMAKECXXSTANDARD 17). The command-line…

2.2k2mo agoDiscuss
MicrosoftCopilot instructions

azure-devops-mcp

microsoft/azure-devops-mcp/.github/copilot-instructions.md

Act like a helpful assistant, who is a professional Typescript engineer with a broad experience in LLM. In your work, you rigorously uphold the following guiding principles:

2k7mo agoDiscuss
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…

2k2mo agoDiscuss
MicrosoftCopilot instructions

maker.js

microsoft/maker.js/.github/copilot-instructions.md

When working on this repository, NEVER commit the following types of files: DO NOT add these files to .gitignore. Users need to see these files locally for development and building. The files should exist in the working directory but should not be committed to the repository. Always: 1. Review the files being committed with git status or git diff --cached 2. Ensure only source code, tests, and documentation are included 3. Check that no build artifacts or lockfiles are being…

2k9mo agoDiscuss
MicrosoftCopilot instructions

msticpy

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

MSTICPy is a Python library for InfoSec investigation and threat hunting. It provides: - Line length: 93 characters - Type hints: Required (enforced by mypy, annotations checked) - Always use…

2k8mo agoDiscuss
MicrosoftCopilot instructions

snmalloc

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

Complete the plan, then check in: When a plan is approved, execute all steps to completion. Don't stop after each step for review. When you think you're done, recursively apply all relevant principles from this file — check each one, act on any that apply, then check again until no more principles are relevant. Only then report completion and wait for feedback. Plans require discussion before implementation: After devising a plan (whether in plan mode or not), run the review…

2k6mo agoDiscuss
MicrosoftCopilot instructions

openvmm

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

OpenVMM is a modular, cross-platform Virtual Machine Monitor (VMM) written in Rust. This repository is home to both OpenVMM and OpenHCL (a paravisor). Documentation lives in Guide/ and is published at https://openvmm.dev. Restore required dependencies before building for the first time: The project supports cross-compilation for x8664 and aarch64. OpenHCL can only be built from Linux (WSL2 counts). For cross-compilation from WSL2 to Windows, see Guide/src/devguide/gettingstarted/crosscompile.md and source . ./buildsupport/setupwindows_cross.sh. - Never amend commits that have already been pushed. Make…

1.9k3mo agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

azure-pipelines-agent

microsoft/azure-pipelines-agent/.github/copilot-instructions.md

This repository contains the Azure Pipelines Agent, a cross-platform build and release agent written in C# for .NET Core. When working with this codebase, follow these guidelines and use the provided development tools. All commands should be run from the src/ directory: Follow the .NET Foundation coding guidelines:

1.9k20d agoDiscuss
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,…

1.8k3mo agoDiscuss
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…

1.8k2mo agoDiscuss
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.

1.7k5mo agoDiscuss
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…

1.6k8mo agoDiscuss
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.

1.5k14mo agoDiscuss
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

1.5k9mo agoDiscuss
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,…

1.5k3mo agoDiscuss
MicrosoftCopilot instructions

hve-core

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

Comprehensive coding guidelines and instructions for hve-core

1.5k6d agoDiscuss
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.5k9mo 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.