I want Cursor to perform tasks with the best quality and in an automatic mode. But how can this be achieved?
The main steps that allow you to create the best file include the following steps:
It is necessary to understand the task
It is necessary to read the structure of files and folders
It is necessary to include a point on searching for the necessary information for the edited/created file
It is necessary to include a point for reflection
It is necessary to create a task for changing the file
and so on - for all files.
As a result, for Cursor AI, it is necessary to create a rule that will indicate that the YOLO mode should be enabled with the execution of items 3-5 for each file.
This will be relevant for ordinary text files.
For program files, it is necessary to additionally include points of static analysis, compilation, and creation of unit and other tests.
Further, instructions are written with an option for such settings.
——————————–
Place the settings.json file in the folder: C:\Users\<USER NAME>\AppData\Roaming\Cursor\User
All other files must be placed in the project folder.
For the AI rules to work correctly in every Cursor AI chat, you must select:
The Web tool
Rules → web_search_rules_eng.mdc
Rules → yolo_mode_eng.mdc
Rules:
Sequential numbering must not be used — this appears to be a feature limitation. Use unordered lists only.
Provide explicit instructions about which ToDo list items we want to see.
Specify all file operation nuances explicitly.
Clearly indicate the position where new commands should be inserted in the ToDo list.
Model - gemini-2.5-flash
Download:
P.S. @condor - I am sure that such interesting user rules, which significantly improve working on tasks, would be useful to add to Cursor AI.
@condor You wrote everything correctly, but practice shows that this doesn’t work as needed, even with the most powerful models like Claude Sonnet 4 and Gemini 2.5 PRO. And if we take a simple model like Gemini 2.5 Flash, it works like a small child and without clear instructions, it’s unrealistic to expect good work from it. I wrote my instructions specifically for Gemini 2.5 Flash and tested them on it. With more powerful models, everything should work even better. Without the todo_write tool, the quality of work also decreases significantly.
Also, the lack of full context size without using MAX mode greatly hinders quality work. In this case, my recommendations also help a lot.