Repository navigation
docs: add AGENTS.md, read by Claude Code through .claude/CLAUDE.md - #120
Merged
Merged
Conversation
Agents open most of BeautifulRepo's pull requests and had to rediscover the
house rules each time. AGENTS.md states the purpose, the five checks (kept in
step with CI by the check-list consistency test), the rules (English, no
invented facts, stdlib-only tools, Related versus Closes, changelog sections,
private security reports, protected master) and the layout.
Codex reads AGENTS.md directly. A root CLAUDE.md would fail
`claude plugin validate --strict` ("CLAUDE.md at the plugin root is not loaded
as project context", Claude Code 2.1.259), so .claude/CLAUDE.md imports it
instead; that variant validates. CONTRIBUTING links the file.
Closes #53
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 23, 2026
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.
Reader problem and change
Coding agents open most of BeautifulRepo's pull requests, and each one had to rediscover the house rules.
AGENTS.mdis a one-screen contract:Related:versusCloses;master;Codex reads
AGENTS.mditself. For Claude Code, the issue suggested a rootCLAUDE.mdwith@AGENTS.md. That breaks plugin validation, because the repository root is also the plugin root..claude/CLAUDE.mdimports@../AGENTS.mdinstead. CONTRIBUTING links the file.Closes #53
Evidence
Run on a copy of the repository with
claude plugin validate --strict .claude-plugin/plugin.json(Claude Code 2.1.259):AGENTS.mdonlyCLAUDE.md.claude/CLAUDE.mdVerification
tests/test_check_list_consistency.pycovers it:AGENTS.md;CLAUDE.mdexists;.claude/CLAUDE.mdimportsAGENTS.md;🤖 Generated with Claude Code