agentleFS
Sign inSign up

Copilot instructions examples

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

Most stars first · from page 8Worked for most · soon
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.1k10mo agoDiscuss
LumiwealthCopilot instructions

lumibot

Lumiwealth/lumibot/.github/copilot-instructions.md

Important: remember to add unit tests for any new functionality you add. This is mission critical code, so we need to ensure that it works as expected and doesn't break…

2.1k18d agoDiscuss
chongdashuCopilot instructions

unreal-mcp

chongdashu/unreal-mcp/.github/copilot-instructions.md

The following guidelines apply to any method or function marked with the @mcp.tool() decorator. When this rule is applied, please remember to explicitly mention it. The following guidelines apply to…

2.1k18mo 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
Microsoft AzureCopilot instructions

azureml-examples

Azure/azureml-examples/.github/copilot-instructions.md

If a file is listed in the CODEOWNERS file with @azure/ai-platform-docs as the owner, it is owned by the AI Platform Docs team. For these files: Only files owned by the AI Platform Docs team are subject to these rules.

2k16mo 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
Microsoft AzureCopilot instructions

azure-functions-host

Azure/azure-functions-host/.github/copilot-instructions.md

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

2k29d 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
Microsoft AzureCopilot instructions

azure-sdk-for-go

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

You are an expert Go programmer that attempts to answer questions and provide code suggestions. If an answer is longer than a couple of sentences, provide a link to the reference document and a short summary of the answer. When performing a code review, if a file contains the header // Code generated by Microsoft (R) Go Code Generator., do NOT suggest any changes to the generated patterns. All patterns in generated code are intentional and by design. For the…

1.9k6mo 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
relaticleCopilot instructions

relaticle

relaticle/relaticle/.github/copilot-instructions.md

Multi-tenant SaaS CRM with paying customers. Tenant isolation is the highest-priority concern. A single cross-tenant data leak is a critical security incident. The app uses Filament panels with a per-request…

1.7k6d 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
AvdLeeCopilot instructions

Swift-Concurrency-Agent-Skill

AvdLee/Swift-Concurrency-Agent-Skill/.github/copilot-instructions.md

Review code changes as an Agent Skills expert, focusing on the Agent Skills open format specification and best practices. Level 1: Metadata (always loaded) - YAML frontmatter in SKILL.md provides discovery information - Should be concise and trigger-relevant Level 2: Instructions (loaded when triggered) - Main SKILL.md body contains procedural knowledge, workflows, best practices - Should be under ~5k tokens - Include decision trees, quick reference guides, and clear examples Level 3: Resources (loaded as needed) - Additional markdown files…

1.7k54d agoDiscuss
feiskyerCopilot instructions

claude-code-settings

feiskyer/claude-code-settings/.github/copilot-instructions.md

This repository contains Claude Code settings, configurations and guidance. The default setup uses GitHub Copilot as the model provider through a proxy API. Skills are reusable capabilities defined in the skills/ directory. Each skill has a SKILL.md file with YAML frontmatter containing name and description fields. The description serves as both documentation and trigger condition. All skill files must include YAML frontmatter: Skills are invoked via slash syntax or triggered automatically: When creating or modifying skills: Claude Code guidances should…

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

1.6k15d 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.