agentleFS

Copilot instructions examples

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

Worked for most · soon
MicrosoftCopilot instructions

dry4csharp

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

This file is the source of truth for any AI agent working in this repository. Address the human as Mr. Das (an alt of Iron Man), "Sir", or something similar. dry4csharp is a high-fidelity C# port of the Java tool dry4java (read-only sibling at ../dry4java). It is a duplicate-code detector for C# projects: Roslyn parses C# source, each candidate declaration's syntax tree is normalized (names/literals dropped) into structural fingerprints, and candidate pairs are compared by Jaccard similarity. Product intent, locked…

44mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

frontier-ghcp-rvas

microsoft/frontier-ghcp-rvas/.github/copilot-instructions.md

When modifying tracks or challenges, keep everything in sync: All .md files in this repo must read as if written by a human, not generated by AI. Follow these rules:

458d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

github-canada

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

- Use Node.js 22, matching the GitHub Actions workflows. - Install the locked dependencies with npm ci. - Start the local Vite server with npm run dev. - Validate the visual contract with npm run design:lint. - Run the production validation with npm run build. This runs tsc --noEmit before the Vite multi-page build. - Run only the TypeScript check with npm run typecheck. - Preview the generated dist/ artifact with npm run preview. - No test runner or general…

44mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

mutate4csharp

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

This file is the source of truth for any AI agent working in this repository. Address the human as Mr. Das (an alt of Iron Man), "Sir", or something similar. mutate4csharp is a high-fidelity C# port of the Java tool mutate4java (read-only sibling at ../mutate4java). It is a mutation-testing tool for C# projects: Roslyn for AST parsing + mutation, Coverlet → Cobertura for coverage, dotnet test / MSBuild as the driver. The live product contract — identity, locked decisions, the…

44mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

nacelle

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

Nacelle is an experimental Tokio-based Rust library for streaming services across TCP, Unix sockets, HTTP/1, and TLS-enabled listeners. Keep changes small, validated, and consistent with the existing crate boundaries. When asked to commit, use Conventional Commits with a short, scoped message such as fix: ..., feat: ..., perf: ..., docs: ..., or test: .... Commit only the coherent change requested; do not include unrelated working-tree changes.

44mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

PilotSwarm

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

Core PilotSwarm must never depend on a specific cloud service or deployment topology. Azure, GCP, AWS and other cloud integrations must be implemented behind provider interfaces. AKS, other Kubernetes distributions, VMs and local processes are deployment choices, not runtime assumptions. - Core owns service-neutral contracts and consumes configured providers. Cloud SDKs, credential chains, endpoint formats, resource discovery, infrastructure commands and topology-specific defaults belong in provider implementations. Use capabilities to select behavior; do not branch on cloud names, hostnames, Kubernetes environment…

49mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

power-platform-resources

microsoft/power-platform-resources/.github/copilot-instructions.md

This is a dependency-free static site with no configured build, test, or lint scripts. There is no automated test suite or single-test command. Validate changes in a browser at desktop and mobile widths, including both color themes, search filtering, sticky navigation links, and expanding/collapsing resource sections. Always update CHANGELOG.md with additions/removals from the sites. Follow the Keep a Changelog convention at https://keepachangelog.com/en/1.0.0/. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text.

44mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

rs-deviceid

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

Note: All of these checks are enforced in CI via .github/workflows/rust.yml.

42mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azihsm-sdk

Azure/azihsm-sdk/.github/copilot-instructions.md

For Linux systems, first install the following 4 Linux packages with the package manager of the distribution: For both Linux and Windows systems, run the following to install all other required dependencies: Build specific packages using: It auto fixes formatting issues. This ensures all source code follows rustfmt standards. Always run copyright checks before committing: It auto fixes copyright issues. This ensures all source code has correct copyright headers. Run cargo xtask cbindgen (no --fix) to verify the committed header…

33mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

azure-guest-attestation-sdk

Azure/azure-guest-attestation-sdk/.github/copilot-instructions.md

