To ensure max utilization of my attention, I do the following steps when working on new features:
- Straight brain dump for ideas. I don't spend time organizing thoughts. Sometimes I don't even write prompts with right English syntax. But AI will understand most of them.
- Ask AI to grill me on the missing details in the design. Usually it's the most painful step.
- AI writes design doc. I skim through it. Give some feedback.
- Let AI implement the feature. Recent AI models can usually complete the full feature without my intervention, as long as the design doc is solid.
- If I feel there are unclear part in the implementation, I ask AI to write explainer doc.
The things many people probably don't do is:
- The reverse grilling. Our description on the thing we want is often incomplete. If we don't make AI to ask enough clarification questions, there will be misalignment.
- Now I ask AI to write all docs in html. It takes more tokens and time to finish, but much easier to read and understand, because of the richer layout and sometimes the interactivity of html/js.
I used claude artifacts to give feedback about the html design doc directly to the agent, and later on, developed my own tool (
https://github.com/hyperlogue/r3) to do the same thing but for all kinds of agents.