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

DirectXTK

microsoft/DirectXTK/.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.9k2mo agoDiscuss
GitHubCopilot instructions

copilot-cli-for-beginners

github/copilot-cli-for-beginners/.github/copilot-instructions.md

These instructions guide GitHub Copilot when working in this repository. This is a beginner-friendly educational course teaching GitHub Copilot CLI. The repo contains Markdown chapters (00–07), Python/C#/JavaScript sample apps, and supporting assets (images, demo GIFs, glossary). It is not a software product — it is technical courseware. These patterns were mined from actual PR review feedback and represent recurring maintainer expectations: Every chapter (00–07) follows the same pattern in its README.md: Do not deviate from this structure when editing or…

2.8k4mo agoDiscuss
MicrosoftCopilot instructions

pg_durable

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

pg_durable is a PostgreSQL extension (pgrx/Rust) providing durable SQL function execution. Everything runs inside the PostgreSQL server—no external services. Two execution contexts: 1. Backend processes (user sessions): Build function graphs…

2.8k20d agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

clarity

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

Clarity is an open-source TypeScript behavioral analytics library for tracking user interactions and session replays. Monorepo with Lerna/Yarn workspaces: Stack: TypeScript, Rollup, TSLint, Playwright, Lerna, Yarn workspaces Critical: clarity-js has two top priorities that must guide all development decisions: Rollup + TypeScript → multiple formats (CJS, ESM, IIFE minified). Build artifacts auto-cleaned to build/ or extension/ (gitignored). Build outputs per package: - clarity-js: clarity.js (CJS), clarity.module.js (ESM), clarity.min.js (minified), plus variants: clarity.extended.js, clarity.insight.js, clarity.performance.js, clarity.livechat.js, and dynamic agent builds (clarity.tidio.js,…

2.7k7mo agoDiscuss
OpenAICopilot instructions

openai-dotnet

openai/openai-dotnet/.github/copilot-instructions.md

When making changes to TypeSpec files (.tsp files), you must regenerate the code by running the following script: This ensures that any modifications to the TypeSpec definitions are properly reflected in the generated code. When making Changes to TypeSpec files (.tsp files), Do not use type unions and instead use discriminators to ensure that we don't use binary data types when the generation occurs.

2.7k8mo agoDiscuss
MicrosoftCopilot instructions

litebox

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

This repository contains a Rust-based, security-focused sandboxing library OS. To maintain high code quality and consistency, please adhere to the following guidelines when contributing.

2.7k16mo agoDiscuss
MicrosoftCopilot instructions

vscode-pull-request-github

microsoft/vscode-pull-request-github/.github/copilot-instructions.md

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

2.6k3mo agoDiscuss
MicrosoftCopilot instructions

foundry-local

microsoft/foundry-local/.github/copilot-instructions.md

Prefer .github/instructions/*.instructions.md files to capture durable architectural facts, conventions, and domain knowledge. Each file should have a description (for on-demand discovery) and optionally applyTo (for file-glob auto-attachment). Keep facts concise…

2.6k4mo agoDiscuss
Microsoft AzureCopilot instructions

azure-sdk-for-java

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

Note: For general AI agent guidance and repository overview, see AGENTS.md at the repository root. This file contains GitHub Copilot-specific instructions and detailed development guidelines. You are a highly experienced software engineer with expertise in This repository contains the source code for the Azure SDK for Java, which provides developers with libraries for accessing Azure services. The SDK is organized into client libraries, with each library corresponding to an Azure service. The Azure SDK for Java repository contains client libraries…

2.6k19mo agoDiscuss
KuddevCopilot instructions

nebula

Kuddev/nebula/.github/copilot-instructions.md

Review concrete regressions and missing boundary cases in the changed code. Explain an actionable finding with the trigger, affected behavior, and file/line evidence. Distinguish confirmed defects from questions; avoid speculative…

2.5k8d agoDiscuss
MicrosoftCopilot instructions

CsWin32

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

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

2.5k5mo agoDiscuss
RAIT-09Copilot instructions

obsidian-agent-client

RAIT-09/obsidian-agent-client/.github/copilot-instructions.md

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

2.4k8mo 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
llmsresearchCopilot instructions

paperbanana

llmsresearch/paperbanana/.github/copilot-instructions.md

CI runs lint, tests (Python 3.10–3.12 on Linux/macOS/Windows), and package build. Tests must pass without a GOOGLEAPIKEY—all tests mock external providers. PaperBanana is an agentic framework that generates publication-quality academic diagrams from text. It implements a two-phase multi-agent pipeline: Phase 1 — Linear Planning: Retriever → Planner → Stylist Phase 2 — Iterative Refinement: Visualizer ↔ Critic (up to N rounds) Key architectural layers:

2.4k8mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

pxt

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

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

2.3k13mo agoDiscuss
Microsoft AzureCopilot instructions

azure-sdk-for-js

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

Agent-facing guidance for this repository now lives in AGENTS.md at the repository root. It acts as a resolver: each topic points at its canonical home (skills under .github/skills/, reviewer instructions under .github/instructions/reviewer/, and deep-dive docs under documentation/) so the same rule isn't duplicated across files. Start there. This file is intentionally kept as a lightweight redirect so tooling and pipelines that reference .github/copilot-instructions.md by path continue to resolve during the transition.

2.3k19mo agoDiscuss
AWSCopilot instructions

sagemaker-python-sdk

aws/sagemaker-python-sdk/.github/copilot-instructions.md

Guidance for GitHub Copilot working in this repository — the source of the Amazon SageMaker Python SDK. This repository keeps its AI-agent guidance in a single source of truth, AGENTS.md, following the AGENTS.md convention. Copilot instructions do not support file imports, so read AGENTS.md at the repository root and follow it. Key points from that file (see AGENTS.md for the authoritative, complete version): - v3 by default. The current major version is v3 (pip install sagemaker). SDK v3 is a…

2.3k37d agoDiscuss
muxy-appCopilot instructions

muxy

muxy-app/muxy/.github/copilot-instructions.md

Review every pull request for specification compliance and applicable repository standards using one evidence-gathering pass. Do not build, lint, run tests, or modify code during a review unless the user explicitly asks. For changes of at most 5 files and 200 added or deleted lines, fetch the metadata and diff together, then inspect the changed code, direct references, and closest relevant tests in one context pass. Use one focused follow-up only when that evidence exposes a concrete ambiguity or risk.…

2.3k6mo agoDiscuss
wondelaiCopilot instructions

skills

wondelai/skills/.github/copilot-instructions.md

This repository contains agent skills for Claude, Claude Code, Claude Cowork, Codex, Cursor, OpenClaw, Hermes Agent and other agentskills.io-compatible agents. When working with skills in this repository: Each skill follows this structure: {skill-name}/SKILL.md with optional references/*.md for supporting content. All skills must comply with the OpenAgentSkills specification: https://agentskills.io/specification When adding new skills, update both README.md and .claude-plugin/marketplace.json to include the skill in an appropriate plugin collection.

2.2k3mo 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
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.