agentleFS

Copilot instructions examples

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

Worked for most · soon
Microsoft AzureCopilot instructions

azure-webpubsub

Azure/azure-webpubsub/.github/copilot-instructions.md

Repository-wide guidance for AI agents. Everything here has been verified against this repository; if you find a statement is no longer true, fix it in the same pull request that proves it wrong. - Push topic branches to your own fork, then open the pull request from the fork. Do not push working branches to Azure/azure-webpubsub. Keep the upstream remote for fetching and for the pull request target only. - main is protected. Merges are squash-only and require one approving…

1442mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

aks-mcp

Azure/aks-mcp/.github/copilot-instructions.md

This file provides guidance to Github Copilot when working with code in this repository. AKS-MCP is a Model Context Protocol (MCP) server that enables AI assistants to interact with Azure Kubernetes Service (AKS) clusters. It serves as a bridge between AI tools and AKS, translating natural language requests into AKS operations. The codebase includes comprehensive unit tests: - Azure Client Tests: internal/azure/client_test.go - Resource Handler Tests: internal/azure/resourcehandlers/handlers_test.go - Security Validation Tests: internal/security/validator_test.go - Cache Tests: internal/azure/cache_test.go - Helper Tests: internal/azure/resourcehelpers/helpers_test.go

1424mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

terraform-azurerm-avm-ptn-alz

Azure/terraform-azurerm-avm-ptn-alz/.github/copilot-instructions.md

Instructions for developing and maintaining Azure Verified Modules for Terraform.

1353mo agoReviewMountCreate a free account to mount
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
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:…

12315mo 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
Microsoft AzureCopilot instructions

oav

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

oav (openapi-validation-tools) is an npm package for validating Azure REST API specifications (OpenAPI/Swagger). It provides semantic validation, model validation, live traffic validation, example quality checks, and traffic conversion utilities.

1045mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

agent-app-orchestrator

Azure/agent-app-orchestrator/.github/copilot-instructions.md

Read AGENTS.md and every scoped instruction that applies before changing a file. The assets under .github/agents/ and .github/skills/ are GitHub Copilot engineering helpers; they are separate from the runtime strategies under src/strategies/. - Confirm the goal, acceptance criteria, constraints, current behavior, and affected security or compatibility boundaries. - Reuse repository patterns and tools. Make small, complete changes without unrelated refactoring. - Keep FastAPI handlers thin and place behavior in the owning orchestration, strategy, connector, plugin, telemetry, or utility layer. -…

1026mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

Azure-Landing-Zones

Azure/Azure-Landing-Zones/.github/copilot-instructions.md

This file provides context for AI agents and agentic workflows operating across the Azure Landing Zones (ALZ) polyrepo ecosystem. The Azure/Azure-Landing-Zones repo is the centralised documentation hub and issue tracker for the entire ecosystem — it does not contain deployable source code. Scope guidance for agents: If you are editing documentation content in this repo, skip to the "This Repo — Documentation Conventions" section for the rules you need. The ecosystem architecture, deployment flow, and issue triage sections below are…

9711mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-api-management-policy-toolkit

Azure/azure-api-management-policy-toolkit/.github/copilot-instructions.md

Azure API Management policy toolkit: a set of C# libraries that let users author APIM policy documents in C# instead of XML, compile them to XML, and unit-test them with a gateway emulator. Prefer the newest stable .NET and C# versions possible while preserving repository compatibility. Test framework: MSTest with FluentAssertions. Tests use [TestClass] / [TestMethod] / [DataRow]. The toolkit has a three-layer pipeline for each policy: Supporting projects: src/Analyzers/ (Roslyn analyzers), src/Compiling/ (CLI compiler tool), src/Generators/ (source generators), src/Templates/…

9512mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

AppConfiguration-DotnetProvider

Azure/AppConfiguration-DotnetProvider/.github/copilot-instructions.md

This is the Azure App Configuration .NET Provider codebase. The service abides by coding guidelines specified in the github/code-gen-instructions.md file. When suggesting code changes, do not modify the files directly. Instead, provide a detailed explanation of the changes you would make and ask for confirmation before editing the files. You may create markdown files to demonstrate the changes you would like to make.

9318mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

api-management-self-hosted-gateway

Azure/api-management-self-hosted-gateway/.github/copilot-instructions.md

This repository maintains the Helm chart for the Azure API Management Self-Hosted Gateway and serves as the release announcement channel. It does not contain the gateway source code—only the Helm…

913y agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

cyclecloud-slurm

Azure/cyclecloud-slurm/.github/copilot-instructions.md

Code Review Scoring Instructions For every PR: 1. Assign a numeric score out of 100. 2. Produce a table with one row per criterion showing points awarded. 3. End with a single line: FINAL SCORE: <number>/100 Scoring rules (each category starts at max points; apply deductions only): PR Description Accuracy (20) - PR description is empty: -20 - Description does not match changes: -20 - Description partially matches but includes unrelated changes: -15 - Otherwise: 0 PR Atomicity (20) -…

842mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

AzureLocal-Supportability

Azure/AzureLocal-Supportability/.github/copilot-instructions.md

This is a public repository for all of Azure Local Troubleshooting guides (TSGs), known issues and reporting feedback - this repo is intended to provide a central location for community driven supportability content. This is the material that is referenced by Customer Support Services when a ticket is created, by Azure Local engineering responding to an incident, and by users when self discovering resolutions to active system issues. Use the administrator-surface states consistently:

782y agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

mpf

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

../AGENTS.md

57 projects use a version of this

6612mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

PSDocs.Azure

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

When performing a code review, prioritize CI/CD correctness, build scripts, and monorepo structure changes. This is a PowerShell-based monorepo using InvokeBuild: Each component uses independent versioning with prefixed tags: - PSDocs: psdocs-v{version} - PSDocs.Azure: psdocs-azure-v{version} - VS Code Extension: vscode-v{version} Path-based filtering triggers builds only for changed packages: - packages/psdocs/** → PSDocs build - packages/psdocs-azure/** → PSDocs.Azure build - packages/vscode-extension/** → VS Code extension build

666y agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

bicep-deploy

Azure/bicep-deploy/.github/copilot-instructions.md

This repository contains the bicep-deploy GitHub Action and the shared @azure/bicep-deploy-common package. Before committing any changes, always run the following commands in order: All four steps must pass before committing. Important: The dist/ folder contains the compiled action code referenced by action.yml (main: dist/index.cjs). This folder must be rebuilt (npm run build) and committed whenever source code changes. The @azure/bicep-deploy-common package is a shared library that provides: - Azure deployment and deployment stack operations - Bicep file compilation - Configuration…

6412mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-kusto-node

Azure/azure-kusto-node/.github/copilot-instructions.md

This is an npm workspaces + Lerna monorepo with two packages: azure-kusto-data and azure-kusto-ingest. NODE_OPTIONS="--experimental-vm-modules" is required because the project uses ESM with ts-jest. Test files live in packages/<package>/test/ and must match the pattern **/test/**/*Test.ts. Tests gated behind credentials use loginTest / manualLoginTest helpers from packages/azure-kusto-data/test/data/testUtils.ts and only run when LOGIN_TEST=1 is set. E2E tests require Azure environment variables (ENGINE_CONNECTION_STRING, DM_CONNECTION_STRING, TEST_DATABASE, APP_ID, APP_KEY, TENANT_ID). Both packages support browser environments via the "browser" field in package.json, which maps Node-specific modules…

543y agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-openapi-validator

Azure/azure-openapi-validator/.github/copilot-instructions.md

This is azure-openapi-validator (aka LintDiff), a linter for Azure OpenAPI specifications. It is an extension of AutoRest and supports Spectral lint rule format. The repository contains automated linter rules that apply to API specs in the azure-rest-api-specs repository. This is a monorepo managed by Rush.js with the following main packages:

535y 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.