Skip to content

Commit bfeb71a

Browse files
Standardize markdown formatting in CLAUDE.md for tables and lists
1 parent 69feb9f commit bfeb71a

1 file changed

Lines changed: 31 additions & 29 deletions

File tree

CLAUDE.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ The popup deliberately keeps **two separate password values** in state (`randomP
4949

5050
### Pure logic (`src/utils/`)
5151

52-
- `password.ts` — all cryptographic generation, scoring, color interpolation. Pure functions, no DOM or chrome.* dependencies. **This is the security-critical module.** All tests live in `__tests__/password.test.ts`.
53-
- `wordlist.ts` — frozen 2,048-word list (BIP39-style). The exact size is load-bearing for `calculatePassphraseEntropy` (entropy = wordCount * log2(2048) = 11 bits/word).
52+
- `password.ts` — all cryptographic generation, scoring, color interpolation. Pure functions, no DOM or chrome.\* dependencies. **This is the security-critical module.** All tests live in `__tests__/password.test.ts`.
53+
- `wordlist.ts` — frozen 2,048-word list (BIP39-style). The exact size is load-bearing for `calculatePassphraseEntropy` (entropy = wordCount \* log2(2048) = 11 bits/word).
5454
- `defaults.ts``Settings` interface, `DEFAULT_SETTINGS`, and `STORAGE_KEY` constant. The whole settings object is stored under one sync-storage key; do not split across keys.
5555

5656
### Settings persistence
@@ -84,6 +84,7 @@ When touching `password.ts`, run `pnpm test` before considering the change done.
8484
- Svelte 5 runes only (`$state`, `$derived`, `$effect`). Do not introduce stores or Svelte 4 reactive `$:` syntax.
8585

8686
<!-- gitnexus:start -->
87+
8788
# GitNexus — Code Intelligence
8889

8990
This project is indexed by GitNexus as **PasswordGenerator** (82 symbols, 95 relationships, 1 execution flows). Use the GitNexus MCP tools to understand code, assess impact, and navigate safely.
@@ -120,35 +121,36 @@ This project is indexed by GitNexus as **PasswordGenerator** (82 symbols, 95 rel
120121

121122
## Tools Quick Reference
122123

123-
| Tool | When to use | Command |
124-
|------|-------------|---------|
125-
| `query` | Find code by concept | `gitnexus_query({query: "auth validation"})` |
126-
| `context` | 360-degree view of one symbol | `gitnexus_context({name: "validateUser"})` |
127-
| `impact` | Blast radius before editing | `gitnexus_impact({target: "X", direction: "upstream"})` |
128-
| `detect_changes` | Pre-commit scope check | `gitnexus_detect_changes({scope: "staged"})` |
129-
| `rename` | Safe multi-file rename | `gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true})` |
130-
| `cypher` | Custom graph queries | `gitnexus_cypher({query: "MATCH ..."})` |
124+
| Tool | When to use | Command |
125+
| ---------------- | ----------------------------- | ----------------------------------------------------------------------- |
126+
| `query` | Find code by concept | `gitnexus_query({query: "auth validation"})` |
127+
| `context` | 360-degree view of one symbol | `gitnexus_context({name: "validateUser"})` |
128+
| `impact` | Blast radius before editing | `gitnexus_impact({target: "X", direction: "upstream"})` |
129+
| `detect_changes` | Pre-commit scope check | `gitnexus_detect_changes({scope: "staged"})` |
130+
| `rename` | Safe multi-file rename | `gitnexus_rename({symbol_name: "old", new_name: "new", dry_run: true})` |
131+
| `cypher` | Custom graph queries | `gitnexus_cypher({query: "MATCH ..."})` |
131132

132133
## Impact Risk Levels
133134

134-
| Depth | Meaning | Action |
135-
|-------|---------|--------|
136-
| d=1 | WILL BREAK — direct callers/importers | MUST update these |
137-
| d=2 | LIKELY AFFECTED — indirect deps | Should test |
138-
| d=3 | MAY NEED TESTING — transitive | Test if critical path |
135+
| Depth | Meaning | Action |
136+
| ----- | ------------------------------------- | --------------------- |
137+
| d=1 | WILL BREAK — direct callers/importers | MUST update these |
138+
| d=2 | LIKELY AFFECTED — indirect deps | Should test |
139+
| d=3 | MAY NEED TESTING — transitive | Test if critical path |
139140

140141
## Resources
141142

142-
| Resource | Use for |
143-
|----------|---------|
144-
| `gitnexus://repo/PasswordGenerator/context` | Codebase overview, check index freshness |
145-
| `gitnexus://repo/PasswordGenerator/clusters` | All functional areas |
146-
| `gitnexus://repo/PasswordGenerator/processes` | All execution flows |
147-
| `gitnexus://repo/PasswordGenerator/process/{name}` | Step-by-step execution trace |
143+
| Resource | Use for |
144+
| -------------------------------------------------- | ---------------------------------------- |
145+
| `gitnexus://repo/PasswordGenerator/context` | Codebase overview, check index freshness |
146+
| `gitnexus://repo/PasswordGenerator/clusters` | All functional areas |
147+
| `gitnexus://repo/PasswordGenerator/processes` | All execution flows |
148+
| `gitnexus://repo/PasswordGenerator/process/{name}` | Step-by-step execution trace |
148149

149150
## Self-Check Before Finishing
150151

151152
Before completing any code modification task, verify:
153+
152154
1. `gitnexus_impact` was run for all modified symbols
153155
2. No HIGH/CRITICAL risk warnings were ignored
154156
3. `gitnexus_detect_changes()` confirms changes match expected scope
@@ -174,13 +176,13 @@ To check whether embeddings exist, inspect `.gitnexus/meta.json` — the `stats.
174176
175177
## CLI
176178

177-
| Task | Read this skill file |
178-
|------|---------------------|
179-
| Understand architecture / "How does X work?" | `.claude/skills/gitnexus/gitnexus-exploring/SKILL.md` |
180-
| Blast radius / "What breaks if I change X?" | `.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md` |
181-
| Trace bugs / "Why is X failing?" | `.claude/skills/gitnexus/gitnexus-debugging/SKILL.md` |
182-
| Rename / extract / split / refactor | `.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md` |
183-
| Tools, resources, schema reference | `.claude/skills/gitnexus/gitnexus-guide/SKILL.md` |
184-
| Index, status, clean, wiki CLI commands | `.claude/skills/gitnexus/gitnexus-cli/SKILL.md` |
179+
| Task | Read this skill file |
180+
| -------------------------------------------- | ----------------------------------------------------------- |
181+
| Understand architecture / "How does X work?" | `.claude/skills/gitnexus/gitnexus-exploring/SKILL.md` |
182+
| Blast radius / "What breaks if I change X?" | `.claude/skills/gitnexus/gitnexus-impact-analysis/SKILL.md` |
183+
| Trace bugs / "Why is X failing?" | `.claude/skills/gitnexus/gitnexus-debugging/SKILL.md` |
184+
| Rename / extract / split / refactor | `.claude/skills/gitnexus/gitnexus-refactoring/SKILL.md` |
185+
| Tools, resources, schema reference | `.claude/skills/gitnexus/gitnexus-guide/SKILL.md` |
186+
| Index, status, clean, wiki CLI commands | `.claude/skills/gitnexus/gitnexus-cli/SKILL.md` |
185187

186188
<!-- gitnexus:end -->

0 commit comments

Comments
 (0)