Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .claude/skills/gitnexus/gitnexus-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,14 @@ node .gitnexus/run.cjs analyze

Run from the project root. This parses all source files, builds the knowledge graph, writes it to `.gitnexus/`, and generates CLAUDE.md / AGENTS.md context files.

> **These repos are AGENTS.md-only.** `analyze` always writes both context files and has no flag to suppress one. A root `CLAUDE.md` takes precedence over `AGENTS.md` in tools that read both, and the generated `CLAUDE.md` carries only the GitNexus block — so it would shadow the repo's actual conventions. Remove it after every `analyze`:
>
> ```bash
> rm -f CLAUDE.md
> ```
>
> It is gitignored, so it will not slip back into a commit.

| Flag | Effect |
| -------------- | ---------------------------------------------------------------- |
| `--force` | Force full re-index even if up to date |
Expand Down
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,8 @@ registry.json
.antigravitycli/
.pi/
.coverage

# Agent instructions: this repo is AGENTS.md-only.
# `gitnexus analyze` regenerates a root CLAUDE.md that would shadow AGENTS.md
# for tools that prefer it; keep the regenerated copy out of git.
/CLAUDE.md
44 changes: 0 additions & 44 deletions CLAUDE.md

This file was deleted.

Loading