Skip to content

Commit 2c78a3b

Browse files
committed
Link .claude/CLAUDE.md to AGENTS.md, narrow .gitignore
Claude Code does not read AGENTS.md by default, so add a trivial .claude/CLAUDE.md symlink pointing back to ../AGENTS.md (mirroring e.g. PebbleOS), leaving room for .agents/skills/ later. Narrow the blanket /.claude/ ignore to just the local scratch paths used by agent tooling (.claude/pr-*, .claude/branch-*, .claude/sandbox/), add AGENTS.local.md next to CLAUDE.local.md, and drop the link to the Claude docs. Co-authored-by: Muse Code (Meta Muse Spark)
1 parent 4a63585 commit 2c78a3b

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

.claude/CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../AGENTS.md

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,12 @@ Python/frozen_modules/MANIFEST
178178
/python
179179
!/Python/
180180

181-
# People's custom https://docs.anthropic.com/en/docs/claude-code/memory configs.
182-
/.claude/
181+
# Local AI agent scratch state (per-PR and per-branch notebooks, sandbox
182+
# experiments) and personal agent overrides, none of which are committed.
183+
/.claude/pr-*
184+
/.claude/branch-*
185+
/.claude/sandbox/
186+
AGENTS.local.md
183187
CLAUDE.local.md
184188

185189
#### main branch only stuff below this line, things to backport go above. ####

0 commit comments

Comments
 (0)