Commit 6980fcf
docs: Add explicit fmt and clippy commands to AGENTS.md (#21171)
## Which issue does this PR close?
N/A - minor documentation improvement.
## Rationale for this change
The "Before Committing" section in `AGENTS.md` (symlinked as
`CLAUDE.md`) tells agents to follow the contributor guide but does not
list the concrete commands. Agents may skip `cargo fmt` or `cargo
clippy` and submit PRs with formatting/lint errors that fail CI.
## What changes are included in this PR?
Adds explicit `cargo fmt --all` and `cargo clippy` commands that agents
MUST run before committing, along with a pointer to the full
`./dev/rust_lint.sh` suite.
## Are these changes tested?
Documentation only — no code changes.
## Are there any user-facing changes?
No.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4e2e4e8 commit 6980fcf
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
18 | 36 | | |
19 | 37 | | |
20 | 38 | | |
| |||
0 commit comments