agentleFS

Copilot instructions examples

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

Worked for most · soon
Microsoft AzureCopilot instructions

azure-sdk-tools

Azure/azure-sdk-tools/.github/copilot-instructions.md

This repository contains tools and libraries used by the Azure SDK team's engineering system. Tools are written in multiple languages including C#, Python, JavaScript/TypeScript, PowerShell, and Go. Follow guidelines in /doc/development/powershell.md: DO: - Write scripts that can be run locally - Write unit tests using Pester - Handle exit codes from external programs - Use Set-StrictMode -Version 4 - Use [CmdletBinding()] at the top of scripts - Set $ErrorActionPreference = 'Stop' - Support the -WhatIf parameter for destructive operations -…

1343mo agoReviewMountCreate a free account to mount
Microsoft AzureReads credentialsCopilot instructions

cosmos-explorer

Azure/cosmos-explorer/.github/copilot-instructions.md

To build the project, use the /build skill. It handles dependency checks (npm install) and all build variants. See .github/skills/build/SKILL.md for full details. Quick reference: To run unit tests, use the /run-unit-tests skill. It handles dependency checks and all test variants. See .github/skills/run-unit-tests/SKILL.md for full details. Quick reference: Unit tests live adjacent to source files (*.test.ts / *.test.tsx in src/). E2E tests are in test/ organized by API type (sql, mongo, cassandra, gremlin, tables). To start the local dev server…

1317mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

eval-guide

microsoft/eval-guide/.github/copilot-instructions.md

This repository is an AI agent evaluation toolkit for Copilot Studio. It provides structured methodologies for planning, generating, running, and interpreting AI agent evaluations.

1305mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

terraform-provider-fabric

microsoft/terraform-provider-fabric/.github/copilot-instructions.md

This repository is terraform-provider-fabric — the official Terraform provider for Microsoft Fabric.

1305mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

copilot-for-eclipse

microsoft/copilot-for-eclipse/.github/copilot-instructions.md

This is the GitHub Copilot for Eclipse plugin - an Eclipse IDE extension that brings AI-powered code completions, chat assistance, and intelligent coding features to Eclipse users. You MUST verify compilation and code quality before declaring work complete! When code changes are complete (after creating, editing, or refactoring code files), automatically verify that the changes follow project best practices: Action: After completing code changes, review against this checklist and fix any violations before declaring work complete. The project follows Eclipse…

1283mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

VirtualClient

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

VirtualClient is a cross-platform benchmarking framework by Microsoft. It runs profile-driven performance benchmarks, stress tests, and qualification workloads on systems (particularly Azure VMs), collecting structured metrics. Supports Windows and Linux on x64 and ARM64. All workloads, dependencies, monitors inherit VirtualClientComponent. Constructor: (IServiceCollection, IDictionary<string, IConvertible>). Lifecycle: IsSupported → InitializeAsync → Validate → ExecuteAsync → CleanupAsync. External binaries run through IProcessProxy (wraps System.Diagnostics.Process). Output captured via ConcurrentBuffer. Tests use InMemoryProcess. Version is read from the VERSION file. Override with VCBuildVersion env var.

12710d agoReviewMountCreate a free account to mount
GitHubCopilot instructions

copilot-app-for-beginners

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

Use these instructions when working in this repository. This is a beginner course repo for the GitHub Copilot app. The canonical sample is samples/book-app-web: a frontend-only book collection used to practice review, tests, browser preview, issues, and pull requests. Do not edit chapter README files unless the user asks for chapter content changes. Keep changes small and beginner-readable. samples/book-app-web is a Vite, React, TypeScript, and Vitest app. It has no backend, database, or external API. Do not add those. The…

12521d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

foundry-agent-webapp

microsoft-foundry/foundry-agent-webapp/.github/copilot-instructions.md

Azure AI Foundry Agent Service sample app — Entra ID auth, SSE streaming, Container Apps deployment. Key Flow: React → MSAL token → POST /api/chat/stream → AI Foundry → SSE chunks → UI azd up phases: preprovision → provision (Bicep) → postprovision → predeploy → deploy What's intentionally CLI (not Bicep): - Entra redirect URI + identifierUri update — Entra app is created by Bicep (infra/entra-app.bicep), but identifierUri (api://{appId}) can't reference the auto-generated appId in the same declaration, and redirect…

1247mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

autorest.powershell

Azure/autorest.powershell/.github/copilot-instructions.md

AutoRest PowerShell is a monorepo containing generators that create PowerShell cmdlets from OpenAPI specifications. The repository uses Rush.js for monorepo management and contains multiple packages including the core AutoRest PowerShell generator and TypeSpec PowerShell tools. 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. CRITICAL: Always run the following validation sequence after making changes: MANUAL VALIDATION REQUIREMENT: After building, you MUST test actual functionality:…

12314mo agoReviewMountCreate a free account to mount
HashiCorpReads credentialsCopilot instructions

copywrite

hashicorp/copywrite/.github/copilot-instructions.md

Trust these instructions first. Only fall back to searching the codebase if the information here is incomplete or proven incorrect by an error you actually hit. copywrite is a HashiCorp/IBM…

