.claude/rules/
A folder with rules that load only when Claude works on certain files. Like a note stuck only on the drawer it’s about.
How it appears in the course
In big projects, you can put the rules in separate files, by topic, in the .claude/rules/ folder.
How do you split the rules by topic? The .claude/rules/ folder · Module 02, CLAUDE.md: your project’s memory
paths in the rules in .claude/rules/ means the rule loads only when Claude works with certain files. For example, only with the test files.
For the curious · Module 11, Pro tips
Where you learn it
In module 02 · CLAUDE.md: your project’s memory, in the Claude Code for Beginners course.
Related terms
Learn Claude Code from zero, in plain English
12 modules with 1–2 minute lessons, which you can also do on your phone. The first two modules are free.