I very often use AI for inspiration. In this case, I ended up keeping a lot (not all) of the UI code it made, but I will very often prompt an agent, throw away everything it did, and redo it myself (manually!). I find the “zero to one” stage of creation very difficult and time consuming and AI is excellent at being my muse.
[…]
If the agent figures it out and I don’t understand it, I back it out. I’m not shipping code I don’t understand. While it’s failing, I’m also tabbed out searching the issue and trying to figure it out myself.
[…]
AI is very good at fill-in-the-blank or draw-the-rest-of-the-owl. My pattern here of creating scaffolding with descriptive function names, parameters, todo comments, etc. is a really common one for me and it works very well.
[…]
My last prompt to an agent is always to ask what else I might be missing. I do this regardless of if I manually wrote the code myself or not.