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
MicrosoftCopilot instructions

Power-CAT-Copilot-Studio-Kit

microsoft/Power-CAT-Copilot-Studio-Kit/.github/copilot-instructions.md

These instructions guide the GitHub Copilot coding agent (and any human contributor reading them) when working in this repository. The Power CAT Copilot Studio Kit ships: - Power Platform solution files (top-level folders) — the actual Kit components: validation framework, library components, governance tooling, agent inventory, etc. These get packaged and imported into customer environments. - A GitHub Pages landing page at https://microsoft.github.io/Power-CAT-Copilot-Studio-Kit/ built from site-src/ (Vite + React 19 + Fluent UI v9 + TypeScript) and deployed from docs/…

4534mo agoDiscuss
MicrosoftCopilot instructions

PowerApps-Tooling

microsoft/PowerApps-Tooling/.github/copilot-instructions.md

This is a .NET SDK project (SDK 10.0, pinned in global.json). The solution is src/PASopa.sln. Multi-targeting: Projects target net8.0, net10.0, and net48. Building net48 requires Windows with .NET Framework 4.8 Developer Pack. On Linux/macOS, net48 targets are skipped automatically. Warnings are treated as errors at the command line (TreatWarningsAsErrors is set in Directory.Build.props), but suppressed in VS IDE to avoid blocking development flow. Services are registered via IServiceCollection extension methods using TryAddSingleton: - services.AddMsappArchiveFactory() — registers IMsappArchiveFactory - services.AddMsappPackingService() —…

4444mo agoDiscuss
MicrosoftCopilot instructions

go

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

Use when implementing, modifying, or adding crypto algorithms to the Microsoft build of Go crypto backend system. Covers the end-to-end workflow: editing Go source in the submodule, backend architecture patterns, and extracting changes into patches with git go-patch. See eng/doc/DeveloperGuide.md for the full development workflow, including how to set up the repository, build, test, and work with git go-patch. The Microsoft build of Go replaces upstream BoringCrypto (crypto/internal/boring) with a pluggable backend system (github.com/microsoft/go/cryptobackend). The backend dispatches crypto operations to…

4314mo agoDiscuss
MicrosoftCopilot instructions

SqlNexus

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

These instructions apply to all AI-assisted code changes in this repository. Follow them for every contribution, now and in the future. - Language / runtime: C# 7.3 on .NET Framework 4.8 (legacy, non-SDK product projects). - Solution: sqlnexus.sln with multiple importer/engine assemblies (e.g. sqlnexus, RowsetImportEngine, NexusInterfaces, PerfmonImporter, ErrorLogImporter, BulkLoadEx, ReadTraceNexusImporter, LinuxPerfImporter, TraceEventImporter). - Purpose: SqlNexus imports SQL Server diagnostic data (PSSDIAG/SQLLogScout output) into a SQL Server database and runs reports over it. Every code change that adds or modifies behavior…

42748d agoDiscuss
MicrosoftCopilot instructions

RAMPART

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

RAMPART is a pytest-native safety testing framework for agentic AI applications. RAMPART is organized as a modular framework with these main components: BEFORE editing or code-reviewing any file, you MUST read the .github/instructions/ files whose applyTo patterns match the files you are about to edit: - Editing/code-reviewing */.py → read coding-standards.instructions.md - Editing/code-reviewing /tests/ → also read unit-tests-standards.instructions.md Follow every rule in the applicable instruction files. Do not skip this step. When performing a code review, be selective. Only leave…

4165mo agoDiscuss
MicrosoftCopilot instructions

mssql-django

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

mssql-django is a Django database backend for Microsoft SQL Server. It enables Django applications to use SQL Server as their database by translating Django's database abstraction layer to SQL Server's…

39913d agoDiscuss
MicrosoftCopilot instructions

MHA

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

Message Header Analyzer (MHA) - Outlook add-in for analyzing email headers. See README.md for full feature list and usage. Development Workflow: - User runs npm run dev-server for local development - don't ask to build unless there are errors - Webpack handles compilation and hot reload automatically - Test in Outlook Desktop with Debug tasks when needed ❌ Disabling ESLint rules to bypass problems ❌ Using any or unknown without type assertions ❌ Adding TODO/Phase comments in code ❌ Keeping…

3859mo agoDiscuss
MicrosoftCopilot instructions

iq-series

microsoft/iq-series/.github/copilot-instructions.md

This repository is The IQ Series — a hands-on learning series for Microsoft IQ, Microsoft's unified intelligence layer for the enterprise. It covers three intelligence services:

3807mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

slow-cheetah

