agentleFS
luongnv89luongnv89/claude-howto/CLAUDE.md

claude-howto

CLAUDE.md42k starsChanged 2 months agoMITView on GitHub

Tutorial 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. See also .claude/CLAUDE.md for stack/commands and STYLE_GUIDE.md for lesson structure. Pre-commit runs 5 doc checks on .md changes: markdown-lint, cross-references, mermaid-syntax, link-check, markdown-rendering. All must pass. The EPUB build is not a pre-commit hook — it runs in CI only (build-epub job in .github/workflows/test.yml), because it needs a local mmdc binary that has no…

Trending

More talk lately.about the whole repository

Dec 2025: 3 mentionsJan 2026: 0 mentionsFeb 2026: 1 mentionMar 2026: 3 mentionsApr 2026: 7 mentionsMay 2026: 1 mentionJun 2026: 3 mentionsJul 2026: 1 mentionAug 2026: 1 mentionSep 2026: 2 mentionsOct 2026: 11 mentionsNov 2026: 1 mention
Dec 2025Jun 2026Nov 2026
Mentions a month of the luongnv89/claude-howto repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about luongnv89/claude-howto

The biggest 5 of 34 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 34

Talked about on GitHub, Bluesky and Hacker News (34 times).

On GitHub · 22

17 more on GitHub

On Bluesky · 10

5 more on Bluesky

On Hacker News · 2

The file

We split this CLAUDE.md into the rules it gives an agent

10 rules. About 0 are common, 5 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always activate .venv before running Python scripts (check venv/, .venv/, env/).

    line 39
  2. Very specific:

    Commit format: type(scope): subject where scope matches the module folder (e.g.

    line 44
  3. Very specific:

    Do not reorganize the 01-–10- numbering.

    line 45
  4. Very specific:

    When adding a module page: README + templates first, then update root README.md index and LEARNING-ROADMAP.md if order/timing changes.

    line 51
  5. Very specific:

    If a quality check fails, fix the underlying issue.

    line 53
  6. Distinctive:

    Never re-read files you just wrote or edited.

    line 56
  7. Distinctive:

    Never re-run commands to "verify" unless the outcome was uncertain.

    line 57
  8. Distinctive:

    Don't echo back large blocks of code or file contents unless asked.

    line 58
  9. Distinctive:

    If a task needs 1 tool call, don't use 3.

    line 61
  10. Distinctive:

    Do not summarize what you just did unless the result is ambiguous or you need additional input.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Tutorial 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.

See also .claude/CLAUDE.md for stack/commands and STYLE_GUIDE.md for lesson structure.

Critical commands

# Quality gate (also runs on commit via pre-commit hooks)
pre-commit run --all-files

# Tests
pytest scripts/tests/ -v

# EPUB build (renders Mermaid with the local mmdc CLI — no network, needs mmdc on PATH)
uv run scripts/build_epub.py

# Python tooling
ruff check scripts/ && ruff format scripts/
mypy scripts/ --ignore-missing-imports
bandit -c scripts/pyproject.toml -r scripts/ --exclude scripts/tests/

Pre-commit runs 5 doc checks on .md changes: markdown-lint, cross-references, mermaid-syntax, link-check, markdown-rendering. All must pass. The EPUB build is not a pre-commit hook — it runs in CI only (build-epub job in .github/workflows/test.yml), because it needs a local mmdc binary that has no working arm64 build.

Architecture map

  • 01- … 10- — tutorial modules. Numbered prefix = learning order, not alphabetical. Do not reorganize.
  • Each module: README.md + copy-paste templates (.md, .json, .sh).
  • scripts/ — utilities (EPUB builder, link/mermaid/cross-ref validators). Not the product.
  • 02-memory/*.md — CLAUDE.md templates users copy into their own projects. Don't confuse with this file.
  • openspec/ — spec-driven change proposals.

Hard rules

  • YOU MUST NOT commit or push without explicit user request.
  • YOU MUST NOT add Co-Authored-By: Claude to any commit message.
  • Always activate .venv before running Python scripts (check venv/, .venv/, env/).
  • Internal links use relative paths (e.g. 01-slash-commands/README.md); anchors use #heading-name.
  • Code fences must declare a language (bash, python, json, …) — the cross-reference check fails otherwise.
  • External URLs must be reachable and stable. No ephemeral links.
  • Mermaid diagrams must parse (validated pre-commit, and only when mmdc is installed — the check skips with a warning otherwise). A broken EPUB build is usually invalid Mermaid or a missing/failing mmdc.
  • Commit format: type(scope): subject where scope matches the module folder (e.g. feat(slash-commands):, docs(memory):, fix(README):).
  • Do not reorganize the 01-–10- numbering. The order is the curriculum.

Workflow preferences

  • For lesson edits, follow STYLE_GUIDE.md for structure/naming/diagrams.
  • Small fixes → minimal diff. Don't rewrite a section to fix a typo.
  • When adding a module page: README + templates first, then update root README.md index and LEARNING-ROADMAP.md if order/timing changes.
  • Tutorial > library: prioritize clear explanations and copy-paste examples over reusable abstractions.
  • If a quality check fails, fix the underlying issue. Don't bypass with --no-verify.

Token Efficiency

  • Never re-read files you just wrote or edited. You know the contents.
  • Never re-run commands to "verify" unless the outcome was uncertain.
  • Don't echo back large blocks of code or file contents unless asked.
  • Batch related edits into single operations. Don't make 5 edits when 1 handles it.
  • Skip confirmations like "I'll continue..." Just do it.
  • If a task needs 1 tool call, don't use 3. Plan before acting.
  • Do not summarize what you just did unless the result is ambiguous or you need additional input.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.