Commit ff01b09
Add AGENTS.md file to align with AGENTS.md standards (Azure#3169)
- [x] Understand the issue and requirements
- [x] Review existing .github/copilot-instructions.md
- [x] Review CONTRIBUTING.md and README.md for context
- [x] Create AGENTS.md file following agents.md canonical structure
- [x] Include repository purpose and scope
- [x] Document key workflows and commands
- [x] Specify automation boundaries for agents
- [x] Add guidance for safe CI/CD interactions
- [x] Cross-link between .github/copilot-instructions.md and AGENTS.md
- [x] Cross-link from CONTRIBUTING.md and README.md to AGENTS.md
- [x] Validate the file format and content
- [x] Address review feedback to improve accuracy and conciseness
- [x] Clarify examples directory location and fix spelling
- [x] Add rustfmt to cspell and enforce absolute links
## Summary
Created a comprehensive AGENTS.md file at the root of the repository
that:
1. **Defines repository purpose and scope**: Describes the Azure SDK for
Rust, its status, primary language, and key technologies
2. **Documents repository structure**: Provides a clear overview of
service directories vs. crate directories
3. **Specifies agent capabilities**: Lists recommended actions (code
generation, code review, documentation, issue triage, refactoring) and
restricted actions (no modifying generated code, breaking API
compatibility, bypassing CI/CD checks, committing secrets, etc.)
4. **Describes key workflows**: Includes commands for building, testing
(with provisioning), linting, formatting, code generation, and running
examples
5. **Provides coding standards**: References
.github/copilot-instructions.md for detailed Rust conventions, with
correct guidance on azure_core::Result<T>, import consolidation,
rustfmt, and absolute links
6. **Documents CI/CD integration**: Explains automated checks and
references CONTRIBUTING.md for detailed Test Proxy usage
7. **Emphasizes safety and security**: Outlines code review, static
analysis, secret scanning, and vulnerability reporting
8. **Cross-references documentation**: Links to relevant files like
CONTRIBUTING.md, copilot-instructions.md, and Azure SDK design
guidelines
### Latest Changes
- **Added "rustfmt" to .vscode/cspell.json**: Ensures spell checking
passes for this term
- **Fixed relative link**: Updated .github/copilot-instructions.md to
use absolute GitHub URL for AGENTS.md
- **Added absolute link guidance**: AGENTS.md now includes repository
requirement that all markdown links must be absolute URLs that work both
online (from github.com) and offline (in IDE)
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
>
> ----
>
> *This section details on the original issue you should resolve*
>
> <issue_title>Add AGENTS.md file</issue_title>
> <issue_description># 🧩 Add `AGENTS.md` file to align with
[AGENTS.md](https://agents.md) standards
>
> ## 📄 Description
> This repository currently includes a `.github/copilot-instructions.md`
file, but it does not yet have an `AGENTS.md` file to describe how AI
agents (e.g., Copilot, MCP, or LLM-based assistants) should interact
with this repository.
>
> To align with emerging [AGENTS.md](https://agents.md) standards and
ensure consistent developer experiences across Azure SDK repositories,
we should add a top-level `AGENTS.md` file that defines:
>
> - Repository purpose and scope
> - Key workflows, commands, and automation boundaries for agents
> - Supported contribution actions (e.g., PR triage, labeling, issue
summarization)
> - Guidance for safe and effective agent interactions with CI/CD
pipelines, SDK tests, and documentation
>
> ## ✅ Proposed Tasks
> - [ ] Review existing `.github/copilot-instructions.md` and identify
relevant guidance to merge or reference in `AGENTS.md`.
> - [ ] Create an `AGENTS.md` file at the root of the repository
following the canonical structure defined at
[AGENTS.md](https://agents.md).
> - [ ] Cross-link between `.github/copilot-instructions.md` and
`AGENTS.md` for discoverability.
> - [ ] (Optional) Add repository metadata in `AGENTS.md` to describe
SDK-specific automation workflows (e.g., codegen, API review, test
matrix).
>
> ## 📘 Example References
> - [AGENTS.md — canonical spec](https://agents.md)
> - [Example
`.github/copilot-instructions.md`](https://github.com/Azure/azure-sdk-for-go/blob/main/.github/copilot-instructions.md)
>
> ## 🧭 Context
> This issue is part of a broader initiative to introduce `AGENTS.md`
across all Azure SDK repositories (see the [Azure SDK org
overview](https://github.com/Azure/azure-sdk)) to standardize AI agent
documentation and improve consistency in automation and Copilot-based
contributions.</issue_description>
>
> ## Comments on the Issue (you are @copilot in this section)
>
> <comments>
> </comments>
>
</details>
Fixes Azure#3168
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions,
customizing its development environment and configuring Model Context
Protocol (MCP) servers. Learn more [Copilot coding agent
tips](https://gh.io/copilot-coding-agent-tips) in the docs.
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: ronniegeraghty <[email protected]>
Co-authored-by: heaths <[email protected]>1 parent ab3b181 commit ff01b09
File tree
5 files changed
+263
-0
lines changed- .github
- .vscode
5 files changed
+263
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
| 75 | + | |
74 | 76 | | |
75 | 77 | | |
76 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
0 commit comments