I one-shot an app once. Never again.
In March 2025 I wanted a better way to manage my expenses and see where my money went. I picked Python for the backend and React for the frontend, and asked AI to build an app that turned my bank statement PDFs into charts. I didn't write a spec first.
Without a spec, I didn't know what "done" looked like. Every fix turned up another edge case, like a footer line that looked like a transaction or a purchase that wrapped onto two lines. There was always one more. It took a while and got repetitive. It also used a lot of tokens.
I learned I never want to build that way again.
Now I spend a lot more time on the setup, using spec-driven development and test-driven development. I write a spec before any code, and tests before the code that has to pass them. A colleague of mine never stops talking about both, and he's right. By the time I write code, the edge cases are already decided, so building it is a lot smoother.
These days I use Matt Pocock's skills for my own projects, like this site, and GitHub's Spec Kit at work.