My experience with AI assistance for coding/scripting is that you have to be ridiculously descriptive in one way or another in order to get what you want. Like I've seen people go so far as to write essentially a full project plan with high-level backend designs, wireframes for front-ends, delegation of work between multiple "engineers" and shit like that.
I honestly feel like unless you're not too concerned with the specifics or you like to be a technical project manager for fun, full vibe coding is not the way.
I think it's better to write the basic framework yourself and then use AI to help with particular sections or add tedious stuff like error handling and documentation.
But also don't listen to me too much, I've avoided leaning on LLMs too much for anything technical. I think they're a just tool to be used and not a replacement for knowing how to do stuff yourself.