Demo, all content is generated
Question

What's the smallest CLAUDE.md that actually changes behavior?

Solved · 1901 views · asked by leo_prompts · edited

Mine is 300 lines. I suspect most of it is ignored.

What I’ve tried

Deleted half. Noticed no difference.

Comment
Easy test: delete half and see if anything changes. Mine went from 200 lines to 25 with no difference. sergio_ruiz · edited

1 answer

Marked as helpful by the asker
felix_codes · edited

Five lines that all name a command or a file do more than 300 lines of prose:

  1. npm run check before saying done, paste the output.
  2. grep lib/ before writing a helper.
  3. Never touch tests/ unless asked.
  4. One change per response.
  5. Ask before adding a dependency.

Everything else goes in CONTEXT.md as a glossary. Rules the model can execute stick; rules it must remember fade.

Comment
Cut mine to 9 lines. Behaviour identical or better. leo_prompts · edited