Skip to main content

Session & Memory Management

Memory & Project Knowledge

0:00
LearnStep 1/3

The CLAUDE.md File

Long-Term Memory for Your Project

CLAUDE.md is the "long-term memory" for your project. Claude reads this automatically on startup to understand project-specific rules.

What to Include

  • Build commands: npm run dev, npm test
  • Tech stack: React, TypeScript, Tailwind
  • Coding style: Functional components, hooks-based
  • Architecture: Where things live, naming conventions
  • Gotchas: Special patterns, known issues

Example

markdown