CLAUDE.md
CLAUDE.mdCLAUDE.mdroot
Quality
88/100
Scores the file, not the repository.Length
464 words
10 headings · 1 code blocksRepository
41k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# CLAUDE.md23Tutorial repo. Output is markdown in numbered modules `01-` through `10-`, not an app. Scripts in `scripts/` exist only to validate docs and build the EPUB.45See also `.claude/CLAUDE.md` for stack/commands and `STYLE_GUIDE.md` for lesson structure.67## Critical commands89```bash10# Quality gate (also runs on commit via pre-commit hooks)11pre-commit run --all-files1213# Tests14pytest scripts/tests/ -v1516# EPUB build (calls Kroki.io API to render Mermaid — needs network)17uv run scripts/build_epub.py1819# Python tooling20ruff check scripts/ && ruff format scripts/21mypy scripts/ --ignore-missing-imports22bandit -c scripts/pyproject.toml -r scripts/ --exclude scripts/tests/23```2425Pre-commit runs 5 checks: markdown-lint, cross-references, mermaid-syntax, link-check, build-epub (on `.md` changes). All must pass.2627## Architecture map2829- `01-` … `10-` — tutorial modules. **Numbered prefix = learning order**, not alphabetical. Do not reorganize.30- Each module: `README.md` + copy-paste templates (`.md`, `.json`, `.sh`).31- `scripts/` — utilities (EPUB builder, link/mermaid/cross-ref validators). Not the product.32- `02-memory/*.md` — CLAUDE.md templates users copy into their own projects. Don't confuse with this file.33- `openspec/` — spec-driven change proposals.3435## Hard rules3637- **YOU MUST NOT commit or push without explicit user request.**38- **YOU MUST NOT add `Co-Authored-By: Claude`** to any commit message.39- Always activate `.venv` before running Python scripts (check `venv/`, `.venv/`, `env/`).40- Internal links use **relative paths** (e.g. `01-slash-commands/README.md`); anchors use `#heading-name`.41- Code fences **must** declare a language (`bash`, `python`, `json`, …) — the cross-reference check fails otherwise.42- External URLs must be reachable and stable. No ephemeral links.43- Mermaid diagrams must parse (validated pre-commit). Broken EPUB build is usually invalid Mermaid or no network to Kroki.44- Commit format: `type(scope): subject` where `scope` matches the module folder (e.g. `feat(slash-commands):`, `docs(memory):`, `fix(README):`).45- Do not reorganize the `01-`–`10-` numbering. The order is the curriculum.4647## Workflow preferences4849- For lesson edits, follow `STYLE_GUIDE.md` for structure/naming/diagrams.50- Small fixes → minimal diff. Don't rewrite a section to fix a typo.51- When adding a module page: README + templates first, then update root `README.md` index and `LEARNING-ROADMAP.md` if order/timing changes.52- Tutorial > library: prioritize clear explanations and copy-paste examples over reusable abstractions.53- If a quality check fails, fix the underlying issue. Don't bypass with `--no-verify`.5455## Token Efficiency56- Never re-read files you just wrote or edited. You know the contents.57- Never re-run commands to "verify" unless the outcome was uncertain.58- Don't echo back large blocks of code or file contents unless asked.59- Batch related edits into single operations. Don't make 5 edits when 1 handles it.60- Skip confirmations like "I'll continue..." Just do it.61- If a task needs 1 tool call, don't use 3. Plan before acting.62- Do not summarize what you just did unless the result is ambiguous or you need additional input.63
Also in luongnv89/claude-howto
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 |
|---|---|---|---|---|---|
| luongnv89/claude-howtoja/CLAUDE.md · 41k | CLAUDE.md | setuptestlint-formatgit+2 | 90/100 | 3 days ago | |
| luongnv89/claude-howtouk/CLAUDE.md · 41k | CLAUDE.md | setuptestlint-formattypes+6 | 90/100 | 3 days ago | |
| luongnv89/claude-howtovi/CLAUDE.md · 41k | CLAUDE.md | setupbuildtestlint-format+8 | 97/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 |
