agentleFS

Copilot instructions examples

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

Worked for most · soon
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 "Method_Scenario_ExpectedBehavior" pattern for test naming. Use records for DTOs…

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

4514mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot 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:

4424d agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

APICenter-Portal-Starter

Azure/APICenter-Portal-Starter/.github/copilot-instructions.md

For any request about architecture, system design, component boundaries, data flow, routing, services, state management, authentication, deployment, or folder organization, start with .wiki/index.md. Use .wiki/index.md as the entry point to the architecture documentation set, then follow the linked topic files before making recommendations or code changes.

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

kars

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

A secure AI agent runtime on Azure AKS. OpenClaw agents run in isolated K8s sandbox pods with E2E encrypted inter-agent communication (Signal Protocol via AgentMesh). Each agent gets its own namespace, NetworkPolicy, seccomp profile, and inference router. Four components, two languages: External dependencies: OpenClaw (agent framework), Azure AI Foundry (managed AI services), AGT (governance layer). Each sandbox pod has 2 containers + 1 init container: - init: egress-guard — iptables rules restricting UID 1000 to localhost + DNS only -…

435mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Agent365-python

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

This repository contains eight packages for Notifications, Runtime, Tooling, and five Tooling framework adapters. Observability is retired here; do not reintroduce its packages, imports, tests, or dependency edges. Follow the migration guide for microsoft-opentelemetry. Preserve historical changelogs. Build into a fresh directory and run scripts/verify_release_artifacts.py DIRECTORY --version VERSION before any artifact promotion or upload; never reuse old dist/* release inputs.

439mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

voicelive-samples / voice-live-trader-demo

microsoft-foundry/voicelive-samples/javascript/voice-live-trader-demo/.github/copilot-instructions.md

- [ ] Clarify Project Requirements <!-- Ask for project type, language, and frameworks if not specified. Skip if already provided. --> - [ ] Scaffold the Project <!-- Ensure…

437mo agoReviewMountCreate a free account to mount
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 → ingest_task → dataset → run → notify → router → server → dev. Additional code in pctasks_funcs/ (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: -…

436mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

forgebook

microsoft-foundry/forgebook/.github/copilot-instructions.md

A curated Microsoft Foundry cookbook publishing platform. Jupyter notebooks are the source of truth; metadata lives in registry.yaml. When reviewing code in this repository: For any changes to registry.yaml: - Slugs must match pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$ (lowercase letters, numbers, hyphens only) - Paths must start with notebooks/ and end with .ipynb - Required fields: slug, path, title, authors (at least one with github username) - Optional: description (max 500 chars), date (YYYY-MM-DD), tags - Tags must exist in tags.yaml — unknown…

426mo agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot 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…

426mo agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

sqlsimtools

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

This is the umbrella repository for a family of independent SQL Server testing / benchmarking tools. Each tool lives in its own top-level folder and ships with its own build, test, publish, and Copilot guidance. The root only owns cross-tool documentation, the release packager, and shared agent customization. When the user is working inside a specific tool's subfolder, prefer that tool's .github/copilot-instructions.md over this file. This file is the contract for cross-cutting / multi-tool work. Agents are the fourth way…

4232d agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

sqlsimtools / sqlpysim

microsoft/sqlsimtools/sqlpysim/.github/copilot-instructions.md

sqlpysim is a Public Preview Python implementation of sqlsim - a SQL workload simulator using Microsoft's native mssql-python driver. It shares the core query, concurrency, authentication, and reporting workflow with sqlsim, but does not yet implement every option or an identical output schema. See ../RELEASE-NOTES.md for the current compatibility gaps. ## CRITICAL: mssql-python Driver Reference ALWAYS consult the official mssql-python documentation before making connection or driver changes: - GitHub: https://github.com/microsoft/mssql-python - PyPI: https://pypi.org/project/mssql-python/ Do NOT use access_token= parameter - it…

4232d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

sqlsimtools / sqlsim

microsoft/sqlsimtools/sqlsim/.github/copilot-instructions.md

On Ubuntu 24.04/26.04 LTS x64, use: The Ubuntu Release binary is build/linux-x64/sqlsim. Do not invoke CMake directly. For the Private Preview macOS Apple Silicon path, use: The Private Preview macOS ARM64 binary is build/macos-arm64/sqlsim. Do not invoke CMake directly. Treat macOS as invitation-only while customer and tester validation, live SQL testing, signing, and notarization decisions remain incomplete. On Windows, always use the build script to compile both architectures: Always use the build script to compile both architectures: Do NOT use…

4232d agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot instructions

vscode-azurecontainerapps

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

This is the TypeScript VS Code extension for Azure Container Apps, not the Azure backend or the App Service extension. Start with AGENTS.md for architecture and scoped instructions for subsystem contracts. Do not import App Service assumptions about slots, Kudu, or site clients into Container Apps revisions, environments, or image deployment. - Trace the actual entry point from manifest command/localized label through src/commands/registerCommands.ts, the command, wizard, helper/client, and resulting draft or Azure mutation. Establish the trigger and expected result. -…

4210d agoReviewMountCreate a free account to mount
Microsoft AzureCopilot instructions

ARO-HCP

Azure/ARO-HCP/.github/copilot-instructions.md

All PR rules are maintained in a single source of truth: CONTRIBUTING.md — Pull Request Standards When creating or reviewing a pull request, read and enforce every rule in that section. Do not duplicate the rules here. Key points to remember: - Use Conventional Commits format for PR titles (feat:, fix:, docs:, etc.). - Ignore Tide when evaluating CI/CD status — it is not a CI check. - Screenshots are required for graph, UI, metrics, and performance changes. - The…

4031d agoReviewMountCreate a free account to mount
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…

4012d agoReviewMountCreate a free account to mount
MicrosoftCopilot instructions

Aion-Instruct-Preview-Sample

microsoft/Aion-Instruct-Preview-Sample/.github/copilot-instructions.md

You are working in the consumer sample for the Aion Instruct Preview SDK: an on-device language model that runs locally on the Copilot+ PC NPU — catalog QNN on Snapdragon…

3915d agoReviewMountCreate a free account to mount
MicrosoftReads credentialsCopilot 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…

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

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