What you’re describing makes sense, but that type of prompting is not what people are hyping
And then you just rm -rf and repeat until something half works.
You don't even have to be as organised as in the example, LLMs are pretty good at making something out of ramblings.