agentleFS
Sign inSign up

AGENTS.md examples from real projects

How real projects brief Codex, Cursor and every other agent that reads AGENTS.md.

Most stars first · from page 22Worked for most · soon
MicrosoftAGENTS.md

microsoft-copilot-agents-playbook / Chef-Agent-Initial

microsoft/microsoft-copilot-agents-playbook/04-evaluate/demo-chef-agent/Chef-Agent-Initial/AGENTS.md

This is an M365 Copilot declarative agent project managed by the ATK CLI. When working on this project, you MUST use the appropriate skill for the task. Do NOT work directly on files without invoking a skill first. This is a declarative agent project. For ANY task in this workspace — regardless of what it is — you MUST invoke the declarative-agent-developer skill BEFORE doing any work. This is not optional. Do not attempt to handle any task yourself. Always…

2520d agoDiscuss
MicrosoftAGENTS.md

copilot-sdk-samples

microsoft/copilot-sdk-samples/Agents.md

Demo repository for GitHub Copilot SDK samples (Node.js + TypeScript). Run any sample with pnpm <sample-name>:

249mo agoDiscuss
MicrosoftAGENTS.md

FSQ

microsoft/FSQ/AGENTS.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
MicrosoftAGENTS.md

Hosted_Agents_Workshop_dotNET

microsoft/Hosted_Agents_Workshop_dotNET/AGENTS.md

This file defines repository-level guidance for coding agents and contributors. This repo is a beginner workshop for Microsoft Foundry hosted agents with .NET 10. Primary learning flow: When UI images need refresh for docs: Expected outputs: Before publishing updates:

233mo agoDiscuss
MicrosoftAGENTS.md

Migrate2GSA

microsoft/Migrate2GSA/AGENTS.md

PowerShell module and tooling to migrate third-party SSE/ZTNA configurations to Microsoft Entra Global Secure Access (Private Access / Internet Access). This file is the entry point for humans and coding agents. verify.ps1 validates the module manifest (Test-ModuleManifest), imports the module, and runs Pester tests if present. A change is done when verify.ps1 passes, the pre-commit hook (.githooks/pre-commit.ps1) is satisfied, and docs are updated for user-facing changes.

204mo agoDiscuss
MicrosoftAGENTS.md

amplifier-app-cli

microsoft/amplifier-app-cli/AGENTS.md

amplifierappcli/data/ ships inside the CLI's own wheel — anything placed there loads for every user, every session, version-locked to the installed CLI, with no bundle composition step in between. That reach is exactly why it must stay small. Before adding anything here, run it through these three tests, in order: 1. Does it depend on something the CLI uniquely provides, that cannot move? A slash command, a settings key, a terminal affordance — something with no home outside this process.…

1944d agoDiscuss
MicrosoftAGENTS.md

learn-ai-native-dev

microsoft/learn-ai-native-dev/AGENTS.md

This file provides context and guidelines for AI agents (GitHub Copilot, Claude, etc.) working on this codebase. Two surfaces, two homes. docs/ is the design spec for the website-as-product (what we teach, how content is structured, principles). .github/ is the build harness (instructions, prompt files, skills, custom agents, hooks) for editing the website. Start with docs/README.md and docs/harness.md. AI-Native Development Tutorial Website - An interactive tutorial teaching anyone how to accelerate their workflow using AI-Native development techniques. Teach developers —…

195mo agoDiscuss
MicrosoftAGENTS.md

azure-sql-database-container

microsoft/azure-sql-database-container/AGENTS.md

Guidance for AI coding agents working in this repository (the Azure SQL Database container Private Preview). If you instead want your own agent to run and build against the container in your project, install the skill: npx skills add microsoft/azure-sql-database-container. This file is about contributing to the repo, not about using the container. The Azure SQL Database container is the Azure SQL Database engine, running locally for development and CI. It is wire-compatible with Azure SQL Database in the Microsoft…

1842d agoDiscuss
MicrosoftAGENTS.md

ox-tools

microsoft/ox-tools/AGENTS.md

Code in this repository should follow the guidelines specified in the Microsoft Rust Guidelines. The spell checker dictionary is in the .spelling file, one word per line in arbitrary order. Do not manually edit CHANGELOG.md files. Changelogs are automatically updated on release. Each crate's design is captured under crates/<crate>/docs/, kept in lockstep with the code (as pioneered by cargo-anvil and cargo-coverage-gate). Design is the contract; code is the realization. This is prospective, not a retroactive invariant: new crates land with…

1727d agoDiscuss
MicrosoftAGENTS.md

agentic-sdlc-starter

microsoft/agentic-sdlc-starter/AGENTS.md

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

157mo agoDiscuss
MicrosoftAGENTS.md

managed-apps / github-actions

microsoft/managed-apps/github-actions/AGENTS.md

This directory holds the install-ms-cli, ms-app-pack, and ms-app-deploy GitHub Actions for building and deploying Microsoft Managed Apps from CI. If you're an agent (GitHub Copilot CLI, Claude Code, or any other) helping with this component, the reusable skills below are plain Markdown runbooks — read the relevant one and follow its steps. - Build the actions: cd github-actions && npm install && npm run build (compiles src/ and bundles each action into dist/actions/<name>/index.js). - dist/ is committed and referenced by…

154mo agoDiscuss
MicrosoftAGENTS.md

WinAppVSCE / vsce-testing

microsoft/WinAppVSCE/.github/skills/vsce-testing/AGENTS.md

