Add CLAUDE.md as minimal pointer to AGENTS.md#98
Merged
Conversation
Co-authored-by: dgenio <12731907+dgenio@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add CLAUDE.md as minimal pointer to AGENTS.md
Add CLAUDE.md as minimal pointer to AGENTS.md
Mar 19, 2026
There was a problem hiding this comment.
Pull request overview
Adds a minimal CLAUDE.md entrypoint so Claude Code picks up repository-specific guidance while keeping AGENTS.md as the canonical source of truth and avoiding duplicated documentation.
Changes:
- Adds root
CLAUDE.mdthat links toAGENTS.mdas the primary project context. - Includes a short “Quick invariants” list intended to be a curated subset of
AGENTS.md § Core invariants.
You can also share your feedback on Copilot code review. Take the survey.
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.
Claude Code reads
CLAUDE.mdat the repo root as its primary project context file. Without one, Claude-based agents get no project-specific guidance. DuplicatingAGENTS.mdcontent would create drift risk.Changes
CLAUDE.md(new, repo root, 14 lines): minimal entry point that redirects toAGENTS.mdand lists 5 quick invariants as a curated subset of the 12 inAGENTS.md § Core invariantsCorrections from proposed content
§ Top invariants→§ Core invariants(matches actual heading inAGENTS.md)mypyto the validation command list —AGENTS.md § 7specifies 4 commands (ruff check,ruff format --check,mypy,pytest); the proposed content omitted itOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.