93 code changes in 5 days, with tools I had never touched

This week I wanted a tool that turns long videos into short ones: pull the transcripts, pick the parts worth keeping, record a voiceover, put it together. I built it with AI writing most of the code.
And here is the thing. I had never written code that edits video. I had never used a text-to-speech service. I had barely touched a headless browser.
5 days later the video tool worked! 93 commits. 49 of them landed on the Friday alone, more than all the other days put together.

Fast, yes. But how much of that code could I have explained? Not all of it. Speed has a trap: you end up owning code you do not understand. So that week I made up one small test. Keep the speed, and still own the code.
The redraw test
Before I accept a piece of code, I close it. Then I ask myself one question: could I draw its shape from memory tomorrow morning?
Not the syntax. The shape. What calls what. Where the data lives. What happens when it fails.
If I can, it goes in. If I cannot, I do not read it harder. I ask the AI for it again, smaller: two or three pieces, each with a clear name, and I test each piece. 15 seconds a piece. That is why I actually do it.
So what does it mean when I cannot draw a piece? This was the surprise. The test judges the code, not my memory. A piece I cannot draw is a piece doing three jobs at once. Asking for it smaller does not just help me understand it. It fixes the real problem in the code.
If I cannot draw it from memory tomorrow, it does not go in.
Decide what the test proves
What is the most dangerous code an AI can write for you? Not bad code. Bad code is easy to spot. It crashes.
The dangerous code runs. It handles the normal case, and it looks finished. Twice that week, an automatic test said all was fine. But it was checking the wrong thing! In both cases I had asked the AI for "a test" and let it decide what to prove.
Whose mistake was that? Mine.
I added a second habit. Before anything is generated, I write in one plain sentence what the test must prove. Like this one:
Given a transcript with no punctuation,
the tool still cuts it into at least one part.
Now the AI has a target, not a vibe. And I know what "it works" means before anyone says it.
Three questions that catch the rest
What happens the second time this runs? Most code the AI writes assumes it runs once, on a clean start. Run it a second time, and boom: there are the duplicates and the broken files.
Where does this fail loudly? If I cannot point to the line that stops the program on bad input, there is no such line. The program will fail quietly. And nobody will notice.
What did you choose, and what else was there? Ask the AI this directly and you get an honest answer. And half the time, the other option was better!
What the week taught me
So what does all this speed really cost? I thought the price was quality. Wrong.
The real price is attention. When a person writes code, every line passes through their head once, slowly. When AI writes it, the lines arrive faster than any head can follow. Nothing forces you to look. So you have to choose to look, on purpose, every time.
The redraw test is a small promise to my future self. When something breaks in the middle of the night, I will know where to look. I drew the map before I said yes.
I learned a whole new kind of code in 5 days. Not because I read every line. Because I never let in a piece I could not explain. The AI gave me the speed. The test let me keep it.
Things I did not expect
Did the test slow me down? I expected it to. It did the opposite! Small pieces with clear names were faster to ask for, faster to check and faster to fix. By the Friday, the day of the 49 commits, the test had become a rhythm, not a brake.
Would the AI defend its first choice? Not at all. Ask what else it could have done and it tells you, plainly. It had simply picked one and moved on, like a very fast colleague who never mentions the second idea unless you ask.
And I did not expect such a tiny habit to stop more bad code than any review process I have been part of. 15 seconds, one question, no meeting. How long did your last code review take?
Close the file. Draw the map. If you can, ship it.
I post one of these every week. Follow along on LinkedIn or YouTube, or by RSS. Want this on your team? Work with me.
The 527 rules I give my AI agents, free
Every one comes from a real mistake. The best 100 are open on /rules, or download them as AGENTS.md, no email. All 527 come by email, as one file you can drop straight into your repo as AGENTS.md or CLAUDE.md, so your agents follow them from the next session. Plus the occasional email when I learn a new one.
One click to unsubscribe.