Skip to content

Latest commit

 

History

History
49 lines (38 loc) · 2.67 KB

AGENTS.md

File metadata and controls

49 lines (38 loc) · 2.67 KB

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.