Day 3, 30 minutes · beginner
Why it matters
Claude Code is good at reading your project. It finds files, follows how they fit together and picks up the style you already use. What it cannot do is read your mind. When a result surprises you, the cause is almost always something Claude could not see: a decision you made, a list in your head, what "done" means to you.
This lesson is about the prompt: the message you type to Claude. A good prompt says what you want, where it goes and how you will check it. You also learn three ways to hand Claude context directly (a file reference with @, a picture and pasted text) and two habits that save rework: let Claude explore before it edits, and ask for a plan before it builds.
At the end Tilda's site has a new section, "Bread of the day", built from a plan you corrected and checked line by line against your own list.
What Claude Code can and cannot see
When you start Claude Code in a folder, it can read the files in that folder, run commands you allow, see your git history and read your project notes (lesson 4). That is a lot. The best practices page is blunt about what it cannot find: anything that was never written down. A decision from a meeting. A process that lives in one person's head. The list of breads Tilda bakes on each day.
Context is the word for everything Claude has in front of it while it works: your messages, the files it read, the results of commands and your project notes. Better context, better result.
A good prompt has three parts
The best practices page suggests naming the place, the symptom or the goal, and what "fixed" or "done" looks like. For a change to a website, that becomes:
- What: the change, with the details only you know. Not "add a specials section" but the actual list.
- Where: the file and the spot on the page.
- How you will check: what Claude should show you when it is done, so you can confirm it.
Add what Claude must not do when it matters, such as "no new files". And when you care which of two reasonable ways it picks, say so: Claude cannot tell from the code which one you prefer.
A vague prompt is fine when you explore. "What would you improve on this page?" is a good question. For a change you want done right the first time, be specific.
Hand over what you have
You do not have to describe a file or a picture in words. Claude Code lets you hand it over:
@and a file name puts that file's content straight into your message. Type@and a list of files appears. It also works for a folder, which shows the list of files in it.- A picture, such as a screenshot of an error or a sketch of a design. You can paste it, drag it in or give its path.
- Pasted text, such as an error message or a note.
Explore first, then plan, then build
A good habit is to let Claude understand the code before it changes anything. Ask it to read and explain, and say "do not change anything". You learn how the page is built, and so does Claude.
For a bigger change, use plan mode. In plan mode Claude reads your files and writes a plan, but does not edit your source files until you approve. You read the plan, correct it with your own words, and only then let it build. A wrong plan costs you one message. A wrong build costs you a review and an undo.
The steps
- Start Claude Code in Manual mode in your practice folder.
- Let Claude explore the page with an
@reference, without changing anything. - Write your three-part prompt for the Bread of the day section, with your own list.
- Ask for a plan first, read it and correct it at least once.
- Approve the plan and approve each edit after reading it.
- Check the result with the check you asked for, and with your own eyes in the browser.
Follow the steps for Claude Code below.
Example: Tilda's specials
Tilda first asked Claude to explain index.html in five lines. It named the header, the intro, the opening hours list and the bread list, and noticed the prices used a full stop. She had wanted a comma (3,50 euros, the Dutch way) but had never said so. She wrote that down for lesson 4.
Her plan request listed the six days and their breads. The plan put the new section at the bottom of the page. She chose to keep planning and replied: "Put it right below the opening hours." The second plan was right. She approved it, read the one edit prompt and said Yes. Claude listed the six lines it added. She compared them with her note: Thursday matched, Friday matched, all six matched.
Common mistakes
- Leaving out the list and hoping Claude guesses it. It will guess, and it will look convincing.
- Approving the first plan without reading it. The plan is the cheapest place to fix a misunderstanding.
- Asking for everything at once. One section per request is easier to check.
- Taking "done" on trust. Ask Claude to show its evidence, such as the lines it changed, and check them yourself.
Deeper dive
Today's actions
Ticks are not saved without an accountDo it in Claude Code
Claude Code
- Start Claude Code in your practice folder in Manual mode again, so you see each edit.
cd marlow-bakehouse claude --permission-mode manual - Type
@and pick index.html from the list with Enter or Tab, or paste the request below. Claude gets the file straight away and explains it. Nothing changes yet.Read @index.html and explain in five short lines how the page is built: the sections, where the opening hours are and how the bread list works. Do not change anything. - Optional: add a picture, such as a photo of a hand-drawn sketch of the new section. Paste it with Ctrl+V (on Windows Alt+V), drag it into the window, or type the path to the image file.
- Ask for a plan first. A prompt that starts with
/planputs Claude Code in plan mode: it reads and proposes, but does not edit your files until you approve./plan Add a section "Bread of the day" to index.html, below the opening hours. What: one line per opening day with one bread, using this list: Tuesday rye, Wednesday spelt, Thursday sourdough, Friday seeded, Saturday brioche, Sunday sourdough. Where: only in index.html, in the same style as the opening hours. How I will check: tell me which lines you added, and the list on the page must match my list exactly. No new files, no libraries. - Read the plan. If something is off, choose No, keep planning and say what to change, for example
Put the section above the bread list instead. - When the plan is right, choose Yes, manually approve edits so you still see each change. Read the edit prompt, then choose Yes.
- Ask for the check you named. Then open index.html in your browser and compare the page with your own list.
Show me the lines you added and list each day with its bread, exactly as it appears on the page.
Note: The plan approval options can read differently on your screen: when auto mode is available, the first option is Yes, and use auto mode. To leave plan mode with no approval prompt open, press Shift+Tab. At the approval prompt, press Esc first, because Shift+Tab there approves the plan.
Paid planNeeds a paid Claude plan (Pro, Max, Ultra, Team or Enterprise) or a Claude Console account. The free Claude plan does not include Claude Code.
Create a free account to save your progress
Free, and no payment details. Your ticks and finished lessons are kept, on every device.
Create a free account I already have an accountCreate a free account to save your progress. Sign in or sign up