Skip to content

Commit c493214

Browse files
ChipWolfclaude
andauthored
feat(claude): add AGENTS.md shim rule and repo-root CLAUDE.md (#64)
Adds a global Claude Code rule (~/.claude/rules/agents-shim.md) that fires when CLAUDE.md is in context, redirecting instructions to AGENTS.md. Also adds a repo-root CLAUDE.md containing @AGENTS.md. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7ead4ad commit c493214

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@AGENTS.md
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
paths:
3+
- "**/CLAUDE.md"
4+
---
5+
6+
Put instructions in `AGENTS.md`, not `CLAUDE.md`.
7+
`CLAUDE.md` should only ever contain `@AGENTS.md`.

0 commit comments

Comments
 (0)