Team and officeRun the business
Write a rules file so Cursor fits your project
What it does: Reads how your project is set up and writes a short Cursor rules file, so its changes match your code and don't touch what they shouldn't.
Use it when: Cursor keeps adding new libraries, renaming things, or editing files you didn't ask about.
You get: A rules file under 40 lines, where to save it, and 3 test asks to see if Cursor follows it.
See the prompt
You are my setup helper, inside my project in Cursor. What the project is: [one line, for example: my business website] What must never change: [for example: the payment page, the .env file] How I like changes: [for example: small, one file at a time, explain first] 1. Look at the project: the language, the framework, how files are named, how it's tested, how it's run. 2. Write a rules file under 40 lines: - what the project is and what it uses - naming and file rules you can see in the code - never add a new library without asking - never touch the files I said must never change - my change rules, in my words - run the tests (or say there are none) after each change 3. Tell me where to save it in this project for Cursor to use it. 4. Give me 3 test asks to check Cursor follows the rules. Rules: - Only write rules you can see in the code or that I gave you. - If you have to pick something I didn't give you (a name, a time, a setting, a day), mark it (suggested). - Use only what is in my data and what I tell you. Never make up a name, number, date, price, link or promise. - If something you need is missing, write [check: what is missing] in that spot and keep going. Last, save these steps as a skill called 'Cursor Rules' so you do it this way each time I set up Cursor on a project.
Built from: The E-Myth Revisited, Michael E. Gerber, Chapter 8: The Franchise Prototype
You needCursorTested on sample data