alunduil/zfs-replicate
View on GitHubCLAUDE.md redirects to AGENTS.md for Claude Code sessions
Open
#420 opened on Apr 23, 2026
enhancementgood first issue
Repository metrics
- Stars
- (24 stars)
- PR merge metrics
- (PR metrics pending)
Description
User story
As a Claude Code user, I want CLAUDE.md to load automatically so that my session picks up repo conventions without me pasting them each time.
Why
Claude Code automatically loads CLAUDE.md from the repo root (and from ~/.claude/ for user-level preferences). Pointing it at AGENTS.md keeps a single source of truth while taking advantage of the convention.
Acceptance criteria
-
CLAUDE.mdexists at the repo root. - Its body is a one-line redirect:
See [AGENTS.md](./AGENTS.md) for repo conventions. - Any Claude-Code-specific guidance that does NOT belong in AGENTS.md (e.g., "prefer the Explore subagent for codebase searches", suggested
.claude/settings.jsonpermissions for this repo) is appended after the redirect. - File is covered by Vale in pre-commit (or explicitly excluded if under 5 lines).
Out of scope
- Repo-specific
.claude/settings.json(separate issue). - Content of
AGENTS.md(separate issue).
Notes
- Target release: none — chore
- Depends on
AGENTS.mdlanding first. - Source: modernization assessment §6.1.