Here is an example session of how to better "talk to" the AI so it understands what you're doing.
https://skylarbpayne.com/posts/cursed-cursor
Having it analyze a similar app and start with the manifest, then have a template process to follow will get it closer to what you want. It's all about clearer communication on your part.