agentleFS
Sign inSign up

Copilot instructions examples

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

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

qdk-ec

microsoft/qdk-ec/.github/copilot-instructions.md

For work under qodec/, follow the scoped qodec instructions. They link to the model, Python binding, and verification guidance; do not apply those rules to sibling crates.

6416d agoDiscuss
MicrosoftCopilot instructions

Agent365-devTools

microsoft/Agent365-devTools/.github/copilot-instructions.md

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

614mo agoDiscuss
MicrosoftCopilot instructions

dynwinrt

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

This file provides instructions for the GitHub Copilot coding agent when working on this repository. dynwinrt is a Rust library for dynamically invoking Windows Runtime (WinRT) APIs. It includes: - Core library (crates/dynwinrt/) — Rust runtime using libffi for dynamic WinRT method invocation - JS binding (bindings/js/) — napi-rs binding for Node.js/Electron - Python binding (bindings/py/) — PyO3 binding for Python - Code generator (tools/dynwinrt-codegen/) — Source for dynwinrt-codegen, which generates typed JavaScript (.js) + TypeScript declarations (.d.ts), or Python…

6116d agoDiscuss
MicrosoftCopilot instructions

kiota-typescript

microsoft/kiota-typescript/.github/copilot-instructions.md

This is a Lerna monorepo using npm workspaces. All packages are under packages/. Always use npm ci to restore the dependencies required by the repository. Do not use npm install as a substitute for restoring the existing lockfile. Only core contributors may add or update dependencies. Before changing a dependency, core contributors must run ./scripts/configure-private-npm-feed.ps1 to configure and authenticate the private Azure Artifacts npm feed and clear the npm cache. Dependency changes must be resolved through that feed to ensure…

6149d agoDiscuss
MicrosoftCopilot instructions

terraform-provider-power-platform

microsoft/terraform-provider-power-platform/.github/copilot-instructions.md

These instructions guide GitHub Copilot to follow our project's conventions and best practices when suggesting code. They cover how to format code, name resources and attributes, structure implementations, and write tests in this repository. By following these guidelines, Copilot's suggestions should align with the project's style and help contributors produce high-quality, consistent code. Always consider existing patterns in the repository—when in doubt, review similar resources or tests for reference and keep the new code idiomatic to the project's practices. Each…

606mo agoDiscuss
MicrosoftCopilot instructions

winget-command-not-found

microsoft/winget-command-not-found/.github/copilot-instructions.md

Microsoft.WinGet.CommandNotFound is a PowerShell 7 feedback provider module that suggests WinGet packages when a native command isn't found, surfacing them via PowerShell's predictive IntelliSense (command-line predictor). If the module is already loaded in your session, start a fresh session with pwsh -NoProfile before importing a newly built copy.

6037d agoDiscuss
MicrosoftCopilot instructions

a11y-llm-eval

microsoft/a11y-llm-eval/.github/copilot-instructions.md

You are working in the A11y LLM Evaluation Harness codebase. Before making any change that could affect behavior, outputs, or public interfaces, read: Treat it as the project’s contract for:

596mo agoDiscuss
MicrosoftCopilot instructions

cmd-call-graph

microsoft/cmd-call-graph/.github/copilot-instructions.md

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

5911mo agoDiscuss
MicrosoftCopilot instructions

fabric-jumpstart

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

Fabric Jumpstart is a monorepo providing ready-to-run accelerators, demos, and tutorials for Microsoft Fabric. Users discover and install self-contained Fabric solutions via a Python CLI library or browse them on a companion website. The repo is managed with Nx and contains two projects: Each sub-project also has its own CONTRIBUTING.md with project-specific setup, quality checks, and workflows: - src/fabricjumpstart/CONTRIBUTING.md — Python library only (adding jumpstarts, dev setup) - src/fabricjumpstart_web/CONTRIBUTING.md — Website & Python via WSL (dev setup, conventions) The majority…

597mo agoDiscuss
MicrosoftCopilot instructions

wmi

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

When creating or working on a pull request, DO NOT mark the PR as ready for review until all of the following conditions are met: This repository contains Go code for WMI (Windows Management Instrumentation) bindings. When making changes:

588mo agoDiscuss
MicrosoftCopilot instructions

adoqr

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

This repository uses Semantic Versioning. For deployable or user-visible changes: - Update the root VERSION file using X.Y.Z format only. - Update CHANGELOG.md under ## [Unreleased] using Keep a Changelog categories: Added, Changed, Deprecated, Removed, Fixed, Security. - Choose the bump level as follows: - MAJOR for breaking changes or required migration. - MINOR for backward-compatible features or enhancements. - PATCH for bug fixes, documentation updates, refactors, and non-breaking maintenance. - If the correct bump level is ambiguous, ask before…

