Skip to content

Add CLAUDE.md#42160

Merged
mdo merged 3 commits into
v6-devfrom
v6-claude
Jun 28, 2026
Merged

Add CLAUDE.md#42160
mdo merged 3 commits into
v6-devfrom
v6-claude

Conversation

@mdo

@mdo mdo commented Mar 12, 2026

Copy link
Copy Markdown
Member

Had Claude one-shot a file. I'm fine with it, unsure if there are improvements to be made yet.

@mdo mdo requested a review from julien-deramond March 12, 2026 23:55
@mdo mdo added this to v6.0.0 Mar 12, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Mar 12, 2026
@coliff

coliff commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Just an idea, but can you consider renaming to AGENTS.md - that way it'll be usable by GitHub Copilot and Cursor and others... (See https://agents.md/ for more info)

I don't use Claude so not 100% sure about support for that at moment but saw this issue: anthropics/claude-code#6235

@julien-deramond

Copy link
Copy Markdown
Member

I don't use Claude so not 100% sure about support for that at moment but saw this issue: anthropics/claude-code#6235

Thanks for sharing @coliff. For now, it doesn’t look like there’s first-class support, but the discussion mentions the ability to use symlinks to avoid duplicating content between a CLAUDE.md and an AGENTS.md. It can be limiting for some contributors since certain platforms or tools don’t handle symlinks well, but that’s probably a reasonable temporary solution while Claude catches up with what’s emerging as a cross-tool convention.

In this case, we might need to change the # CLAUDE.md so it's more agnostic.

Apart from that, this first version of the Markdown content looks good to me. We can make some adjustments while using it.

@coliff

coliff commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

I just installed Next.js for the first time today and noticed the create next-app@latest my-app script installs both an AGENTS.md (with all the content) and a CLAUDE.md with just a single line referencing/linking to the AGENTS file: @AGENTS.md. Maybe worth doing that?

REF: https://nextjs.org/docs/app/getting-started/installation#quick-start

mdo added 2 commits June 27, 2026 19:45
Rename the agent guide to AGENTS.md (the emerging cross-tool convention
used by Copilot, Cursor, Codex, etc.) and leave CLAUDE.md as a one-line
`@AGENTS.md` pointer so Claude Code keeps working without duplicating
content. Heading made tool-agnostic.
@mdo mdo merged commit edad21d into v6-dev Jun 28, 2026
13 checks passed
@mdo mdo deleted the v6-claude branch June 28, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

3 participants