agentleFS
Sign inSign up

Copilot instructions examples

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

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

vscode-flake8

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

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

525mo agoDiscuss
MicrosoftCopilot instructions

dstoolkit-devcontainers

microsoft/dstoolkit-devcontainers/.github/copilot-instructions.md

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

515mo agoDiscuss
MicrosoftCopilot instructions

fabric-task-flows

microsoft/fabric-task-flows/.github/copilot-instructions.md

This is a documentation-driven knowledge base with supporting Python scripts and tests. The repo provides pre-defined Microsoft Fabric architectures via one orchestrator agent (@fabric-advisor) that delegates to 6 composable skills. ⚠️ MUST parallelize independent work. If task B does not depend on the output of task A, they run in parallel — never sequentially. This applies to tool calls, file operations, and sub-tasks. item-type-registry.json is the single source of truth for all item metadata. Never hardcode or guess values —…

495mo agoDiscuss
MicrosoftCopilot instructions

What-I-Did-Copilot

microsoft/What-I-Did-Copilot/.github/copilot-instructions.md

Instructions for working on the What-I-Did-Copilot codebase — a tool that generates branded HTML impact reports from GitHub Copilot session logs.

496mo agoDiscuss
MicrosoftCopilot instructions

power-pages-samples / angular

microsoft/power-pages-samples/samples/spa/apps/car-sales-website/angular/.github/copilot-instructions.md

This project is an Angular recreation of a React-based car sales management site. Use Angular best practices, Angular Material for UI, and follow the structure of the original React app for Dashboard, Inventory, Sales, Customers, and SalesLeads pages.

4822d agoDiscuss
MicrosoftCopilot instructions

rego-cpp

microsoft/rego-cpp/.github/copilot-instructions.md

rego-cpp is a C++ interpreter for Rego, the policy language of Open Policy Agent (OPA). It targets Rego v1.17.1 and is designed for embedding policy evaluation directly into C++ applications, as well as for use from C, Rust, Python, and .NET via language wrappers. The interpreter is built on top of Trieste, a term-rewriting framework from Microsoft Research. Evaluation proceeds by parsing Rego source into an AST and then iteratively rewriting it through a series of compiler passes until a…

483mo agoDiscuss
MicrosoftCopilot instructions

applicationinsights-react-js

microsoft/applicationinsights-react-js/.github/copilot-instructions.md

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

4720d agoDiscuss
MicrosoftCopilot instructions

teams.net

microsoft/teams.net/.github/copilot-instructions.md

Release validation may run on Windows as well as Linux. Keep filesystem code and tests cross-platform: use .NET path APIs instead of hard-coded separators, specify UTF-8 when text APIs would otherwise use platform-default encodings, and avoid locale-dependent or Unix-only filesystem assumptions.

4758d agoDiscuss
MicrosoftCopilot instructions

GHCP-Lab / dotNet

microsoft/GHCP-Lab/dotNet/.github/copilot-instructions.md

This document outlines the preferred coding style and conventions to be followed when generating C# code for this project. Prefer using explicit type declarations rather than var for improved readability, except for complex generic types where type inference provides cleaner code. Prefer traditional method bodies for more complex operations, but use expression-bodied members for simple one-liners. Use nullable reference types with appropriate annotations (C# 8.0+) for improved null safety. Follow the "MethodScenarioExpectedBehavior" pattern for test naming. Use records for DTOs…

4513mo agoDiscuss
MicrosoftCopilot instructions

GHCP-Lab

microsoft/GHCP-Lab/.github/copilot-instructions.md

Always reference these instructions first and fallback to search or additional context gathering only when you encounter unexpected information that does not match the info here. This is an educational repository for learning GitHub Copilot, NOT a traditional software project. The repository contains intentionally incomplete code designed for hands-on learning experiences. CRITICAL WARNING: This repository contains intentionally incomplete code. Build failures are EXPECTED and BY DESIGN. CRITICAL: Do NOT validate by building or running applications. This lab validates learning through…

4513mo agoDiscuss
MicrosoftCopilot instructions

devsquad-copilot

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

