The agent waits for your prompt.
No files yet.
Lesson 64: Vague or clear?
Level 8, Meet Your AI Coding Agent. Spot vague prompts, and write clear ones. The new word: vague. It follows lesson 63, The 4-part prompt. Next comes lesson 65, Give it context.
What the lesson explains
Vague or clear?. A vague prompt leaves the agent guessing.
A vague prompt. Make it cooler. Cooler how? The agent has to guess.
What you do first
Which is clearer?. Which prompt is clearer? The answer: "In index.html, make the h1 say Hi, I am Sam.".
The files on the practice computer
This lesson works in one folder. At the start, Documents\my-site holds images\, .gitignore, done.txt, footer.txt, ideas.txt, index.html, keys.env, secrets.txt, style.css, todo.txt.
You change nothing here, so lesson 65 finds the same files.
What you practise
Vague-o-meter, "Which is clearer?": Which prompt is clearer? The answer: "In index.html, make the h1 say Hi, I am Sam.". Then: Which prompt is clearer? The answer: "In style.css, make p text 18px. Change nothing else.". Then: Which prompt is clearer? The answer: "Add a link to my GitHub at the bottom of index.html. Done when I can click it.".
Fix it, "The space game": The pretend agent says: "You said cooler, so I rewrote your whole page as a space game!" It asks to change index.html. The right answer is Deny (That throws away your whole page. Deny it, then write a clearer prompt.).
Challenge, "Write it yourself": Write a clear prompt to make the h1 bigger. One clear prompt: "In my-site, in style.css, make the h1 bigger. Done when the title looks bigger on the page. Change nothing else."
What PlayBuddy and PlayType say
PlayType: "Fix the website is vague. Which page? What is wrong?"
PlayBuddy: "Clear prompts get clear work. Vague prompts get surprises!"
Help in every lesson
Everything happens on a pretend computer in your browser, so nothing touches your real files. PlayBuddy and PlayType stand beside the board, cheer you on and say when it is your turn.
A green ring shows where to click the first time. After that you do it on your own, and if you slip twice the ring comes back.
Stars
The lesson has 5 things to do. Up to one slip in ten gives three stars, up to one in four gives two, and finishing always gives at least one. Stars and progress are saved in this browser only; there is no account.
About DayOneCode
DayOneCode is an independent learning site, not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic.