Skip to content

feat(claude): add AGENTS.md shim rule and repo-root CLAUDE.md#64

Merged
ChipWolf merged 1 commit into
mainfrom
wolf/tender-fermat-48e683
May 11, 2026
Merged

feat(claude): add AGENTS.md shim rule and repo-root CLAUDE.md#64
ChipWolf merged 1 commit into
mainfrom
wolf/tender-fermat-48e683

Conversation

@ChipWolf
Copy link
Copy Markdown
Owner

@ChipWolf ChipWolf commented May 11, 2026

Summary

  • Adds ~/.claude/rules/agents-shim.md: a path-conditional rule that fires when CLAUDE.md is in context, telling Claude to put instructions in AGENTS.md instead and keep CLAUDE.md as a one-line @AGENTS.md shim.
  • Adds a repo-root CLAUDE.md containing @AGENTS.md so Claude Code picks up the project's AGENTS.md.

Test plan

  • chezmoi apply deploys ~/.claude/rules/agents-shim.md
  • New Claude Code session in a project with AGENTS.md + CLAUDE.md shows the rule when CLAUDE.md is read

🤖 Generated with Claude Code


View in Codesmith
Need help on this PR? Tag @codesmith with what you need.

  • Let Codesmith autofix CI failures and bot reviews

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>
@ChipWolf ChipWolf merged commit c493214 into main May 11, 2026
17 of 18 checks passed
@ChipWolf ChipWolf deleted the wolf/tender-fermat-48e683 branch May 11, 2026 18:23
@github-actions github-actions Bot mentioned this pull request May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant