agentleFS
Sign inSign up

Copilot instructions examples

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

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

agent-framework-go

microsoft/agent-framework-go/.github/copilot-instructions.md

Do not stage, commit, or push compiled binaries or build artifacts. This includes, but is not limited to: - Extensionless go build output named after its source directory (for example, examples/02-agents/agents/step10asmcptool/step10asmcptool). - go test -c binaries (.test) and coverage output (.out, coverage.html). - Platform executables and libraries (*.exe, *.dll, *.so, *.dylib). - Anything under bin/, dist/, vendor/, tmp/, or temp/. - When building or running examples locally, keep the compiled output out of Git. Never use git add -f /…

6338d agoDiscuss
MicrosoftCopilot instructions

finops-toolkit

microsoft/finops-toolkit/.github/copilot-instructions.md

../AGENTS.md

60721d agoDiscuss
MicrosoftCopilot instructions

finops-toolkit / finops-hub-copilot

microsoft/finops-toolkit/src/templates/finops-hub-copilot/copilot-instructions.md

Example: "Why are costs increasing?" 💰 [Key finding with primary metric] [1-2 paragraphs with data table]

60721d agoDiscuss
MicrosoftCopilot instructions

vcpkg-tool

microsoft/vcpkg-tool/.github/copilot-instructions.md

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

6052mo agoDiscuss
MicrosoftCopilot instructions

go-sqlcmd

microsoft/go-sqlcmd/.github/copilot-instructions.md

This document provides guidance for GitHub Copilot when working with the go-sqlcmd repository. go-sqlcmd is a Go-based command line tool (sqlcmd) for working with Microsoft SQL Server, Azure SQL Database, and Azure Synapse. The project aims to be a complete port of the original ODBC sqlcmd to Go, utilizing the go-mssqldb driver. The project uses Go modules. Run go mod download to fetch dependencies. Tests may require the following environment variables for database connectivity: - SQLCMDSERVER - SQL Server hostname…

5954mo agoDiscuss
MicrosoftCopilot instructions

CopilotAdventures

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

CopilotAdventures is an educational repository containing adventure-themed coding challenges designed to teach developers GitHub Copilot's different interaction modes (Agent, Ask, and Edit). The core concept is fantasy-themed programming puzzles that demonstrate specific Copilot capabilities. JavaScript/Python Standalone Pattern: - Individual self-contained files per adventure - Direct execution: node filename.js or python filename.py - No shared runner - each file is completely independent JavaScript/Python Solutions:

58014mo agoDiscuss
MicrosoftCopilot instructions

WindowsProtocolTestSuites

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

Windows Protocol Test Suites provide interoperability testing for Windows open specifications across multiple protocol families (File Services, Identity Management, RDP, Kerberos, etc.). The codebase follows a consistent multi-suite architecture with…

5667mo agoDiscuss
MicrosoftCopilot instructions

mscclpp

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

This document outlines a few useful informations for contributing to this project. When adding new headers, place them in the appropriate directory based on their intended usage (public API vs. internal use). To prevent confusion, do not have duplicate names for headers in these two directories. Symbols declared in public headers must be properly documented using Doxygen-style comments, except forward declarations and private class members. In a few cases, we may need to add declarations in public headers that are…

5606mo agoDiscuss
MicrosoftCopilot instructions

component-detection

microsoft/component-detection/.github/copilot-instructions.md

3. Register Detector in DI: Add to ServiceCollectionExtensions.AddComponentDetection() in Orchestrator:

55511mo agoDiscuss
MicrosoftCopilot instructions

pxt-arcade

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

For external contributors: If you encounter simulator-specific issues, please file them in this repository and maintainers will coordinate with the appropriate internal teams.

54610mo agoDiscuss
MicrosoftCopilot instructions

react-native-windows-samples

microsoft/react-native-windows-samples/.github/copilot-instructions.md

This repository contains React Native samples, components, and templates for Windows, macOS, and Duo. It serves as a companion to the main React Native for Windows and React Native for macOS repositories. Setup a sample: Build and run: For native modules:

