agentleFS
Sign inSign up

Copilot instructions examples

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

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

purview-api-samples

microsoft/purview-api-samples/.github/copilot-instructions.md

This file points coding agents at the repo's canonical guidance. Start with AGENTS.md for the sample map, entry points, verification, and guardrails. A multi-sample collection of independent Microsoft Purview developer samples (PowerShell, .NET 8 WPF, Python/AWS Lambda, a browser frontend, and a Postman collection). There is no single buildable service; each top-level folder is its own sample with its own README. - Read the affected sample's README and docs/conventions.md. - Keep edits scoped to one sample per PR; avoid cross-sample…

163mo agoDiscuss
MicrosoftCopilot instructions

agentic-sdlc-starter

microsoft/agentic-sdlc-starter/.github/copilot-instructions.md

Dependency rule: Inner layers NEVER import from outer layers. Use dependency injection.

157mo agoDiscuss
MicrosoftCopilot instructions

HOBL

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

git git# GitHub Copilot Instructions for HOBL Multiple HOBL scenarios share the same pyenv-managed Python version (Windows: 3.12.10-arm is used by pytorchinf, llvm, nodejs, vscode, opencvbuild, fastapi; macOS: 3.12.10 is used by macpytorchinf, macllvm, macnodejs, macopencvbuild, macnet_aspire). When several scenarios share a single pyenv version directory, **anything one scena

1527d agoDeletes or force-pushesDiscuss
MicrosoftCopilot instructions

durabletask-js

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

This document provides architectural context for AI assistants working with this codebase. Focus is on stable patterns, invariants, and pitfalls — not file paths or function signatures. The Durable Task SDK for JavaScript/TypeScript enables writing long-running, stateful workflows as code. It is the JavaScript implementation of Microsoft's cross-language Durable Task Framework (sibling SDKs exist in .NET, Python, Java, Go). This is NOT Azure Durable Functions. It's a lower-level SDK for the Azure Durable Task Scheduler service (or its emulator). The…

145mo agoDiscuss
MicrosoftCopilot instructions

agent-resources

microsoft/agent-resources/.github/copilot-instructions.md

Five static sites published via GitHub Pages from main — no build step, no package manager. Edit and push to deploy. Always update CHANGELOG.md with additions/removals from the sites. When updating CHANGELOG.md, make sure there is a newline between the header and the paragraph text. Each site has its own CHANGELOG.md file to track its changes, with all changes for all sites aggregated into the root CHANGELOG.md with dated entries grouped by site directory. Each child site is self-contained with…

134mo agoDiscuss
MicrosoftCopilot instructions

cat

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

This is the CAT (Copilot Acceleration Team) website, a static GitHub Pages site hosted at https://microsoft.github.io/cat. It contains resources, tools, programs, and guidance for accelerating Microsoft 365 Copilot and Copilot Studio adoption. There is no build pipeline, test suite, or linter configured for this repository. Changes are validated visually and via PR review. To preview locally, serve the root directory with any static file server (e.g., python -m http.server or VS Code Live Server extension).

135mo agoDiscuss
MicrosoftCopilot instructions

AgentPlatformAdvisor

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

A static single-page web app — no build step, no backend, no framework, no modules — deployed to GitHub Pages. index.html contains the markup for every section up front; assets/apa.js fetches apa.yaml at runtime, parses it with the js-yaml CDN script into one global apa object, and swaps sections with showSection(). Views are built as template-literal HTML strings assigned to innerHTML. All state and functions are file-level globals in assets/apa.js. Key files: - apa.yaml — source of truth for all…

125mo agoDiscuss
MicrosoftCopilot instructions

entra-agentid-samples

microsoft/entra-agentid-samples/.github/copilot-instructions.md

This repository contains Microsoft Entra Agent ID sample agents that demonstrate the sidecar identity pattern — the Microsoft Entra SDK for Agent ID runs as a companion container and handles all token acquisition for your agent code. Extended workflows are packaged as skills under .claude/skills/<name>/SKILL.md. When the user's request matches a skill's description, load the relevant SKILL.md in full before taking action: The CLAUDE.md at the repository root is the primary entry point for agent-based tools and mirrors this guidance.

125mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

github-constellation-software

microsoft/github-constellation-software/.github/copilot-instructions.md

- Use Node.js 22, matching the GitHub Actions workflows. - Install the locked dependencies with npm ci. - Start the local Vite server with npm run dev. - Validate the visual contract with npm run design:lint. - Run the production validation with npm run build. This runs tsc --noEmit before the Vite multi-page build. - Run only the TypeScript check with npm run typecheck. - Preview the generated dist/ artifact with npm run preview. - No test runner or general…

123mo agoDiscuss
MicrosoftCopilot instructions

jbang-catalog

microsoft/jbang-catalog/.github/copilot-instructions.md

This is a static JBang catalog repository. The root jbang-catalog.json is the primary artifact; it defines user-facing JBang aliases under aliases and currently leaves templates present but empty. Each alias maps a short name to a script-ref, which may be a remote JAR URL, Maven coordinate, or remote Java source file. Optional metadata such as description, java, and java-options controls how JBang presents and launches the alias. There is no application source tree or project build file; repository changes normally…

125mo agoDiscuss
MicrosoftCopilot instructions

ACESEvals

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

