agentleFS
Sign inSign up

Copilot instructions examples

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

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

AzureKeyVaultManagedHSMEngine / src_provider_rust

microsoft/AzureKeyVaultManagedHSMEngine/src_provider_rust/.github/copilot-instructions.md

You are a copilot assistant to help develop the Rust implementation of the OpenSSL provider for Azure Managed HSM. This is a Rust conversion of the C-based OpenSSL provider. The Rust implementation provides: This will: - Build the provider in release mode - Automatically copy akv_provider.dll to the OpenSSL modules directory Output: target/release/akv_provider.dll Check your OpenSSL modules directory: Copy the provider DLL to that directory: Run the test suite: With full Azure HSM validation (slower, ~20-30 seconds):

264mo agoPipes a download into a shellDiscuss
MicrosoftCopilot instructions

FeatureManagement-Python

microsoft/FeatureManagement-Python/.github/copilot-instructions.md

Install all dependencies with: This project requires Python 3.10 or newer. Line length is configured to 120 in pyproject.toml. Always run black before pylint and mypy, as formatting fixes can resolve issues those tools detect. ALLOWED ACTIONS: - ✅ Fix warnings with 100% confidence - ✅ Use existing files for all solutions - ✅ Reference official guidelines FORBIDDEN ACTIONS: - ❌ Fix warnings without complete confidence - ❌ Create new files for solutions - ❌ Import non-existent modules - ❌…

263y agoDiscuss
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 — QNN on Snapdragon (ARM64). x64 (Intel/AMD, OpenVINO) support is coming soon. A certified NPU EP is required (no CPU fallback, no cloud calls). This repo shows a third-party developer how to (1) consume the SDK's framework package, (2) wire it into their own app, and (3) build + run a working chat app. Use…

254mo agoDiscuss
MicrosoftCopilot instructions

openaivec

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

High-throughput, batched OpenAI / Azure OpenAI Responses + Embeddings for pandas & Spark with strict ordering, deduplication, and structured outputs. All tooling runs via uv. Python ≥ 3.10. Environment: set OPENAIAPIKEY, or for Azure set AZUREOPENAIBASEURL (must end with /openai/v1/) with optional AZUREOPENAIAPIKEY (omit for Entra ID via DefaultAzureCredential). Tests auto-skip when credentials are absent. BatchCache / AsyncBatchCache in cache/ are the core execution engine. They deduplicate inputs, chunk into batches, call a mapfunc, and restore original ordering. The map_func…

257d agoReads credentialsDiscuss
MicrosoftCopilot instructions

openclaw-dev

microsoft/openclaw-dev/.github/copilot-instructions.md

This repo deploys OpenClaw as a secure, hosted AI assistant on Azure Container Apps, wired to Azure OpenAI in Foundry Models over a Managed Identity (no API keys), gated by Entra ID Easy Auth, with an optional Microsoft Teams channel. It is an alpha, single-tenant dev/test template. When the user asks you to deploy, configure, operate, troubleshoot, connect to Teams, or tear down this template, follow the playbook in skills/openclaw-dev/SKILL.md. Use this repo's own scripts, env-var contract, region list, and…

253mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

TdsLib

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

This repository contains an open implementation of the TDS protocol (version 7.4) in managed C# code. It is focused on the login steps and TDS connection diagnostics.

2522d agoDiscuss
MicrosoftCopilot instructions

Agent365-nodejs

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

Or for multi-line format:

248mo agoDiscuss
MicrosoftCopilot instructions

powerbi-visuals-dualkpi

microsoft/powerbi-visuals-dualkpi/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual certification steps…

2430d agoDiscuss
MicrosoftCopilot instructions

FSQ

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

This repository uses Spec-Driven Development for project development. Root SPEC.md and relevant module SPEC.md files are the grounding truth for project code and project logic. They do not define the SDD workflow. This file and .github/skills/ control agent write authorization and SDD phase transitions. Project SPEC.md files must not duplicate or override those workflow rules. Ordinary discussion, explanation, review, and planning are read-only. Do not automatically load or invoke repository workflow skills. Before creating, modifying, renaming, or deleting project development…

2329d agoDiscuss
MicrosoftCopilot instructions

PowerBI-visuals-AsterPlot

microsoft/PowerBI-visuals-AsterPlot/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual steps live…

2312mo agoDiscuss
MicrosoftCopilot instructions

