agentleFS
Sign inSign up

Copilot instructions examples

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

Best matches · from page 3Worked for most · soon
MicrosoftCopilot instructions

winget-pkgs

microsoft/winget-pkgs/.github/copilot-instructions.md

template, keep the change to exactly one package, and summarize validation performed. ## Validation and Testing Commands Validate a manifest locally: ```powershell winget validate --manifest ``` Test installation locally: ```powershell winget settings

11k6mo agoDiscuss
HashiCorpCopilot instructions

terraform-provider-aws

hashicorp/terraform-provider-aws/.github/copilot-instructions.md

Tags (schema attrs, wiring, annotation) | `instructions/tags.instructions.md` | `internal/service/**/*.go` | | Generated code | `instructions/generated.instructions.md` | `internal/service/**/*_gen.go` | | Acceptance test basics | `instructions/acceptance-tests.instructions.md` | `internal/service/**/*_test.go` | | Test helpers (Exists/Destroy, list/data source/unit tests) | `instructions/acceptance-tests-helpers.instructions.md` | `internal/service/**/*_test.go` | | User-facing

11k5mo agoDiscuss
MicrosoftCopilot instructions

fluentui-system-icons

microsoft/fluentui-system-icons/.github/copilot-instructions.md

affected builds. If React pipelines failed you will probably need to update metadata.json and test snapshot to reflect new assets addition. - Run `yarn nx run react-icons:build` to regenerate

11k14mo agoDiscuss
omnigent-aiCopilot instructions

omnigent

omnigent-ai/omnigent/.github/copilot-instructions.md

Copilot Code Review Instructions ## E2E Test Requirement Every pull request that introduces a new feature **must** include at least one end-to-end (e2e) test covering the happy-path behaviour

10k9d agoDiscuss
MicrosoftCopilot instructions

fast

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

This file describes the general instructions for working with the FAST monorepo, including repository structure, code style, tooling, and contribution guidelines.

9.7k4mo agoDiscuss
MicrosoftCopilot instructions

microsoft-ui-xaml / src

microsoft/microsoft-ui-xaml/src/.github/copilot-instructions.md

Copilot Instructions for WinUI Repository For detailed instructions on building and testing, see the skills defined in `.github/skills/`: - `.github/skills/build/SKILL.md` - Build commands and file-to-project mappings

8.5k6d agoDiscuss
MicrosoftCopilot instructions

TinyTroupe

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

default the following frameworks and libraries: - **Python**: The primary language for development. - **Pytest**: For testing. - **Mustache**: For templating. ## Terminal Running Environment You can run commands in the terminal to help

7.6k8mo agoDiscuss
Model Context ProtocolCopilot instructions

registry

modelcontextprotocol/registry/.github/copilot-instructions.md

available targets) - Run `make check` to run lint, schema validation, and all tests (this also stops any running dev-compose environment) - Run `make dev-compose` to start the local development

7.3k51d agoDiscuss
MicrosoftCopilot instructions

GSL

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

constraints should use static_assert or SFINAE - Don't throw exceptions from basic operations ### Testing - Write thorough unit tests for every component using GTest - Test for all edge cases

6.7k42d agoDiscuss
MicrosoftCopilot instructions

rushstack

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

shell environment based on Rush configuration - Use cases: - Running project-specific build scripts - Executing tests - Running development servers 3. `rush-pnpm` command - Purpose: Replace direct use of pnpm in Rush

6.5k16mo agoDiscuss
MicrosoftCopilot instructions

agent-governance-toolkit

microsoft/agent-governance-toolkit/.github/copilot-instructions.md

AGENTS.md` has area-specific commands and boundaries: read it before changing code there. ## Build, Test, and Lint ### Python ```bash # Install (editable, all extras) pip install -e ".[full]" # Lint ruff check

6.4k12d agoDiscuss
Microsoft AzureCopilot instructions

azure-sdk-for-net

Azure/azure-sdk-for-net/.github/copilot-instructions.md

/eng/packages/http-client-csharp` directory before running the generator. - Always run `/eng/packages/http-client-csharp/eng/scripts/Generate.ps1` to regenerate the test projects to validate the result of generator code changes. - For emitter changes, always run `npm run lint

6.1k6mo agoDiscuss
MicrosoftCopilot instructions

typespec

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

pnpm` - Install dependencies: `pnpm install` (takes ~1.5 minutes) - Install Playwright browsers (optional for UI testing): `npx playwright install` ### Building the Project - **CRITICAL**: Build the entire project: `pnpm build` (takes

5.9k2mo agoDiscuss
MicrosoftCopilot instructions

typespec / http-client-js

microsoft/typespec/packages/http-client-js/.github/copilot-instructions.md

packages/http-client-js` sub-project in this monorepo. Use them whenever Copilot generates code, tests, commit messages, or pull request descriptions for the emitter. If Copilot is used in other sub-projects

5.9k2mo agoDiscuss
Microsoft AzureCopilot instructions

azure-sdk-for-python

Azure/azure-sdk-for-python/.github/copilot-instructions.md

found here: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/repo_health_status.md - Release blocking checks are MyPy, Pylint, Sphinx, and Tests - CI. These checks should all PASS. If not PASS, mention that the library is blocked

5.6k19mo agoDiscuss
MicrosoftCopilot instructions

azurelinux

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

writes to a user-specified directory, separate from these project output dirs. 5. **Mandatory testing**: Any change that affects a component's output (overlays, build config, spec edits, version bumps

5.3k28d agoDiscuss
entireioCopilot instructions

cli

entireio/cli/.github/copilot-instructions.md

fail otherwise) mise run lint # Lint with golangci-lint (only new issues) mise run test # Unit tests mise run test:ci # Full tests with race detection (same

5.1k3mo agoDiscuss
MicrosoftCopilot instructions

FluidFramework / build-tools

microsoft/FluidFramework/build-tools/.github/copilot-instructions.md

group for the Fluid Framework monorepo. It contains CLI tools and libraries for building, testing, releasing, and managing Fluid Framework repositories. For release documentation, use [conventional commits](../README.md#documenting-build

4.9k56d agoDiscuss
MicrosoftCopilot instructions

fluentui-blazor

microsoft/fluentui-blazor/.github/copilot-instructions.md

Skills - When writing, reviewing, or refactoring C# / .NET / Blazor code, or when authoring unit tests with xUnit and bUnit, load and follow the [csharp-naming-conventions](skills/csharp-naming-conventions/SKILL.md) skill. Read

4.8k57d agoDiscuss
Microsoft AzureCopilot instructions

azure-powershell

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

StaticAnalysis` -- takes 10-15 minutes. NEVER CANCEL. Set timeout to 30+ minutes. - Run tests: `dotnet msbuild build.proj /t:Test` -- takes 15+ minutes. NEVER CANCEL. Set timeout to 45+ minutes. Alternative

4.8k18mo agoDiscuss
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.