How to structure your work for AI-assisted output
After this, you'll be able to set up a Level 3 session with CLAUDE.md, plan mode, and @ context references so the agent stays grounded across multi-file changes.
Before diving in, complete Building an Autocomplete Habit so you have the read-before-accept reflex that agentic sessions depend on.
At Level 2, the model sees a few lines near your cursor. At Level 3, it can see your entire project. Cursor and Claude Code connect chat directly to your codebase, so you ask for a change that touches three files and the agent makes all three edits. The shift is real, and what it changes most is not how you type. It is how you plan.
Every Level 3 session still resets from zero. The model does not remember your conventions, the bug you fixed last week, or the patterns your team agreed on. CLAUDE.md is the file the model reads at the start of every session, and whatever you write there persists. The hard part is keeping it lean.
Two habits separate solid Level 3 work from chaotic Level 3 work. Plan mode means you ask the model to outline its approach before any code is written, then read the plan and catch misunderstandings early. @ context references mean you tell the model exactly which files matter instead of letting it guess. Both habits are about being deliberate with what the agent sees.
The most common Level 3 mistake is overstuffing CLAUDE.md. It is not a wiki. Every line is read at the start of every session. Write commands, not explanations. Keep it under 100 lines and update it when the model makes a mistake, not when you remember to.
Paste this into Claude
I am setting up Level 3 sessions on a real project. Help me write the first CLAUDE.md. Ask me three questions in order, one at a time, and wait for my answer before the next: (1) What are the top three mistakes the model has made in this project that it repeated more than once? (2) What stack, libraries, or versions does this project use that the model might get wrong? (3) What patterns or files do you always want the model to use instead of the default approach? After my answers, write a CLAUDE.md under 30 lines where every line passes this test: would the model do the right thing without this rule? If yes, cut it. If no, keep it. Show me the file as a markdown code block I can paste into my project root.
Check yours against
Use AI to apply this lesson to your current work. Share your situation, ask for one concrete next step, and check the answer against this test: Write a CLAUDE.md under 30 lines where every line traces to a specific session mistake or project constraint, and you can name the behavior change each line produces.
Write a CLAUDE.md under 30 lines where every line traces to a specific session mistake or project constraint, and you can name the behavior change each line produces.
Pulling this out of your own head now is the part that actually moves it into long-term memory. Re-reading only feels like it does.
Without scrolling up, think of one mistake your AI tool made twice in your own project. Write the one rule you'd ask Claude to add to CLAUDE.md (its rules file), and what that rule changes.
One good answer: 'In my booking site, Claude kept renaming the invoice fields I told it to leave alone. Rule: never rename fields in the invoices folder. Now it asks before touching them.' If your rule doesn't trace back to a real mistake, it is a guess, not a rule yet.
Level 3 is about being deliberate with what the agent sees. CLAUDE.md is the rules file, plan mode is the review step, @ references are the spotlight, and every session still resets to zero.