If your first request sets out what you're building, who it's for, and which tech to use, the AI won't change direction halfway through.
Just replace the parts in parentheses with your own situation. The key is the last line: "Don't write code right away."