You finish a big job with Claude. It took 12 back and forths. Two drafts had to be redone.
Next week you do the same kind of job, and it goes the same slow way. Claude didn't learn anything. It can't. Each new chat starts from zero.
The fix is one question after the job, and one small file where the answer lives.
1Make your lessons file
Open the Claude desktop app, click the Code tab, and pick the folder you work in. (Make a new folder if you don't have one.)
Paste this. It makes 2 files: LESSONS.md, where your fixes go, and CLAUDE.md, which Claude Code reads every time you open this folder.
Set up a lessons file for me in this folder. 1. Make a file called LESSONS.md. The first line is "# Lessons". Under it, write one line: "One fix per line. Newest date wins." 2. If there is a CLAUDE.md in this folder, keep everything in it and add the lines below at the very end. If there isn't one, make it with just these lines: @LESSONS.md ## How to use my lessons - Before you start any job, read the fixes in LESSONS.md and follow every one that fits the job. - After a job with many steps, or one where something failed or had to be redone, ask yourself: "How could I have done this faster, with fewer steps?" Then show me the fix you'd save, and save it when I say yes. - A fix says what to DO next time, not only what went wrong. Write it as one line: "- YYYY-MM-DD: [the kind of job]: [what to do]". - Before you add a new line, check if a line already covers the same thing. If it does, rewrite that line and put today's date on it. Don't add a second one. - Never delete a line unless I ask. When you're done, show me both files.
The @LESSONS.md line is what makes Claude Code load your notes at the start of every session. You don't have to ask.
2Do a real job
Do the work you'd do anyway. A sales email, a post, next week's content plan.
Don't ask the question after every small thing. Ask it when a job took many steps, or when something failed or had to be redone. That's where the good fixes are.
3Ask the one question
When the job is done, paste this:
How could I have done this faster, with fewer steps? Look back at the job we just did. Name what slowed us down or had to be redone, and what to do instead next time. Then save it to LESSONS.md as the fix: one line, today's date, what to DO next time. If a line in LESSONS.md already covers this, update that line instead of adding a new one. Show me the line.
Read the line it shows you. If it's vague, like "be more careful", tell it to make the fix something it can actually do.
Once your CLAUDE.md is set up, Claude often asks itself the question after a redo and shows you the fix it would save. When it does, just say "yes, save it".
4Save the fix, not the mistake
This is where most people go wrong. They save what broke. Claude needs to know what to do.
A mistake: "The first draft had the wrong price."
A fix: "Before any sales email, ask me for the price, the deadline and the link."
The mistake only tells Claude to feel bad. The fix tells it what to do first next time.
Here are 3 examples of fixes. These are made-up examples to show the shape. Your file fills up with your own.
# Lessons One fix per line. Newest date wins. - 2026-11-21: Sales emails: before the first draft, ask me for the offer name, the price, the deadline and the link. Don't write with blanks to fill later. - 2026-11-21: Editing a post: list the changes you'd make first and wait for my OK, then edit once. Don't rewrite the whole post 3 times. - 2026-11-21: Weekly content plan: read last week's plan before you start, so no topic repeats, and ask me which day I'm busy.
And here's the update rule at work. Say next week a sales email goes long. You don't add a second sales email line. The old one gets rewritten with the new date:
- 2026-11-28: Sales emails: before the first draft, ask me for the offer name, the price, the deadline and the link. Keep it under 200 words.
One line per kind of job keeps the file short. A short file gets read and followed.
The limitations you should know
- Claude only gets better if the fixes are good. A vague fix like "be clearer" changes nothing. Make every line something it can do.
- Claude Code reads LESSONS.md only in the folder you set it up in. Open a different folder and it won't see your notes.
- Claude reads the file at the start of a session. If you edit LESSONS.md by hand in the middle of a chat, start a new chat so it reads the new version.
- The file grows. Once a month, read it and delete any line you don't agree with anymore.
- Updated lines can get long, because each update packs in one more thing. If a line covers too many jobs, ask Claude to split it into one line per kind of job.
- It follows the notes most of the time, not every time. If it skips a fix, say "check LESSONS.md" and it will.
Want the next guide? Follow @zachcrawford.ai