574mo agoDiscuss
MicrosoftCopilot instructions

BC-Bench

microsoft/BC-Bench/.github/copilot-instructions.md

This is a benchmark for evaluating coding agents on real-world Business Central (AL) development tasks, inspired by SWE-Bench. Unlike traditional model benchmarks, BC-Bench is designed to help select models and rapidly iterate on mcp servers, custom instruction/agents, etc for engineers. The repository contains: Preserve one-way dependency flow from orchestration toward lower-level abstractions. Keep domain and result models independent of runtime code. CLI commands are composition roots: they select concrete agents and inject them into evaluation pipelines through AgentRunner; pipelines must…

5729d agoDiscuss
MicrosoftCopilot instructions

fabric-extensibility-toolkit

microsoft/fabric-extensibility-toolkit/.github/copilot-instructions.md

This file contains GitHub Copilot-specific instructions that extend the generic AI guidance found in the .ai/ folder. All AI tools should first reference the generic instructions, then apply the Copilot-specific enhancements below. REQUIRED: Before using these instructions, always reference the generic AI guidance:

577mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

CoseSignTool

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

This file ensures GitHub Copilot follows the repository's coding standards as defined in .editorconfig and established patterns.

5414mo agoDiscuss
MicrosoftCopilot instructions

LakeBench

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

Quick-reference for Copilot and contributors. Keep this in sync when adding major features. LakeBench is a Python-native, multi-modal benchmarking framework for evaluating performance across multiple lakehouse compute engines and ELT scenarios. It supports industry-standard benchmarks (TPC-DS, TPC-H, ClickBench) and a novel ELT-focused benchmark (ELTBench), all installable via pip. Key methods: gettotalcores(), getcomputesize(), getjobcost(durationms), createschemaifnot_exists(), appendresultstodelta(). Runtime is auto-detected at init via detectruntime() — returns "fabric", "synapse", "databricks", "colab", or "local_unknown". The result schema includes: runid, rundatetime, `lakebe

5414d agoDiscuss
MicrosoftCopilot instructions

mssql-rs

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

Rust implementation of the TDS (Tabular Data Stream) protocol for SQL Server. Cargo workspace with multi-language FFI bindings. Or use the scripts that also cover mssql-py-core: Every .rs file must start with:

546d agoReads credentialsDiscuss
MicrosoftCopilot instructions

Build26-LAB501-from-zero-to-deployed-on-azure-with-ai-agents

microsoft/Build26-LAB501-from-zero-to-deployed-on-azure-with-ai-agents/.github/copilot-instructions.md

This is a Microsoft Build 2026 session content repository. If GUIDANCE.md exists in this repo, the repo has not yet been fully set up. When a content creator asks for help preparing the repo, read GUIDANCE.md and follow its instructions. The setup uses a three-phase model: When the creator asks for help, determine which phase they want to work on. You can detect this based on what's already filled in: - If the README still has placeholder text (BRKXXX, "Add…

536mo agoDiscuss
MicrosoftCopilot instructions

Build26-LAB501-from-zero-to-deployed-on-azure-with-ai-agents / src

microsoft/Build26-LAB501-from-zero-to-deployed-on-azure-with-ai-agents/src/.github/copilot-instructions.md

Always use Azure skills when working with Azure resources in this project: Do NOT use the azure-quota skill. Skip any quota-related checks or validations. Always use a placeholder image (mcr.microsoft.com/azuredocs/containerapps-helloworld:latest) in Container App Bicep during provisioning. Never reference the ACR image directly at provision time.Always set minReplicas: 0 during provisioning. This prevents ARM from waiting for a healthy revision startup probe, which would time out because the placeholder image may not match the app's target port.

536mo agoDiscuss
MicrosoftCopilot instructions

Trieste

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

Trieste is a header-only C++20 term rewriting system for rapidly prototyping programming languages. It provides three C++ embedded DSLs: Language implementation in Trieste is a pipeline: Parse → Pass₁ → Pass₂ → ... → Passₙ → Output, where each pass rewrites the AST from one well-defined shape to another. Tokens are the type system for AST nodes. Each is defined as an inline const auto at namespace scope: Token names are prefixed with the language name (e.g. infix-, json-) to…

536mo agoDiscuss
MicrosoftCopilot instructions

moc

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

When creating or working on a pull request, you MUST ensure all of the following conditions are met before marking the PR as ready for review: Before marking a PR as ready for review, use GitHub CLI or API to verify: Or check the PR page on GitHub to ensure: - All status checks show green checkmarks (✓) - No red X marks or orange/yellow pending indicators - The "All checks have passed" message is displayed If any checks fail:…

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