azure-dev
AGENTS.md573 starsChanged 26 days agoMITView on GitHub
Start here for repository work. Follow the shared instructions and the local AGENTS.md files that apply to your task. Local instructions add area-specific rules and exceptions. - Protect credentials and customer data. Do not expose them in output, logs, issues, or artifacts. - Validate paths derived from user input or template paths. - Quote paths in user-facing shell examples and suggestions. - Make focused changes, preserve existing behavior unless intentionally changing it, and add or update appropriate tests. Validate the…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository29 other files it gives its agents.
- cli/azd/AGENTS.mdAGENTS.md
- cli/azd/extensions/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.agents/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.connections/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.inspector/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.projects/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.routines/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.skills/AGENTS.mdAGENTS.md
- cli/azd/extensions/azure.ai.toolboxes/AGENTS.mdAGENTS.md
- ext/vscode/AGENTS.mdAGENTS.md
- .github/skills/extension-user-contract-review/evals/fixtures/cli/azd/AGENTS.mdAGENTS.md
- ext/vscode/.github/copilot-instructions.mdCopilot instructions
- azd-extension-e2e-testingSkill
- azd-extension-spec-authoringSkill
- azd-extension-unit-testingSkill
- azdSkill
- agentic-workflowsSkill
- azd-code-reviewerSkill
- azd-grpc-contractsSkill
- azd-preflightSkill
- changelog-generationSkill
- extension-user-contract-reviewSkill
- foundry-extension-scenario-authoringSkill
- foundry-extension-scenario-pr-regressionSkill
- foundry-extension-scenario-suite-runSkill
- senseiSkill
- tool-version-upgradeSkill
- weekly-demo-videoSkill
- weekly-reportSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Start here for repository work.
- Distinctive: line 18
Keep documentation and user-facing help current.
- Distinctive: line 21
Read the whole relevant file and surrounding context before changing or reviewing it.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent guidance
Start here for repository work. Follow the shared instructions and the local
AGENTS.md files that apply to your task. Local instructions add area-specific
rules and exceptions.
Security and privacy
- Protect credentials and customer data. Do not expose them in output, logs, issues, or artifacts.
- Validate paths derived from user input or template paths.
- Quote paths in user-facing shell examples and suggestions.
Repository-wide practices
- Make focused changes, preserve existing behavior unless intentionally changing it, and add or update appropriate tests. Validate the affected behavior.
- Keep documentation and user-facing help current. Follow the documentation maintenance instructions for code and documentation changes.
- Read the whole relevant file and surrounding context before changing or reviewing it. Load additional task-specific guidance when it applies.
Choose guidance for the work
| Work | Required starting point |
Core CLI (cli/azd/) | Read the entire CLI handbook, including conditional UX, telemetry, release, and testing guidance. |
Microsoft-authored extensions (cli/azd/extensions/) | Read the entire CLI handbook, the shared extension guide, and any extension-local AGENTS.md. |
VS Code extension (ext/vscode/) | Read the VS Code guide. |
| Go code | Check the affected module's Go version. For cli/azd/, follow the Go conventions in the CLI handbook. |
| Documentation | Follow the documentation maintenance instructions and the relevant area guide. |
For every PR review, inspect the full changed-file list first. If any file
under cli/azd/extensions/ changes, including in a fork PR, apply the
extension user contract review
before general review. Run this pass even when you do not expect a contract
change. Follow the skill's coverage and reporting requirements.
How instructions are organized
Path-specific Copilot instructions apply to matching
files. Follow them even when a client does not load them automatically. Check
the affected directory and its parents for local AGENTS.md files.
For CLI UX, telemetry, and release work, follow the relevant sections of the CLI handbook. Use the skills and custom agents that fit the task. Do not load every procedure. Some tasks require a skill, such as the extension review pass above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

