You have a folder, a README with one sentence, and a CLAUDE.md. Now you build, and the whole technique is rhythm.
Set up the safety net first
Before the first turn, put the project in Git and commit what you have. Do it in the terminal below.
From here on, every turn you are happy with ends in a commit. That is what makes the next turn safe to attempt.
This is not optional here
Everything in this lesson — try things, throw away bad turns, experiment — depends on being able to get back to a known-good state instantly. Without commits, every risky turn is a gamble with the whole project.
Get the ugly version working end to end
The instinct is to build it properly, piece by beautiful piece. Do the opposite. Get something that runs, start to finish, as ugly as it likes.
Make the button take whatever is in the textarea, shuffle the lines, and put them back in the textarea. No styling, no error handling yet.
Now you have a working thing. Everything after this is improvement on something real, and you can run it after every single turn to check you have not broken it.
Quick check
What is the advantage of a working ugly version first?
One turn, one change
Turns that work look like this:
Empty input should show “Add some names first” instead of doing nothing.
Ignore blank lines when shuffling.
Add a Copy button that puts the result on the clipboard.
Turns that do not work look like this:
Add error handling, a copy button, some styling, and make it work on mobile.
Same total work, but the second one fails in four places at once and you cannot tell which change caused what.
After each turn
Three things, and they take a minute:
- Run it. Actually click the button. Not a mental simulation.
- Read the diff. Especially the parts you did not ask about.
- Commit it, with a message that says what changed.
If a turn made things worse, do not patch it. Throw it away — git restore or a checkout of your last commit — and ask again, differently. That is level 2 applied to your own project.
Keep a running list
Keep the next three things in a file, not in your head. When the agent suggests something interesting mid-session, it goes on the list instead of into this turn. The list is also where you look when you sit down tomorrow and cannot remember where you were.
When it starts feeling heavy
Long build sessions drift — the agent forgets a decision you made an hour ago, or suggests something your not-doing list rules out. That is the context lesson from level 1 showing up in real work.
The fix is the same: finish the current turn, commit, clear the session, and start the next piece fresh. Your README and CLAUDE.md carry the state forward, which is exactly why you wrote them.