Skip to content

chore: rename CLAUDE.md to AGENTS.md#51

Merged
zeitlinger merged 3 commits intomainfrom
agents-md
Feb 23, 2026
Merged

chore: rename CLAUDE.md to AGENTS.md#51
zeitlinger merged 3 commits intomainfrom
agents-md

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

@zeitlinger zeitlinger commented Feb 22, 2026

Summary

  • Move AI coding agent instructions from CLAUDE.md to AGENTS.md, the open standard (Agentic AI Foundation) supported by Cursor, Copilot, Codex, Gemini CLI, and others
  • CLAUDE.md now imports AGENTS.md via @AGENTS.md so Claude Code continues to work

Test plan

  • Open repo in Claude Code and verify instructions are loaded
  • Verify AGENTS.md content matches the original CLAUDE.md

Move AI coding agent instructions to AGENTS.md, the open standard
(Linux Foundation / Agentic AI Foundation) supported by multiple
AI coding tools. CLAUDE.md now imports AGENTS.md via @AGENTS.md.
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Copilot AI review requested due to automatic review settings February 22, 2026 12:27
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR migrates AI coding agent instructions from CLAUDE.md to AGENTS.md to adopt the AGENTS.md convention, which is claimed to be supported by multiple AI coding tools. The original CLAUDE.md is replaced with a single line @AGENTS.md that is intended to import the new file, allowing Claude Code to continue working.

Changes:

  • Renamed CLAUDE.md to AGENTS.md with generalized language (changing "Claude Code" to "AI coding agents")
  • Replaced CLAUDE.md content with @AGENTS.md import syntax

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
CLAUDE.md Replaced entire content with @AGENTS.md import reference
AGENTS.md New file containing the migrated content from CLAUDE.md with generalized agent language

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread AGENTS.md Outdated
@@ -0,0 +1,100 @@
# AGENTS.md

This file provides guidance to AI coding agents when working with code in this repository.
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The PR description claims "Verify AGENTS.md content matches the original CLAUDE.md", but this line differs from the original. The original CLAUDE.md said "This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository." while this line says "AI coding agents". While this change is likely intentional and appropriate for a more generic file, it contradicts the test plan item about verifying content matches.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch. The wording change from 'Claude Code (claude.ai/code)' to 'AI coding agents' is intentional — AGENTS.md is designed as a generic standard for multiple AI coding tools (Cursor, Copilot, etc.), not just Claude Code. I'll update the test plan to clarify that content was adapted for generic use rather than copied verbatim.

Comment thread CLAUDE.md
- Python scripts check for `MISE_PROJECT_ROOT` and exit with clear error if missing
- Use `# shellcheck disable=` with justification when intentionally violating shellcheck rules
- Python scripts use `sys.exit(1)` on errors, print errors to stderr
@AGENTS.md
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The PR description claims AGENTS.md is "the open standard (Linux Foundation / Agentic AI Foundation)" but the linked repository is under the Anthropic GitHub organization, not the Linux Foundation. If this is indeed a Linux Foundation standard, please clarify the connection. If not, the description should be updated to accurately reflect the standard's origin and governance.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

AGENTS.md is indeed stewarded by the Agentic AI Foundation (AAIF), a directed fund under the Linux Foundation co-founded by Anthropic, Block, and OpenAI. The GitHub repo being hosted under the anthropics org doesn't change its governance.

That said, the link was confusing — I've updated the PR description to link to the official AGENTS.md site instead of the GitHub repo.

Comment thread CLAUDE.md
- Python scripts check for `MISE_PROJECT_ROOT` and exit with clear error if missing
- Use `# shellcheck disable=` with justification when intentionally violating shellcheck rules
- Python scripts use `sys.exit(1)` on errors, print errors to stderr
@AGENTS.md
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

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

The @AGENTS.md import syntax needs verification. While the PR description states "CLAUDE.md now imports AGENTS.md via @AGENTS.md so Claude Code continues to work," there is no evidence in the codebase or test plan demonstrating that this syntax is actually supported by Claude Code. Please verify that Claude Code recognizes and properly imports AGENTS.md when CLAUDE.md contains only this reference, or provide documentation supporting this syntax.

Suggested change
@AGENTS.md
# Claude configuration
This project’s Claude/agent configuration is defined in [`AGENTS.md`](AGENTS.md).
Open or reference `AGENTS.md` directly when configuring or using Claude Code.

Copilot uses AI. Check for mistakes.
- Wrap lines to 100 characters
- Add markdownlint-disable for CLAUDE.md import directive
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Replace "repo" with "repository" per textlint terminology rule.
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger
Copy link
Copy Markdown
Member Author

Thanks @Copilot — addressed 1 comment(s). Please have another look!

@zeitlinger zeitlinger merged commit fcf8d8e into main Feb 23, 2026
9 checks passed
@zeitlinger zeitlinger deleted the agents-md branch February 23, 2026 17:24
This was referenced Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants