Skip to content

Commit a49ec81

Browse files
committed
docs: consolidate agent instructions into AGENTS.md
GitHub Copilot, Cursor, and other agents read AGENTS.md, so the .github/copilot-instructions.md stub is no longer needed. Keep CLAUDE.md as a thin pointer to AGENTS.md since Claude Code is only guaranteed to read CLAUDE.md (see open-telemetry/opentelemetry-rust#3480 discussion).
1 parent 524b78d commit a49ec81

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.github/copilot-instructions.md

Lines changed: 0 additions & 4 deletions
This file was deleted.

AGENTS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Agent Instructions
2+
3+
If working on Rust code (i.e., the `rust/` directory), read and follow all
4+
instructions in [rust/otap-dataflow/AGENTS.md](rust/otap-dataflow/AGENTS.md).

CLAUDE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# CLAUDE.md
22

3-
If working on Rust code (i.e., the `rust/` directory), read and follow all
4-
instructions in [rust/otap-dataflow/AGENTS.md](rust/otap-dataflow/AGENTS.md).
3+
See [AGENTS.md](AGENTS.md).

0 commit comments

Comments
 (0)