You are a pragmatic senior software engineer, working on a large, evolving enterprise system with dozens of developers and years of accumulated requirements. Your primary focus is to reduce future risk, keep the system adaptable, and deliver incremental value with technical clarity. For code rul

445mo agoDiscuss
MicrosoftCopilot instructions

devsquad-copilot / templates

microsoft/devsquad-copilot/.github/plugins/devsquad/hooks/templates/.github/copilot-instructions.md

You are a pragmatic senior software engineer, working on a large evolving enterprise system, with dozens of developers and years of accumulated requirements. Your primary focus is to reduce future risk, keep the system adaptable, and deliver incremental value with technical clarity.

445mo agoDiscuss
MicrosoftCopilot instructions

duroxide-pg

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

Prefer cargo-nextest if installed (faster, better output). Fall back to cargo test otherwise. Each test runtime creates a connection pool (default 10 max connections). At high parallelism (e.g., 14 cores), peak PostgreSQL connections can reach ~104. If PostgreSQL max_connections is set to the default 100, tests will fail with timeouts due to connection exhaustion. Fix: Increase PostgreSQL max_connections to at least 300:

4420d agoReads credentialsDiscuss
MicrosoftCopilot instructions

planetary-computer-tasks

microsoft/planetary-computer-tasks/.github/copilot-instructions.md

Monorepo of 12 Python namespace packages under pctasks/, each independently installable via hatchling. Dependency order: core → cli → task → client → ingest → ingesttask → dataset → run → notify → router → server → dev. Additional code in pctasksfuncs/ (Azure Functions), datasets/ (~60 dataset definitions), and deployment/ (Terraform/Helm). Core data flow: blob storage assets → splits (by prefix) → chunks (file listing CSVs) → Collection.create_item() produces pystac Items → ingest into PgSTAC via pypgstac. Key abstractions: -…

435mo agoDiscuss
MicrosoftCopilot instructions

DataFactory.MCP

microsoft/DataFactory.MCP/.github/copilot-instructions.md

M (Power Query Formula Language) is a functional, case-sensitive, lazy-evaluated language for data transformation. Used in Power BI, Excel Power Query, and Dataflow Gen2. Fabric's cloud ETL tool. Runs M queries, writes to Lakehouse/Warehouse. You define data transformations; platform handles orchestration. When these topics come up, reference the corresponding file in docs/datafactory/: For connection management (creating/listing connections, supported types, UI form), reference docs/connection-management.md. For DevOps/CI integration with Fabric.Mcp.Server (feed caching, publishing, trim safety), reference the devops.fabric-mcp-integration skill.

425mo agoDiscuss
MicrosoftCopilot instructions

vscode-azurecontainerapps

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

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

4213mo agoDiscuss
MicrosoftCopilot instructions

Agent365-python

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

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

417mo agoDiscuss
MicrosoftCopilot instructions

agent365-skills

microsoft/agent365-skills/.github/copilot-instructions.md

Skills for instrumenting and registering Microsoft Agent 365 agents. When a user asks for any of the trigger phrases below, follow the corresponding SKILL.md exactly. Skills are designed to be additive, idempotent, and state-aware — re-running is safe. When a skill creates a task list, run every task to completion in one turn — do not pause between phases. Mark each task complete the moment its phase finishes (TaskUpdate in Claude Code, - [ ] → - [x] in Copilot…

4017d agoReads credentialsDiscuss
MicrosoftCopilot instructions

durabletask-python

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

This repository provides the Durable Task Python SDK and Azure Functions provider implementations for building durable orchestrations. It contains three packages: - durabletask — core SDK (in durabletask/) - durabletask.azuremanaged — Azure Durable Task Scheduler provider (in durabletask-azuremanaged/) - azure-functions-durable — Azure Durable Functions provider (in azure-functions-durable/) - ALWAYS document user-facing changes in the applicable changelog under ## Unreleased. Create that section if the changelog does not yet have one. - Update CHANGELOG.md for core SDK changes, durabletask-azuremanaged/CHANGELOG.md for Durable…

4030d agoDiscuss
MicrosoftCopilot instructions

Microsoft-Fabric-tools-workload

microsoft/Microsoft-Fabric-tools-workload/.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…

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