app-with-sharepoint-knowledge

microsoft/app-with-sharepoint-knowledge/.github/copilot-instructions.md

This project implements a chat agent using Azure AI Foundry SDK that retrieves and grounds responses on SharePoint content through Microsoft 365 Copilot APIs.

2239d agoDiscuss
MicrosoftCopilot instructions

powerbi-visuals-dotplot

microsoft/powerbi-visuals-dotplot/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual certification steps…

2238d agoDiscuss
MicrosoftCopilot instructions

SimpleL7Proxy

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

Summary for ProxyWorker.cs - The ProxyWorker.cs file is part of a proxy service built using .NET 9. This file handles incoming requests, processes them, and sends responses back to the clients. The proxy service supports concurrent processing of approximately 1000 tasks under normal workloads. Key functionalities include: The file ensures that each request is processed efficiently and logs relevant information for monitoring and debugging purposes. Collecting workspace information Act like an intelligent coding assistant, who helps test and author tools,…

2112mo agoDiscuss
MicrosoftCopilot instructions

Migrate2GSA

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

Start with AGENTS.md for the repository map, conventions, and verification steps. This repo already ships detailed instruction files under .github/instructions/ — read those too (especially powershell.instructions.md and the conversion-spec-* files). This file adds high-level Copilot guardrails.

204mo agoDiscuss
MicrosoftCopilot instructions

dragon-copilot-extension-samples

microsoft/dragon-copilot-extension-samples/.github/copilot-instructions.md

This repository contains sample code and tools for developing Dragon Copilot Extensions - plugins that extend the functionality of Dragon Copilot, a medical AI platform for clinical documentation and healthcare workflows. 1. Follow Medical Domain Patterns - Use clinical terminology appropriately - Respect patient data sensitivity and privacy -

193mo agoDiscuss
MicrosoftCopilot instructions

github-agent-mode-webinar

microsoft/github-agent-mode-webinar/.github/copilot-instructions.md

These are repository-wide guidelines. Path‑scoped files in .github/instructions/*.instructions.md provide focused guidance for specific areas (frontend, API, database). TypeScript monorepo with: - api/ Express REST API (SQLite persistence, repository pattern, Swagger docs) - frontend/ React + Vite + Tailwind UI - Shared demo + infra docs under docs/ and deployment scripts under infra/ Refer to docs/architecture.md and docs/sqlite-integration.md for deeper details. Avoid restating them in reviews and link instead.

1910mo agoDiscuss
MicrosoftCopilot instructions

learn-ai-native-dev

microsoft/learn-ai-native-dev/.github/copilot-instructions.md

This is an AI-Native Development Tutorial website. After structural changes (paths, modules, diagrams, custom markdown syntax, or any file under .github/{instructions,prompts,skills,agents,hooks}/), run @docs-auditor to catch drift in docs/.

195mo agoDiscuss
MicrosoftCopilot instructions

powerbi-visuals-linedotchart

microsoft/powerbi-visuals-linedotchart/.github/copilot-instructions.md

Purpose. Keep only the checks and guidance that an automated coding agent (Copilot-style) can perform reliably during a PR review for a Power BI custom visual repository. Interactive/manual steps live…

1938d agoDiscuss
MicrosoftCopilot instructions

azure-linux-dev-tools

microsoft/azure-linux-dev-tools/.github/copilot-instructions.md

Follow the existing code style and conventions for similar code. Refer to all of the documents listed below: - CONTRIBUTING.md for general human and AI agent guidelines. - .github/instructions/*.instructions.md instructions files for language-specific AI agent instructions. CRITICAL: If these instructions are outdated or misleading, FIX THEM IMMEDIATELY! This document (.github/copilot-instructions.md) is to help coding agents (like you) to work efficiently and effectively. If you are lead astray or get confused, it is likely it will happen again to others. Help…

184mo agoDiscuss
MicrosoftCopilot instructions

moc-sdk-for-go

microsoft/moc-sdk-for-go/.github/copilot-instructions.md

This file contains instructions for GitHub Copilot agents working on this repository. CRITICAL: Before marking a Pull Request as ready for review, you MUST: The following status checks must be green before marking PR as ready for review: For automated PRs (e.g., dependency updates, Go version updates): - The PR may be created in draft mode by default - Before converting to ready for review, verify: - All builds complete successfully - All tests pass - No new linting errors…

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