chore: symlink CLAUDE.md to AGENTS.md#1050
Conversation
Claude Code follows symlinks when resolving CLAUDE.md, so we can point it directly at AGENTS.md instead of having a separate file that just says "read AGENTS.md". This keeps a single source of truth for agent instructions while maintaining the CLAUDE.md entrypoint that Claude Code looks for automatically. The AGENTS.md file is kept as the canonical source in case other AI coding tools adopt that convention independently. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughA new top-level documentation file Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thank you so much @zrosenbauer |
Summary
CLAUDE.mdfile with a symlink pointing toAGENTS.mdCLAUDE.mdjust contained a one-liner telling Claude to readAGENTS.md— this removes that indirectionCLAUDE.mdand.claude/rules/, so the symlink is treated identically to a regular fileAGENTS.mdremains the canonical source of truth for agent instructions, keeping the door open for other AI coding tools that may adoptAGENTS.mdas their conventionTest plan
AGENTS.mdvia the symlinkAGENTS.mdcontent appears in Claude Code's project instructions🤖 Generated with Claude Code
Summary by cubic
Replaced CLAUDE.md with a symlink to AGENTS.md so Claude Code reads the canonical agent instructions directly. This removes the extra indirection and keeps AGENTS.md as the single source of truth while preserving the CLAUDE.md entrypoint.
Written for commit adcfdfd. Summary will update on new commits.
Summary by CodeRabbit