agentleFS
Sign inSign up

Copilot instructions examples

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

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

power-platform-playwright-samples

microsoft/power-platform-playwright-samples/.github/copilot-instructions.md

This file gives GitHub Copilot context about the repository so that suggestions, completions, and chat answers are accurate for this codebase. A Rush monorepo with two packages: Always use AppProvider…

385mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

azure-linux-image-tools

microsoft/azure-linux-image-tools/copilot-instructions.md

This is a Go based repository with tools for os image creation and customization. The repo includes 2 main tools: imagecustomizer and osmodifier (aka EMU). Please follow these guidelines when contributing:

378mo agoDiscuss
MicrosoftCopilot instructions

duroxide-node

microsoft/duroxide-node/.github/copilot-instructions.md

🚨 STOP: DO NOT git commit OR git push WITHOUT EXPLICIT USER PERMISSION 🚨 Always ask before committing or pushing. Never assume. When making changes to this SDK, always check ../duroxide-python for symmetry: 1. Bug fixes: If you fix a bug here, apply the same fix in duroxide-python (and vice versa) 2. API parity: Every public API in one SDK must have an equivalent in the other (adjusted for language idioms — camelCase in JS, snake_case in Python) 3. Test…

368mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

xbox-game-streaming-tools / copilot-instructions

microsoft/xbox-game-streaming-tools/touch-adaptation-kit/copilot-instructions/copilot-instructions.md

Before answering ANY user request related to touch layouts, always fetch (or ensure cached) the latest layout schema from: https://raw.githubusercontent.com/microsoft/xbox-game-streaming-tools/main/touch-adaptation-kit/schemas/layout/v4.1/layout.json and fetch the designers' guidance from: https://learn.microsoft.com/en-us/gaming/gdk/docs/features/common/game-streaming/building-touch-layouts/game-streaming-tak-designers-guide Rules: 1. Treat…

3510mo agoDiscuss
MicrosoftCopilot instructions

duroxide-python

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

🚨 STOP: DO NOT git commit OR git push WITHOUT EXPLICIT USER PERMISSION 🚨 Always ask before committing or pushing. Never assume. When making changes to this SDK, always check ../duroxide-node for symmetry: 1. Bug fixes: If you fix a bug here, apply the same fix in duroxide-node (and vice versa) 2. API parity: Every public API in one SDK must have an equivalent in the other (adjusted for language idioms — snake_case in Python, camelCase in JS) 3. Test…

348mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

SdnDiagnostics

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

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

342mo agoDiscuss
MicrosoftCopilot instructions

aspnetcore-ja-handbook

microsoft/aspnetcore-ja-handbook/.github/copilot-instructions.md

このリポジトリは C# 以外の言語経験者のための ASP.NET Core ガイド です。日本語のマークダウンドキュメントで構成されています。 docs/ フォルダ内の記事を新規作成または編集する場合は、以下の手順に従ってください。 docs/ フォルダ内の記事をレビューする場合は、必ず reviewer スキルを読み込み、そのチェックリスト・ガイドラインに従ってください。 スキルを使用せずにレビューしてはいけません。

335mo agoDiscuss
MicrosoftCopilot instructions

dstoolkit-mlops-v2

microsoft/dstoolkit-mlops-v2/.github/copilot-instructions.md

Purpose: short, actionable guidance so an AI coding agent can be productive immediately in this repo. Quick start (local dev) - Copy or rename .env.sample → .env and populate SUBSCRIPTIONID,…

339mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

powerbi-visuals-mekkochart

microsoft/powerbi-visuals-mekkochart/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual certification steps…

323mo agoDiscuss
MicrosoftCopilot instructions

trident

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

These instructions apply to Copilot agents working in this repo — both agents writing code and agents reviewing pull requests. The PR-review rules below are review-only. The "Nits" and "Architecture & structural soundness" sections apply to both writers (follow them when generating new code) and reviewers (see Reviewer etiquette for when to surface them). Trident formats with rustfmt (workspace-wide — see rustfmt.toml). Everything below is in addition to cargo fmt and is aspirational: real files don't follow every rule 100%…

326d agoDiscuss
MicrosoftCopilot instructions

vscode-documentdb

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

VS Code Extension for Azure Cosmos DB and the MongoDB API. TypeScript (strict mode), React webviews, Jest testing. ⚠️ NEVER use npm run compile - always use npm run build to build the project. There are exactly two cases. Work out which one you are in, then run only that list. For PR-related work, tell the operator which case applies in your handoff. If the PR is still a draft, explicitly say that the full checks (including prettier-fix) were deferred…

326d agoDiscuss
MicrosoftCopilot instructions

eslint-plugin-fluentui-jsx-a11y

