Skip to content

[dev] Add AGENTS.md and change default JSON formatter#2321

Merged
Drarig29 merged 1 commit into
masterfrom
corentin.girard/ai-agent-setup
May 19, 2026
Merged

[dev] Add AGENTS.md and change default JSON formatter#2321
Drarig29 merged 1 commit into
masterfrom
corentin.girard/ai-agent-setup

Conversation

@Drarig29

Copy link
Copy Markdown
Contributor

What and why?

Claude uses a non-standard CLAUDE.md file, while the standard is AGENTS.md. And it's a common practice to refer to AGENTS.md with @AGENTS.md in the Claude non-standard file.

How?

  • Point CLAUDE.md to AGENTS.md
  • Change default JSON formatter because agents keep formatting with the wrong formatter in my IDE

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@Drarig29
Drarig29 requested review from a team as code owners May 18, 2026 23:10
@Drarig29 Drarig29 added the chores Related to the CI or developer experience label May 18, 2026

@ava-silver ava-silver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make AGENTS.md/CLAUDE.md (or any other agent markdown) only owned by the admins rather than documentation as well? since this isn't really public documentation

Comment thread CLAUDE.md

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what if we instead just make CLAUDE.md a symlink?

@Drarig29 Drarig29 May 19, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ instructs Claude Code to inline the file as a memory into the context, so it's not a tool call. And that's a pattern we use in multiple internal Datadog repos.

@Drarig29
Drarig29 merged commit 3bd4a8c into master May 19, 2026
30 checks passed
@Drarig29
Drarig29 deleted the corentin.girard/ai-agent-setup branch May 19, 2026 17:33
@afontan afontan mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chores Related to the CI or developer experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants