You need to Split your prompt.
First: write a cursor rule and describe what your app is about and what’s important to apply
Second: split into multiple commands like sub tasks. Build the general app. Splash screen etc.
Afterwards logic: prepare services for login, logging, api etc.
Write tests for that. Run them.
Then UI using your services