feat: split CLAUDE.md to adopt the AGENTS.md standard#129
Draft
ryzizub wants to merge 1 commit into
Draft
Conversation
Move platform-agnostic contributor conventions to a new root AGENTS.md so tier-2 harnesses (Codex, Gemini CLI, OpenCode) read them directly. CLAUDE.md becomes an @AGENTS.md import followed only by the Claude-Code-specific Hooks section, so Claude Code receives the same guidance with nothing duplicated. Repository-structure cross-references in CONTRIBUTING.md and in the moved sections now point to AGENTS.md. MD041 is already disabled repo-wide, so no per-file markdownlint directive was needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
ryzizub
marked this pull request as ready for review
July 24, 2026 15:33
ryzizub
marked this pull request as draft
July 24, 2026 15:36
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Split the root
CLAUDE.mdto adopt the AGENTS.md open standard.Platform-agnostic contributor conventions now live in a new root
AGENTS.mdthat other harnesses (Codex, Gemini CLI, OpenCode) read directly.CLAUDE.mdbecomes a single@AGENTS.mdimport followed only by the Claude-Code-specific## Hookssection, so Claude Code receives the same guidance with nothing duplicated.Why: Claude Code does not read
AGENTS.mdnatively, butCLAUDE.mdsupports@pathimports. This keeps a single source of truth with zero drift and no symlink (so no Windows admin requirement). Only the Hooks section describes Claude-Code-specific mechanics, so it stays inCLAUDE.md; everything else moved intact.Changes:
AGENTS.mdwith the portable sections: Project Overview, Repository Structure, Skill File Format, Writing Conventions, Adding a New Skill, Adding a New Agent, Maintaining Existing Skills/Hooks/MCP Tools, and Commits.CLAUDE.mdto the@AGENTS.mdimport plus the Claude-Code-specific## Hookssection.CLAUDE.md" cross-references toAGENTS.md(two insideAGENTS.md, one inCONTRIBUTING.md), since that block moved. The Hooks cross-reference still points toCLAUDE.md.## Project Overviewwording so the portable file no longer frames the repo as Claude-Code-only.No per-file
markdownlint-disable-file MD041directive is needed:MD041is already disabled repo-wide inconfig/custom.markdownlint.jsonc.markdownlint-cli2andcspellboth pass on the changed files with the repo configs.Type of Change
feat)fix)refactor)docs)ci)chore)🤖 Generated with Claude Code