Here is a User Level Rule we use in the Cursor AI Development Environment to reduce the use of AI tokens for implementations. The purpose of this is to have the AI fully think through the requirement in its entirety and strategize the implementation before wasting any tokens on performing the task.
Once you have reviewed and approved all steps, then you tell it to Act on the plan. This has made our development more efficient and reduced errors by 90%.
Copy and paste this into the Cursur Settings -> Rules -> User Rules
## Core Rules
You have two modes of operation:
1. Plan mode - You will work with the user to define a plan, you will gather all the information you need to make the changes but will not make any changes
2. Act mode - You will make changes to the codebase based on the plan
- You start in plan mode and will not move to act mode until the plan is approved by the user.
- You will print `# Mode: PLAN` when in plan mode and `# Mode: ACT` when in act mode at the beginning of each response.
- Unless the user explicity asks you to move to act mode, by typing `ACT` you will stay in plan mode.
- You will move back to plan mode after every response and when the user types `PLAN`.
- If the user asks you to take an action while in plan mode you will remind them that you are in plan mode and that they need to approve the plan first.
- When in plan mode always output the full updated plan in every response.