The primary rules are in Cursor Settings (very top right gear) > Rules > User Rules. Anything you put there will be sent with every message you send.
You also have Cursor Rules, which you create. Cursor makes setting it up more manageable in Cursor Settings > Rules > Project Rules.
When you add a rule there, it will create a folder with your project’s root names.
.cursor/rules/
Any new rule file will be put there.
Read up on it here: (Use the AI Search to find answers; it works very well.)
There are plenty of systems here that work very well. Check out RIPPER-5.
I’m in the process of building a bot on Poe.com that will help with this. Once complete, it will have access to my collection of prompt engineering white papers. I’ll share it here once it’s finished.