7 hacks
When Claude repeats a project gotcha, end your prompt with an instruction to write a CLAUDE.md rule so it never happens again.
Write the plan in one session, then open a fresh Claude with no context and ask it to review the plan like a staff engineer.
Use /init to generate a starter CLAUDE.md, then delete anything inaccurate or obvious before committing.
Put domain-specific instructions in path-scoped `.claude/rules/` so they load only when Claude touches matching files.
Trim project memory to under ~200 lines so Claude follows critical rules instead of drowning them in noise.
Check in project settings so every teammate gets the same allow/deny rules, hooks, and env defaults without redoing /permissions.
Keep personal shortcuts and machine-specific notes in CLAUDE.local.md (gitignored) instead of polluting the shared CLAUDE.md.