54313mo agoDiscuss
MicrosoftCopilot instructions

Orchard

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

This repo is the Orchard project. Everything currently lives under orchard_env/ — a Kubernetes-based sandbox orchestration service for multi-turn agent↔sandbox interactions (e.g. SWE-bench). trainer/slime/ is a scaffolded placeholder for the RL trainer fork. All paths below are relative to orchardenv/. The importable package is orchardenv (orchardenv/orchardenv/). Three main layers: Client calls POST /sandboxes/{id}/exec with wait=True → orchestrator runs command via agent HTTP → returns result. If the server-side wait times out (response status is "running"), the client falls back to…

5192mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

AL-Go

microsoft/AL-Go/.github/copilot-instructions.md

AL-Go for GitHub is a set of GitHub Actions and Templates for building, testing, and deploying Business Central extensions using GitHub workflows. It consists of PowerShell actions, reusable YAML workflows, and Pester-based unit tests.

5056mo agoDiscuss
MicrosoftCopilot instructions

PowerAppsCodeApps / Dataverse

microsoft/PowerAppsCodeApps/samples/Dataverse/.github/copilot-instructions.md

This guide explains how to initialize an app, add a data source using the Power SDK CLI and generate the corresponding Models and Services, and publish the app. Always continue immediately without asking for confirmation at each step. Use the following command to initialize an app: Use the following command to add a data source: If additional parameters such as table and dataset are required, use: Use the following command to publish an app: - Read the files under src\Models…

5008mo agoDiscuss
MicrosoftCopilot instructions

PowerAppsCodeApps / FluentSample

microsoft/PowerAppsCodeApps/samples/FluentSample/.github/copilot-instructions.md

- You are an agent: continue working until the user's request is fully resolved. Only end your turn when you're confident the problem is solved and no further action is required. - Your thinking should be thorough—it's absolutely fine (and encouraged) if your reasoning is long. Think step by step before and after each action you take. - Plan extensively before making any function calls. Reflect critically after each one. Avoid chaining function calls without introspection between them, as that…

5008mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

xdp-for-windows

microsoft/xdp-for-windows/.github/copilot-instructions.md

XDP for Windows is a high-performance Windows packet processing framework inspired by Linux XDP. It enables sending and receiving network packets at high rates by bypassing most of the OS networking stack. Key facts: - Languages: C (kernel drivers), C++ (user-mode tests/samples), PowerShell (build/test scripts) - Frameworks: Windows Driver Kit (WDK), NDIS, TAEF (test framework) - Target: Windows Server 2019/2022 and Prerelease builds, x64 and arm64 platforms - Build Tool: MSBuild via Visual Studio Developer Command Prompt Always run builds…

4905mo agoDiscuss
MicrosoftCopilot instructions

mssql-python

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

mssql-python is Microsoft's pip-installable Python driver for SQL Server, Azure SQL, and Azure Synapse. It is DB API 2.0 (PEP 249) compliant. The core is a C++ pybind11 native extension…

4757d agoDiscuss
MicrosoftCopilot instructions

PSRule

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

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. PSRule is a cross-platform PowerShell module for validating infrastructure as code (IaC) and objects using PowerShell rules. The project includes .NET libraries, a PowerShell module, CLI tools, VS Code extension, and comprehensive documentation. Always test functionality after making changes: Expected: Should return 11 commands without errors. Expected: Should display help text starting with "PSRule CLI…

47413mo agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

Qcodes

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

QCoDeS is a python library that follows all the best practices of a python package. All configuration for the package and for the tools we use lives in pyproject.toml. Documentation, in the docs/ folder, is written using Restructured Text or Jupyter Notebook formats, and sphinx is used to render the documentation into HTML pages to be deployed at https://microsoft.github.io/Qcodes/. The documentation includes Contributor's guide, so please follow that closely. Before committing anything, run pre-commit hooks with and make sure they…

45813mo agoDiscuss
MicrosoftCopilot instructions

onnxscript

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

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

45615mo 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.