These instructions apply to every AI agent session working on this repository, regardless of platform (Linux, Windows, macOS) or context window state. Read this file in its entirety before making any changes. AI can produce code very fast, but bad code is more expensive than ever: a codebase that is hard to change is a codebase where AI compounds entropy on every iteration. Optimize for a codebase that is easy to change, easy to test, and easy to reason about.…

35mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

c-build-tools

Azure/c-build-tools/.github/copilot-instructions.md

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

324mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

Connectors-NET-Samples

Azure/Connectors-NET-Samples/.github/copilot-instructions.md

This repository contains sample projects demonstrating how to use the Azure Connectors .NET SDK, including design-time generated POCOs from dynamic schema operations. Code must follow the team's coding conventions based on BPM repo standards. Each connector's sample functions must be in a dedicated file named {Connector}Functions.cs: Variable naming rules: ALWAYS use this multi-line format: Boolean parameters MUST always use named arguments:

38mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

Connectors-NET-SDK

Azure/Connectors-NET-SDK/.github/copilot-instructions.md

This repository contains the lightweight SDK for Azure Logic Apps connectors. Code must follow the team's coding conventions based on BPM repo standards. This SDK selectively follows the Azure SDK Design Guidelines for .NET. Which guidelines are followed, which are intentionally skipped, and what is actively in progress is documented in docs/azure-sdk-guidelines.md. Before adding new public API surface, check that document. Key intentional divergences to preserve: Before reviewing or preparing changes under src/**/Generated/, read docs/generated-contract.md. Generated clients must preserve the…

38mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

corim

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

This document describes the code patterns and conventions used throughout the corim Rust crate. Follow these rules when generating or modifying code to ensure consistency across the codebase. These principles…

32mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

live-voice-practice

Azure/live-voice-practice/.github/copilot-instructions.md

Repository coding conventions and contribution guidance for the voice practice app

38mo agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

microsoft-planetary-computer-pro

Azure/microsoft-planetary-computer-pro/.github/copilot-instructions.md

The main notebook applications/storm_impact_assessment/hurricane_forecast_infra_impact.ipynb is 1.57 MB / 19K JSON lines / 71 cells with 1.07 MB of embedded outputs. This exceeds VS Code's diff editor limits and causes Copilot edit tools (edit_notebook_file, replace_string_in_file) to fail silently or produce corrupt edits. When making complex edits with multiline old/new text:

33mo agoReviewMountCreate a free account to mount
MicrosoftDeletes or force-pushesCopilot instructions

azure-iac-agentic-toolkit

microsoft/azure-iac-agentic-toolkit/.github/copilot-instructions.md

Use aztfexport when: - The user wants to convert existing Azure resources to Terraform code - Azure resources were created manually (via Azure Portal, CLI, or PowerShell) and need to be brought under Terraform management - The user needs to document existing Azure infrastructure as code - Migration from manual infrastructure management to Infrastructure-as-Code is required - The user mentions terms like "reverse engineer", "import to Terraform", "export to Terraform", or "convert Azure resources" Do NOT use aztfexport when: -…

313mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Azure_Local_Physical_Network_Config_Tool

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

Role context: You are a world-class network architecture and automation engineer specialising in data centre fabric design, switch configuration automation, and infrastructure-as-code for hyperscale deployments. You bring deep expertise in BGP/EVPN leaf-spine fabrics, VLAN segmentation, HSRP/VRRP gateway redundancy, port-channel/MLAG design, and multi-vendor NOS (NX-OS, OS10, EOS, SONiC). Apply network automation best practices at every level — from data modelling and template design to CI/CD pipeline safety for production switch configurations. Python + Jinja2 CLI tool that generates production network switch…

310mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

cat-tools-activate-pipeline

microsoft/cat-tools-activate-pipeline/.github/copilot-instructions.md

You are an AI coding agent specialized in building and maintaining Microsoft Power Platform solutions. This repository contains an unpacked Power Platform solution stored as source-controlled files. Your job is…

39mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

DataSecurityGuidedAssistant

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

All repository guidance is maintained in AGENTS.md. Read that file first and follow its linked conventions and required telemetry instructions. Do not duplicate repository guidance here; update the authoritative source instead.

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