Skip to content

chore: drop redundant CLAUDE.md, keep AGENTS.md only - #45

Open
Patel230 wants to merge 1 commit into
mainfrom
chore/agents-md-only
Open

Patel230 wants to merge 1 commit into
mainfrom
chore/agents-md-only

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

What

CLAUDE.md in this repo contained nothing but the generated <!-- gitnexus --> block — and that block is already present verbatim in AGENTS.md (identical bytes, heading demoted ###). There was nothing unique to merge.

Tools that read both files prefer CLAUDE.md, so the stub was shadowing this repo's actual conventions (build commands, branch policy, ecosystem boundaries) that live only in AGENTS.md.

Changes

  • Delete CLAUDE.md
  • Gitignore /CLAUDE.md so a future gitnexus analyze cannot reintroduce it

Why the gitignore

gitnexus analyze generates both context files and exposes no flag to suppress one (--force, --embeddings, --drop-embeddings, --pdg). Without the ignore rule the stub returns on the next index and silently shadows AGENTS.md again.

Verification

Created a CLAUDE.md, confirmed git check-ignore matches it and git status stays clean.

🤖 Generated with Claude Code

Also documents the post-analyze cleanup step in the gitnexus-cli skill, which is the path agents use to run analyze.

CLAUDE.md contained nothing but the generated <!-- gitnexus --> block,
which is already present verbatim in AGENTS.md. Tools that read both
prefer CLAUDE.md, so the stub was shadowing this repo's actual
conventions.

Remove it and gitignore the root path so a future `gitnexus analyze`
cannot reintroduce it.

Also document the post-analyze cleanup step in the gitnexus-cli skill,
since analyze writes both files and has no flag to suppress one.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@Patel230
Patel230 force-pushed the chore/agents-md-only branch from b1b1a95 to bf44f50 Compare September 18, 2026 21:23
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