5 Rules Every Claude Code User Should Follow

Developer guide

Aman Singh
Aman Singh·
1 min read·
5 Rules Every Claude Code User Should Follow
Image source: media.istockphoto.com
1. Write everything important in CLAUDE.md — This file survives compaction. Any rule, preference, or constraint you care about must live here, not just in your chat messages.

 
2. Run /context regularly — This command shows you what's filling up your context window. Check it before starting long sessions.

3. Exit at 80% full — When you hit 80% context usage, exit the session and restart with claude for complex multi-file work. This single habit prevents the performance degradation that kills productivity on large projects.

4. Use /compact manually before it auto-triggers — Running it yourself lets you control what gets summarised, rather than leaving it to the automatic process.

5. Break big tasks into smaller sessions — Treat the context window as something to be actively protected rather than passively consumed. Plan phases, complete one, start fresh.
Developer Tools
Aman Singh

Written by Aman Singh

Software Developer

Responses (0)

Log in to join the conversation

No responses yet. Be the first to share your thoughts.