How to properly prompt to create a module for PrestaShop

I started using cursor free version to develop a simple module for PrestaShop 8.2.1 and it was a good experience.

Then my free quota finished and since I had a good experience I subscribed for a month.

Then I started a chat to create a simple module but it could not even create an empty module to install. I encountered numerous errors. Even the module page in my PrestaShop was not loading.

I even asked Chat GPT to write a proper prompt for cursor and even that prompt couldn’t help.

Now I want to know where I can start learning how to work with cursor chat feature to create some simple modules for PrestaShop.