@rjs
I don't do it all the time because it can get messy.
Basically, state the goal e.g. I want to build a frame that does X and ask it to produce a checklist of stuff. Then refine the checklist together. You can optionally prioritise here by stating your constraints e.g. I only have 2 days or 50 hours.
Then you start with the top item and ask it for a plan again. Sometimes have to tell it not to do any code until you ask. Tell it to tick off tasks as you go along.
After a while, you will find things become a mess and it starts messing up the list, so I tend to start a new chat & copy and paste the list there.
I would love an AI assistant UX that understands tangents and doesn't produce a mess after a lot of back 'n forth