agentleFS
Sign inSign up

Copilot instructions examples

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

Most stars first · from page 22Worked for most · soon
MicrosoftCopilot 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: -…

211mo agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

BestPractice_Deploy-Scripts

microsoft/BestPractice_Deploy-Scripts/.github/copilot-instructions.md

Read AGENTS.md first. It is the master entry point for all repository guidance, including verification, conventions, and required PR and work-item telemetry. Follow its linked documents. Do not duplicate that guidance here; update the topic's authoritative document.

22mo agoDiscuss
MicrosoftCopilot instructions

Build26-OD858

microsoft/Build26-OD858/.github/copilot-instructions.md

This repository is part of Microsoft Build 2026. It contains session materials, demo code, and resources for session OD858: Personalize Your Windows PC with AI. When working in this repo,…

24mo agoDiscuss
MicrosoftCopilot instructions

EntraSuiteLAB

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

Before creating or modifying the state of any resource or object, always check for existing resources and their current state. This helps avoid unnecessary changes and ensures idempotency.

216mo agoDiscuss
MicrosoftCopilot instructions

frontierai.solutions

microsoft/frontierai.solutions/.github/copilot-instructions.md

This is a full-stack AI-powered web application showcasing Frontier AI solutions with voice-first experiences. The application enables real-time voice conversations with an AI avatar agent, powered by Azure AI services.

211mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

GSATool

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

Start with AGENTS.md for the repository map, conventions, and verification steps. This file adds Copilot-specific guardrails.

22mo agoDiscuss
MicrosoftCopilot instructions

KoreaCopilotAgent

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

이 리포지토리에서 작업할 때 반드시 참고해야 할 규칙과 워크플로우 모음입니다. 새 세션의 Copilot/코딩 에이전트는 사용자가 별도로 지시하지 않아도 이 문서를 그대로 따르세요. script.js는 templates.json을 먼저 읽고, 그 안의 categories[]를 따라가며…

24mo agoDiscuss
MicrosoftCopilot instructions

pact-lang

microsoft/pact-lang/.github/copilot-instructions.md

Pact is a runtime for executing agentic programs, built on the Copilot SDK. Programs are standalone .pact source files parsed at load time by a pest PEG grammar, type-checked, and…

22mo agoDiscuss
MicrosoftCopilot instructions

portal-ux-agent

microsoft/portal-ux-agent/.github/copilot-instructions.md

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

212mo agoDiscuss
MicrosoftCopilot instructions

SOWGenerator

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

All agent context for this repository lives in AGENTS.md at the repository root. Read that file first. Do not add instructions here — update AGENTS.md instead.

24mo agoDiscuss
MicrosoftCopilot instructions

TWL400-Using-AI-to-Secure-the-Modern-SOC

microsoft/TWL400-Using-AI-to-Secure-the-Modern-SOC/.github/copilot-instructions.md

The authoritative guidance for AI coding agents working in this repository — the lab's scenario canon (single source of truth) and its MCAP authoring conventions — lives in AGENTS.md. Read it before editing any page under docs/.

223d agoDiscuss
MicrosoftCopilot instructions

ZTAssessmentToZTWorkshop

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

Start with AGENTS.md for the repository map, conventions, and verification steps. This file adds Copilot-specific guardrails.

22mo agoDiscuss
MicrosoftCopilot instructions

acx-ado-automation

microsoft/acx-ado-automation/.github/copilot-instructions.md

This is an MCP (Model Context Protocol) server that provides AI assistants with direct access to Azure DevOps work item operations. It focuses specifically on creating and updating Feature work…

18mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

azure-solution-hub

microsoft/azure-solution-hub/.github/copilot-instructions.md

정적 사이트입니다. 배포 대상은 docs/ 폴더이며 GitHub Pages(라이브: https://microsoft.github.io/azure-solution-hub/)로 서빙됩니다. docs/ 하위에 새 HTML 페이지를 추가할 때는 반드시 아래 두 스크립트를 <head>에 포함해야 합니다. 하나는 Microsoft Clarity, 다른 하나는 Google Analytics 4(GA4)입니다. 순서는 Clarity → GA4로 통일합니다. 현재 스니펫이 적용된 페이지: docs/index.html, docs/solution.html, docs/solutions/ontology/demo/index.html, docs/privacy/index.html. 페이지를 추가/삭제하거나 URL 구조가 바뀌면 아래 파일을 함께 업데이트합니다. 정식 URL은 라이브 호스트 https://microsoft.github.io/azure-solution-hub/를 기준으로 절대경로를 사용합니다. 솔루션 URL 형식은 solution.html?slug=<slug>이며, 솔루션 목록은 docs/solutions/solutions.md 매니페스트에서 관리됩니다. 새 솔루션을 추가하면 sitemap.xml과 llms.txt에도 해당 URL을 반영합니다. 실습…

115d agoDiscuss
MicrosoftCopilot instructions

b2c-hsc-native-auth-configuration

microsoft/b2c-hsc-native-auth-configuration/.github/copilot-instructions.md

This repo automates enabling HSC (High Scale Compatibility) mode on Azure AD B2C tenants and configuring Native Authentication APIs. Scripts propagate credentials automatically via env vars — no need to repeat params after Step 1: Or one-shot: .\run-all.ps1 -TenantId "<TENANT_ID>"

16mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

end-to-end-observability

microsoft/end-to-end-observability/.github/copilot-instructions.md

This repo (microsoft/end-to-end-observability) is a monorepo of independent Azure observability subprojects that share the SRE-Agent + Azure Monitor theme but have separate tooling, no shared root build, and their own READMEs. Always cd into the relevant subproject before running anything. The root README.md is a setup placeholder — ignore it for technical context. The most important convention: workbook JSON is generated, never hand-edited. - sre-agent-observability-workbooks/: edit builder/specs/.py (one spec per workbook) or builder/shared/, then rebuild. command_center.py is the reference spec.…

14mo agoDiscuss
MicrosoftCopilot instructions

fabric-center-of-excellence

microsoft/fabric-center-of-excellence/.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…

113mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

fsi-agentic-wealth-transfer

microsoft/fsi-agentic-wealth-transfer/.github/copilot-instructions.md

Read .github/github-instructions.md, AGENTS.md, and Software-Requirements-Document.md before changing this repository. The detailed rules in those files are binding. Non-negotiable Milestone 1 constraints: - The platform is always the receiving firm. - Run deterministic FINRA validation before any model call. - Account-type mismatch blocks with code 03. - Never fabricate an ACATS control number or unresolved [Qn] value. - Hosted invocations must write to legal-hold-protected WORM Blob or fail. - SQL, Fabric, Cosmos DB, and live ACATS submission are deferred. - Humans…

12mo agoDiscuss
MicrosoftCopilot instructions

pypi-lockdown

microsoft/pypi-lockdown/.github/copilot-instructions.md

pypi-lockdown is a CLI tool that bootstraps Python environments to use internal, authenticated PyPI feeds. It has two commands: Entry point: src/pypilockdown/main_.py parses args and treats a bare URL as shorthand for configure URL. Versioning is dynamic via setuptools-scm from git tags.

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