microsoft/slow-cheetah/.github/copilot-instructions.md

* Review the CONTRIBUTING.md file for instructions to build and test the software. * Run the .github/Prime-ForCopilot.ps1 script (once) before running any dotnet or msbuild commands. If you see any…

3537mo agoDiscuss
MicrosoftCopilot instructions

vscode-java-pack

microsoft/vscode-java-pack/.github/copilot-instructions.md

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

3513mo agoDiscuss
MicrosoftCopilot instructions

regorus

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

If these instructions conflict with the actual codebase, the code is the source of truth. Flag any discrepancy you notice. Regorus is a multi-policy-language evaluation engine written in Rust. Its…

3475mo agoDiscuss
MicrosoftCopilot instructions

Xbox-GDK-Samples

microsoft/Xbox-GDK-Samples/.github/copilot-instructions.md

When generating a pull request summary for this repository, follow the format used in our release notes. The summary should help reviewers quickly understand what changed, which samples were affected, and any infrastructure/kit updates. Use this structure for every PR summary: Determine categories by inspecting the diff: - Files under Samples/ that are newly added → New samples - Files under Samples/ that are modified → Updated samples - Files under Kits/ that are modified → Updated kits (ATGTK or…

3474mo agoDiscuss
MicrosoftCopilot instructions

jericho

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

Jericho is a Python library that connects learning agents with interactive fiction (text adventure) games via a Z-machine interpreter (frotz). This compiles the frotz C library and installs jericho in…

3376mo agoDiscuss
MicrosoftCopilot instructions

lisa

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

This document provides comprehensive guidelines for generating test suggestions for pull requests (PRs) in the LISA project. These guidelines ensure thorough validation while maintaining cost efficiency and testing relevance. When reviewing or creating PRs, follow these three key areas of testing guidance: MANDATORY REQUIREMENT: Every code review must include a test suggestion using the Quick Reference Template provided below. This is required for all pull request reviews to ensure consistent test coverage guidance. When reviewing any pull request, you must:

3347mo agoDiscuss
MicrosoftCopilot instructions

ApplicationInsights-node.js / workflows

microsoft/ApplicationInsights-node.js/.github/workflows/copilot-instructions.md

These instructions help GitHub Copilot generate code that aligns with our team's standards and avoids common issues in JavaScript and TypeScript development. Before suggesting code, ensure:

33315mo agoDiscuss
MicrosoftCopilot instructions

fabric-cicd

microsoft/fabric-cicd/.github/copilot-instructions.md

fabric-cicd is a Python library for Microsoft Fabric CI/CD automation. It supports code-first Continuous Integration/Continuous Deployment automations to integrate Source Controlled workspaces into a deployment framework. 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. Prerequisites: Requires Python 3.9+ Mandatory Validation (ALWAYS): Critical: NEVER cancel build/test commands. CI (.github/workflows/validate.yml) will fail if validation workflow incomplete. Must provide explicit token_credential parameter to FabricWorkspace. Alternative: deploywithconfig()…

3315mo agoDiscuss
MicrosoftCopilot instructions

ApplicationInsights-Java

microsoft/ApplicationInsights-Java/.github/copilot-instructions.md

This is a Java agent that extends OpenTelemetry Java Agent to provide Azure Application Insights telemetry. The agent is packaged as a single JAR that instruments applications at runtime without…

3273mo agoDiscuss
MicrosoftCopilot instructions

vscode-azurefunctions

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

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

31914mo agoDiscuss
MicrosoftCopilot instructions

Tools-for-Health-Data-Anonymization

microsoft/Tools-for-Health-Data-Anonymization/.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. Tools for Health Data Anonymization is a .NET 8.0 project that provides anonymization capabilities for healthcare data, specifically FHIR and DICOM formats. The project includes command-line tools, core libraries, unit tests, functional tests, and Azure Data Factory pipeline components. Bootstrap and build (NEVER CANCEL - Build takes ~3 seconds, set timeout to 120+ seconds): Run…

30914mo agoDiscuss
MicrosoftCopilot instructions

libHttpClient

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

libHttpClient is a cross-platform C/C++ library providing a platform abstraction layer for HTTP and WebSocket communication. It is used by Xbox Live Service API (XSAPI) and the PlayFab SDK. Each platform implements PlatformInitialize() in Source/Platform/<Platform>/PlatformComponents_<Platform>.cpp, which creates platform-specific IHttpProvider and IWebSocketProvider implementations. Platform selection is controlled by: Sub-namespaces: xbox::httpclient::log, xbox::httpclient::detail, xbox::httpclient::test

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