Module · Claude Engineer
CLAUDE.md & Memory
The memory file that tells Claude how this project works, and how it is scoped.
TOPIC 01
Project Memory
One file at the root, one at the service, and the rule that keeps them short.
What you'll practice
- Write the Root Memory File — guided · beginner
- Scope the Memory to a Service — practice · intermediate
A command you'll meet
cat CLAUDE.mdThe memory file is read on every single turn - brevity is a feature. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Write the Root Memory File
The memory file is loaded into every session in the repository. Write one with the commands, the layout and the conventions.
Scope the Memory to a Service
A service with its own rules gets its own memory file. Write it so the nested file adds to the root instead of repeating it.
TOPIC 02
Imports & Shared Memory
One set of shared rules, imported wherever they apply.
What you'll practice
- Import Shared Instructions — practice · intermediate
- Keep the Shared Rules Short — challenge · advanced
A command you'll meet
cat ~/.claude/CLAUDE.mdShared instructions stop every repository from reinventing the same rules. Open the task below for the full walkthrough.
Hands-On Tasks in This Topic (2)
Import Shared Instructions
The rules that apply everywhere do not belong in every repository. Write the user level memory file that imports them.
Keep the Shared Rules Short
A shared rules file that grows to fifty lines is a shared rules file nobody reads. Write one that states the few things that really are universal.