A practical guide to CLAUDE.md in Claude Code: hierarchy, loading, best practices

4310sy · x · 2026-08-15

A Japanese developer published a systematic reference on Qiita for writing CLAUDE.md, Claude Code's instruction/memory file, clarifying features many use only by intuition.

File hierarchy and loading

Advanced usage

Best practices: keep it under 200 lines; write commands, conventions, quirks and decisions rather than what code already reveals; be specific ("2-space indent" not "format properly"); use headings and lists; emphasize with keywords like IMPORTANT.

Original post →

More from coding & agent

coding & agent channel →