Read this first. It is the onboarding contract for any agent/session working in vsce-testing. It encodes the validated way to drive the WinApp VS Code extension (microsoft-winappcli.winapp) inside a live VS Code instance, plus every gotcha that has already cost hours to rediscover. Follow the "Getting started" checklist before doing anything else. This directory lives inside the WinAppVSCE repo at .github/skills/vsce-testing/. It provides the infrastructure for an agent to launch an isolated VS Code instance with the WinApp extension installed…

133mo agoDiscuss
MicrosoftAGENTS.md

identity-spiffe

microsoft/identity-spiffe/AGENTS.md

Canonical contributor and AI-agent guidance. Durable architecture and runbooks live in docs/. Before changing authentication, deployment, or authorization code, read: Common flows: Use python3 scripts/test_agents.py to validate the live enforcement matrix after deployment.

114mo agoDiscuss
MicrosoftAGENTS.md

identity-spiffe / infra

microsoft/identity-spiffe/infra/AGENTS.md

All Azure infrastructure-as-code for the Identity Research for Agent Management Using SPIFFE. Deployed via azd provision (Step 1 of deploy.sh). Never edit Container App container specs in Bicep — deploy.sh manages the full container configuration to avoid the multi-container reset bug (Learning #3).

114mo agoDiscuss
MicrosoftAGENTS.md

identity-spiffe / scripts

microsoft/identity-spiffe/scripts/AGENTS.md

Deployment, testing, and identity management scripts. When only the cloud portal UX/auth surface changed, prefer ./deploy.sh --portal-only. That path rebuilds and updates isp-portal + securityportal-mock without touching agent sidecars or forcing SPIRE re-attestation. Read alongside: The enforcement matrix validation script. Runs all 22 scenarios and reports pass/fail. Transport Layer (mTLS): 1. BudgetReport → BudgetBackend: ✅ connection succeeds 2. EmployeeMenus → BudgetBackend: ❌ connection refused (mTLS rejection) 3. BudgetApproval → BudgetBackend: ✅ connection succeeds Application Layer (RBAC): 4. BudgetReport → GET…

114mo agoDiscuss
MicrosoftAGENTS.md

copilot-brag-sheet

microsoft/copilot-brag-sheet/AGENTS.md

README for AI coding agents. If you're a human looking for setup or usage instructions, read README.md instead. This file is the dedicated place where Claude Code, Copilot CLI, Codex, Cursor, Jules, Amp, and friends find the context they need to be productive on this repo without re-deriving it from grep. Format: agents.md — used by 60k+ open-source projects and stewarded by the Agentic AI Foundation under the Linux Foundation. The closest AGENTS.md to the file you're editing wins; explicit…

96mo agoDiscuss
MicrosoftAGENTS.md

intune-tenant-doc

microsoft/intune-tenant-doc/AGENTS.md

PowerShell-based Intune tenant configuration exporter. The repo contains a single read-only script that connects to Microsoft Graph and generates Markdown documentation for an Intune tenant: per-platform files, a combined full-tenant…

956d agoDiscuss
MicrosoftAGENTS.md

agora-workbench

microsoft/agora-workbench/AGENTS.md

The project uses uv for dependency management with pyproject.toml at the repo root. Python ≥3.11 is required. Always run commands from the repo root. Use uv run to run any script (e.g. uv run python src/script.py) and uv add to add packages. The virtual environment is managed automatically — do not manually activate .venv. src/ is on the Python path. All imports use the agora_workbench namespace: Do not use bare package names — from code_execution import ... is wrong. BaseMCPServer…

82mo agoDiscuss
MicrosoftAGENTS.md

AKS-Lab-GitHubCopilot

microsoft/AKS-Lab-GitHubCopilot/AGENTS.md

Inspired by microsoft/agent-framework/python/AGENTS.md. Read this before you write any code in this repo — whether you are a human, GitHub Copilot, or the Copilot Coding Agent. This repository implements ZavaShop, a multi-agent retail supply-chain demo. It runs on AKS (long-lived orchestrator) and Azure Container Apps (event-driven specialist agents). Agents are built with Microsoft Agent Framework (MAF) and the GitHub Copilot SDK Python provider. Treat every change as production-style: typed, tested, observable. This repo is delivered through GitHub Copilot Custom Agents.…

83mo agoDiscuss
MicrosoftAGENTS.md

amplifier-agent

microsoft/amplifier-agent/AGENTS.md

Notes for AI agents and humans working on this repo. For what the repo produces, see README.md. For the integration architecture across all downstream surfaces (layer stack, publish points, version numbers, and the change-to-release impact matrix), see docs/LAYERSANDRELEASES.md. It is the single source of truth for "if I change X, what needs to be released." This is a multi-artifact monorepo: one Python engine + CLI, one TypeScript wrapper SDK, one Python wrapper SDK. Each is independently versioned, with its own…

838d agoDiscuss
CLAUDE.md vs AGENTS.md

About AGENTS.md

What is AGENTS.md?

An open format for instructions to coding agents, read by Codex, Cursor and others. Think of it as a README written for agents.

Where does it go?

At the repository root, with more specific files in subdirectories. Agents read the one closest to the file they're editing.

What should it contain?

Setup and test commands, code style, and the rules a new contributor would need to know.

Does Claude Code read it?

Claude Code reads CLAUDE.md. A one-line CLAUDE.md that points at AGENTS.md covers both.