Optimization tips for beginners?

Hello, I started using cursor AI for an automation project for work. This is my fourth day and I’ve made amazing progress until today. It feels like in the first few days cursor remembered the requirements, but now when it comes up with a solution sometimes it will throw out large chunks of code which later causes issues.

I have questions about how to ensure previous conversations are carried over. Is there a limit to the memory it stores as far as previous context?

I am using the default claude-3.5.sonnet, do you think that’s the best for coding, it worked great in the beginning so I stuck with it.

And just general optimizations that you’ve discovered. Any help would be appreciated.