6/ For a big or messy codebase, do not pile it all into one file. Use path-scoped rules in a .claude/rules/ folder. They load only when Claude touches the matching part of your code, so your context stays clean instead of carrying everything at once.
Organize large codebases with path-scoped rules in .claude/rules/
By
–