A faithful clone of the interactive file explorer from the Claude Code docs. Click any file or folder on the left to see what it does, when it loads into context, and an example. Switch between project (your repo) and global (your home directory).
Project-specific instructions that shape how Claude works in this repository. Put your conventions, common commands, and architectural context here so Claude operates with the same assumptions your team does.
Tips
●Target under 200 lines. Longer files still load in full but may reduce adherence
●CLAUDE.md loads into every session. If something only matters for specific tasks, move it to a skill or a path-scoped rule so it loads only when needed
●List the commands you run most, like build, test, and format, so Claude knows them without you spelling them out each time
●Run /memory to open and edit CLAUDE.md from within a session
●Also works at .claude/CLAUDE.md if you prefer to keep the project root clean
This example is for a TypeScript and React project. It lists the build and test commands, the framework conventions Claude should follow, and project-specific rules like export style and file layout.
CLAUDE.md
# Project conventions
## Commands
- Build: `npm run build`
- Test: `npm test`
- Lint: `npm run lint`
## Stack
- TypeScript with strict mode
- React 19, functional components only
## Rules
- Named exports, never default exports
- Tests live next to source: `foo.ts` -> `foo.test.ts`
- All API routes return `{ data, error }` shape