Inspect AI → SABERSandboxEnvironment → ClientSessionManager → REST/MCP Server ↓ ↓ ↓ Agent Solver MCP Client SessionManager ↓ ↓ ↓ Tool Execution Tool Discovery Docker Sandbox Execution bash uv lock --upgrade-package saber # resolves latest commit on main uv sync --all-extras # installs it

116mo agoDiscuss
MicrosoftCopilot instructions

ai-cheatcode

microsoft/ai-cheatcode/.github/copilot-instructions.md

"The Cheat Code" is an internal Microsoft newsletter distributed weekly to the ABS Tech Strategy team (AI Business Solutions). Each issue features a reusable agentic pattern for Copilot Chat, extracted from real customer engagements. The name is a play on "chat" (Copilot Chat) and "cheat" (cheat codes) — the Konami code motif appears subtly in every issue. Each issue exists in four parallel formats, all produced from the same source content: The **PRODUCTION_PLAYBOOK.md** is the authoritative reference for all production…

114mo agoDiscuss
MicrosoftCopilot instructions

slack-plus-teams

microsoft/slack-plus-teams/.github/copilot-instructions.md

Approve by default. This is a fast-moving project with example code and knowledge-base Markdown. Only flag issues that would cause runtime failures, security vulnerabilities, or silently wrong behavior. Do NOT comment on style, naming, minor inconsistencies, missing docs, or "nice to have" improvements. If a PR works correctly, approve it.

107mo agoDiscuss
MicrosoftCopilot instructions

intune-tenant-doc

microsoft/intune-tenant-doc/.github/copilot-instructions.md

Start with AGENTS.md for the repository map, conventions, and verification steps. This file adds Copilot-specific guardrails. A PowerShell 7 Intune tenant configuration exporter. The main script uses Microsoft Graph read-only…

956d agoDiscuss
MicrosoftCopilot instructions

kalypso-scheduler

microsoft/kalypso-scheduler/.github/copilot-instructions.md

Kalypso Scheduler is a Kubebuilder-based Kubernetes operator that orchestrates workload assignments across cluster types using declarative GitOps workflows. It transforms high-level control plane abstractions (Workloads, ClusterTypes, SchedulingPolicies) into low-level manifests in GitOps repositories. Architecture: Multi-controller reconciliation pipeline where resources flow: WorkloadRegistration → Workload → DeploymentTarget → SchedulingPolicy → Assignment → AssignmentPackage → GitOpsRepo (PR creation) All code generation and scaffolding MUST use Kubebuilder: Never manually edit: - config/crd/bases/.yaml - Generated from API types - */zz_generated.deepcopy.go - Generated DeepCopy methods -…

911mo agoDiscuss
MicrosoftCopilot instructions

project-pulse

microsoft/project-pulse/.github/copilot-instructions.md

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

912mo agoDiscuss
MicrosoftCopilot instructions

purview-dlm-mcp

microsoft/purview-dlm-mcp/.github/copilot-instructions.md

When using the dlm-diagnostics MCP server tools: MCP server enabling AI assistants to diagnose Microsoft Purview Data Lifecycle Management (DLM) issues in Exchange Online. Provides runpowershell (read-only command execution) and getexecution_log (audit trail) tools. Environment variables: DLMUPN, DLMORGANIZATION (required), DLMCOMMANDTIMEOUT_MS (optional, default 180000). Diagnostic skills live in .github/skills/: - dlm-diagnostics/ — 11 troubleshooting guides for DLM issues - asklearn/ — Fallback skill for Microsoft Learn documentation lookup - skill-creator/ — Meta-skill for authoring new skills Each skill has a SKILL.md…

97mo agoDiscuss
MicrosoftCopilot instructions

AKS-Lab-GitHubCopilot

microsoft/AKS-Lab-GitHubCopilot/.github/copilot-instructions.md

You are assisting on ZavaShop, a multi-agent retail supply-chain demo deployed to AKS + Azure Container Apps, written in Python 3.11+ with Microsoft Agent Framework and the GitHub Copilot SDK. Before generating code, read AGENTS.md at the repo root. It is the source of truth. Always include: - SYSTEMPROMPT constant in prompts.py — terse, role-scoped, with explicit refusal rules. - A buildagent() factory in agent.py returning the shared _RunnableAgent adapter. - A FastAPI app in server.py with /healthz, /readyz, /invoke.…

83mo agoReads credentialsDiscuss
MicrosoftCopilot instructions

nvx

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

- The integration repository is microsoft/nvx, and its default branch is dev. The nanvix/nvx repository is archived; do not create new branches or pull requests there. Verify configured remotes before pushing. - openvmm/ is a Git submodule sourced from nanvix/openvmm. For OpenVMM source changes, work in the nested repository and follow its instructions. For an NVX pin promotion, use the nvx-openvmm-promote skill and keep the superproject change gitlink-only unless the task explicitly requires coordinated NVX changes. - Preserve dirty state…

88d agoDiscuss
MicrosoftCopilot instructions

wssd-sdk-for-go

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

When working on pull requests in this repository, DO NOT mark the PR as ready for review until ALL of the following conditions are met: Before marking a PR ready for review, you MUST verify that all local checks pass: You MUST verify that all continuous integration checks are passing: Use the GitHub MCP tools to verify status: For reference, here are the key commands for this repository: Remember: Green status across ALL checks is mandatory before marking any PR…

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