12117d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

micro-frontend-react

microsoft/micro-frontend-react/.github/copilot-instructions.md

Do not upgrade these beyond their UMD-available versions: - react / react-dom / react-is: 18.3.1 (last version with official UMD builds; React 19 dropped UMD) - react-router-dom: 5.3.4 (v6+ dropped UMD; v5 API: Switch, exact, render prop, withRouter) - styled-components: 5.3.11 (v6 dropped UMD)

1208mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

vscode-azureappservice

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

This is the TypeScript VS Code extension for Azure App Service, not the App Service backend or the Azure Functions extension. Start with AGENTS.md for the architecture map and instructions/*.instructions.md for subsystem contracts. - Trace the concrete entry point through package.json, src/commands/registerCommands.ts, the command, and its shared helper/client. Establish the triggering input and expected behavior before editing. - Make the smallest complete fix at the responsible layer. Preserve unrelated behavior; do not copy Azure Functions assumptions, introduce new frameworks, or…

11910d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

AntiSSRF

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

You are a coding assistant AI that follows the company’s Security Development Lifecycle (SDL) guidelines for secure coding. Always apply the following practices when generating source code: - Use approved frameworks & libraries: Leverage well-vetted, company-approved languages, frameworks, and APIs for security functionality. Do not write custom crypto or auth logic if a standard solution exists. - Validate all inputs: Treat all inputs as untrusted. Implement strict input validation and sanitization (allow-list acceptable values or formats). Reject or sanitize data…

1186mo agoReviewMountCreate a free account to mount
AWSCopilot instructions

aws-parallelcluster-cookbook / line

aws/aws-parallelcluster-cookbook/cookbooks/line/.github/copilot-instructions.md

Chef cookbook for managing software installation and configuration. Part of the Sous Chefs cookbook ecosystem. Key Facts: Ruby-based, Chef >= 16 required, supports various OS platforms (check metadata.rb, kitchen.yml and .github/workflows/ci.yml for which platforms to specifically test) Critical Paths: - recipes/ - Chef recipes for cookbook functionality (if this is a recipe-driven cookbook) - resources/ - Custom Chef resources with properties and actions (if this is a resource-driven cookbook) - spec/ - ChefSpec unit tests - test/integration/ - InSpec integration…

1154mo agoReviewMountCreate a free account to mount
AWSCopilot instructions

aws-parallelcluster-cookbook / yum

aws/aws-parallelcluster-cookbook/cookbooks/yum/.github/copilot-instructions.md

Chef cookbook for managing software installation and configuration. Part of the Sous Chefs cookbook ecosystem. Key Facts: Ruby-based, Chef >= 16 required, supports various OS platforms (check metadata.rb, kitchen.yml and .github/workflows/ci.yml for which platforms to specifically test) Critical Paths: - recipes/ - Chef recipes for cookbook functionality (if this is a recipe-driven cookbook) - resources/ - Custom Chef resources with properties and actions (if this is a resource-driven cookbook) - spec/ - ChefSpec unit tests - test/integration/ - InSpec integration…

1154mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

vscode-copilotstudio

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

Shared AI-agent guidance for this repository lives in AGENTS.md. GitHub Copilot users and agents should follow AGENTS.md.

1155mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

LogicAppsUX

Azure/LogicAppsUX/.github/copilot-instructions.md

These rules apply to every task — including ones that look trivial. Skipping them because a task "looks like a one-liner" is a known failure mode. Azure Logic Apps UX is a monorepo containing the UI components for Azure Logic Apps visual workflow designer. It powers the designer experience across Azure Portal, VS Code extension, Power Automate, and standalone environments. Key knowledge files for E2E tests: - apps/vs-code-designer/src/test/ui/SKILL.md — Complete learning document (700+ lines) - apps/vs-code-designer/src/test/ui/designerHelpers.ts — Shared designer test…

1145mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

spec-to-agents

microsoft/spec-to-agents/.github/copilot-instructions.md

This document provides context-aware guidance for GitHub Copilot when working in this codebase. This is a Python project using Microsoft Agent Framework to build a multi-agent event planning workflow with the following agents: - Event Coordinator (orchestrates overall planning) - Venue Specialist (researches and recommends venues) - Budget Analyst (manages costs and financial constraints) - Catering Coordinator (handles food and beverage planning) - Logistics Manager (coordinates schedules and resources) Important: Each agent/workflow must have an __init__.py that exports the required…

11412mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

Agent365-Samples

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

C# Files (.cs, .csx): Python Files (.py): JavaScript/TypeScript Files (.js, .ts, .mjs): Python (.py): JavaScript/TypeScript (.js, .ts):

11325d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

vscode-powerquery

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

This is a multi-package monorepo (root, client/, server/, scripts/). Each has its own node_modules and package.json. The root npm install runs npm install-clean in all sub-packages via postinstall. Before declaring a task complete, always verify that changes pass npm run build, npm run lint, and npm run test:server with no errors. The PR gated build enforces all three. This is a VS Code extension providing Language Server Protocol (LSP) support for the Power Query / M formula language. Client (client/src/extension.ts):…

1137mo agoReviewMountCreate a free account to mount
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.