[PR #8268] docs: document ~/.claude/CLAUDE.md compatibility behavior #12681

Closed
opened 2026-02-16 18:17:34 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8268

State: closed
Merged: Yes


This PR documents Claude Code compatibility features in the Rules documentation.

Changes

  • Update intro to mention CLAUDE.md as alternative to AGENTS.md
  • Update Project section to mention CLAUDE.md support
  • Add "Claude Code Compatibility" section covering:
    • Project-level CLAUDE.md
    • Global ~/.claude/CLAUDE.md
    • Cross-reference to Skills docs for ~/.claude/skills/
  • Document all three OPENCODE_DISABLE_CLAUDE_CODE* environment variables
  • Update Precedence section to list all local file types (AGENTS.md, CLAUDE.md, CONTEXT.md)

Closes #8265

Testing locally

gh repo clone anomalyco/opencode
cd opencode
gh pr checkout 8268
# Review changes in packages/web/src/content/docs/rules.mdx
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8268 **State:** closed **Merged:** Yes --- This PR documents Claude Code compatibility features in the Rules documentation. ## Changes - Update intro to mention `CLAUDE.md` as alternative to `AGENTS.md` - Update Project section to mention `CLAUDE.md` support - Add "Claude Code Compatibility" section covering: - Project-level `CLAUDE.md` - Global `~/.claude/CLAUDE.md` - Cross-reference to Skills docs for `~/.claude/skills/` - Document all three `OPENCODE_DISABLE_CLAUDE_CODE*` environment variables - Update Precedence section to list all local file types (`AGENTS.md`, `CLAUDE.md`, `CONTEXT.md`) Closes #8265 ## Testing locally ```bash gh repo clone anomalyco/opencode cd opencode gh pr checkout 8268 # Review changes in packages/web/src/content/docs/rules.mdx ```
yindo added the pull-request label 2026-02-16 18:17:34 -05:00
yindo closed this issue 2026-02-16 18:17:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12681