← sources

Free trick: put a rules file at the top of your project so your AI stops repeating the same mistakes

source: reddit (reddit:PromptEngineering)published 2026-10-27 13:15ingested 2026-10-28 02:38

retained text

**The problem**  
You explain how you like things done, the AI nails it, then three chats later it forgets everything and does it the old way again.

**The fix that costs nothing**  
Write one short rules doc and paste it at the start of every new chat or project. Mine is about 15 lines.

**What goes in it**

1. How I want answers: short first, details only if I ask.
2. Things to never do: no inventing facts, say "not sure" instead.
3. My context: what I am building, who it is for, what tools I use.
4. A checklist before it answers: did it follow my format, did it ask when something was unclear.

**Why it works**  
The model does not remember you between chats, so the doc does the remembering. If you use Custom GPTs, Claude Projects, or Cursor, there is usually a spot for exactly this kind of instruction file.

**The habit that makes it good**  
Every time the AI makes a mistake twice, add one line to the doc. After a month it is weirdly tailored to how you work.

**Curious**  
What is the one line in your instructions that made the biggest difference?

document fetched 2026-10-28 00:40 · canonical https://reddit.com/r/PromptEngineering/comments/1xgs7y2/free_trick_put_a_rules_file_at_the_top_of_your