microsoft/eslint-plugin-fluentui-jsx-a11y/.github/copilot-instructions.md

This is @microsoft/eslint-plugin-fluentui-jsx-a11y, a static AST checker (ESLint plugin) that enforces accessibility rules on Fluent UI React v9 (@fluentui/react-components) JSX elements. Rules are written in TypeScript and target specific Fluent UI components to ensure accessible labeling, ARIA usage, and semantic structure. Most accessibility rules in this plugin check whether a component has an accessible label. Use makeLabeledControlRule from lib/util/ruleFactory.ts: When the factory pattern does not fit, use ESLintUtils.RuleCreator.withoutDocs:

307mo agoDiscuss
MicrosoftCopilot instructions

Agent365-dotnet

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

The Microsoft Agent 365 SDK (C#/.NET) extends the Microsoft 365 Agents SDK with enterprise capabilities across four modules: Observability, Notifications, Runtime, and Tooling. Packages publish to NuGet under the Microsoft.Agents.A365.* prefix. All commands run from the repository root unless noted. Requires the .NET 8.0.100 SDK (pinned in src/global.json). CI (.github/workflows/ci.yml) builds and tests in Release with --no-restore/--no-build, then packs. Some Observability/Tooling tests read AZUREOPENAIENDPOINT, AZUREOPENAIAPIKEY, and AZUREOPENAI_DEPLOYMENT from the environment. Pre-commit hooks (.pre-commit-config.yaml, install with pip install pre-commit && pre-commit…

293mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

fabric-user-data-functions-samples / HelloFabric

microsoft/fabric-user-data-functions-samples/Templates/Python/UDF/HelloFabric/.github/copilot-instructions.md

Primary objective: Generate correct Microsoft Fabric User Data Functions (UDFs) in Python with strict grounding, zero fabrication, and minimal verbosity.

2913mo agoDiscuss
MicrosoftCopilot instructions

powercat

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

Run commands from the repository root. There is no dependency installation, build command, or configured lint command.

2845d agoDiscuss
MicrosoftCopilot instructions

AgentSchema

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

AgentSchema is a TypeSpec-based schema definition project that generates runtime libraries for C#, Python, TypeScript, and Go. The project defines a specification for AI agents with structured metadata, inputs, outputs, tools, and templates. See detailed instructions in .github/instructions/ for specific file types.

278mo agoDiscuss
MicrosoftCopilot instructions

Employee-Self-Service-Agent-Developer-Kit

microsoft/Employee-Self-Service-Agent-Developer-Kit/.github/copilot-instructions.md

If GitHub Copilot is reading this file, the user has opened the top-level repo folder (Employee-Self-Service-Agent-Developer-Kit/) as their VS Code workspace root. This repo is a monorepo of solutions. The actual tooling for each solution — slash-commands, agent personas, Python scripts — lives inside individual solution folders under solutions/ (today the canonical one is solutions/ess-maker-skills/; more may be added over time), NOT at this repo root. Slash-commands typed against the repo root will not resolve to any prompt and Copilot…

275mo agoDiscuss
MicrosoftCopilot instructions

Employee-Self-Service-Agent-Developer-Kit / ess-maker-skills

microsoft/Employee-Self-Service-Agent-Developer-Kit/solutions/ess-maker-skills/.github/copilot-instructions.md

YOUR VERY FIRST ACTION on every new conversation must be: use your file reading tool to try to read .local/setup/config.json. Do NOT skip this step. Do NOT respond to the user's message first. Do NOT greet the user first. Do NOT list capabilities. Read this file FIRST, then decide what to do based on the result. DA setup is ready only when .local/setup/config.json has schemaversion equal to 4 and its agents entry matching .local/config.json's activeAgent workspace slug has connectready equal…

275mo agoDiscuss
MicrosoftCopilot instructions

powerbi-visuals-bulletchart

microsoft/powerbi-visuals-bulletchart/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual steps live…

2712mo agoDiscuss
MicrosoftCopilot instructions

AzureKeyVaultManagedHSMEngine

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

This document contains instructions for building, testing, and developing the Azure Managed HSM OpenSSL 3.x Provider. Read this section before debugging anything provider-related on Linux. OpenSSL 3.0.2 (the Ubuntu 22.04 default) has a bug in the OSSLSTORE object callback path: EVPKEYMGMT_fetch with a NULL property query string returns the wrong provider's keymgmt, so loading HSM keys via managedhsm: URIs fails with RSA object callback failed (returned 0) or EC object callback failed. Fixed upstream in 3.0.7 (openssl#18221). Recommendation: Ubuntu 24.04+…

264mo agoReads credentialsDiscuss
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.