CLAUDE.md
integrations/claude-code/CLAUDE.mdCLAUDE.md
Quality
62/100
Scores the file, not the repository.Length
382 words
5 headings · 3 code blocksRepository
205
— · pushed 44 days agoLast changed
3 days ago
First indexed 3 days ago.1## AIGX — AI Genome Exchange23This repository stores its AI agent rules in `.aigx/` — a structured genome with a per-file boundary index. You do not need to guess conventions; they are in the genome.45### Before editing any file — look it up67Open `.aigx/files.aigx` and find the `<file path="...">` entry for the file you are about to edit:89```xml10<file path="src/features/auth/login.ts" domain="auth">11 <role>Handle login — validate credentials and issue a session</role>12 <forbid pri="CRIT">NEVER read from another tenant's session store</forbid>13 <gotcha>token expiry is checked at read-time, not issue-time</gotcha>14 <check>ARCH-no-deep-imports ENG-tenant-scope</check>15</file>16```1718- **`<role>`** — understand what this file is for before writing a line19- **`<forbid pri="CRIT">`** — hard constraint, never violate it, no exceptions20- **`<gotcha>`** — the single worst pitfall for this file; read it twice21- **`<check>`** — space-separated rule ids; look each up in its concern file and verify they hold before finishing2223The concern files are `.aigx/architecture.aigx` (ARCH-* rules), `.aigx/data.aigx` (DATA-*), `.aigx/engineering.aigx` (ENG-*), etc. Read the ones your check ids reference **before** writing code.2425### Genome structure2627```28.aigx/29 protocol.aigx ← full reading sequence30 product.aigx ← product context + freshness clause (which old docs are stale)31 architecture.aigx ← ARCH-* architectural rules32 engineering.aigx ← ENG-* hard-correctness invariants33 files.aigx ← ★ per-file boundary index — look files up here34 agent.aigx ← self-maintenance rules (this section summarises them)35 [concern].aigx ← any other concern files present (data, auth, testing, …)36```3738### Keeping the genome current3940**Rename/move a file** that has a `files.aigx` entry → update `path="..."` in the **same change-set**. A rename without a genome update is an incomplete change.4142**Create a new file** agents will edit → add a `<file>` entry in `files.aigx` with at least `<role>` + one `<check>` id. Never leave a new boundary file without an entry.4344**Rule ids are permanent** — `ARCH-no-deep-imports`, `ENG-2`, etc. Never rename or delete them. Update the text in-place only.4546**Code change makes a rule incorrect** → update the rule text in the same change-set. The genome describes reality, not history.4748**After renames, moves, deletes, or adds:** verify every `<file path>` in `files.aigx` still exists and every `<check>` id resolves to a real rule.4950**Never add entries speculatively.** One rule per real constraint. One entry per file agents actually edit.5152### Validate5354```bash55python tools/aigx-lint/aigx_lint.py --root .56```57
Also in Lolner95/AIGX
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| Lolner95/AIGXintegrations/agents/AGENTS.md · 205 | AGENTS.md | no sections | 45/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| stacklok/toolhiveCLAUDE.md · 2.0k | CLAUDE.md | buildteststylearch+4 | 100/100 | 3 days ago | |
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 3 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 3 days ago | |
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago |
