Agent rules
We’ve prepared a set of agent rules to help your agents generate better code.
Place these files in your project directory under .cursor/rules. If you you are using a different IDE, take a look at the following instructions.
How to configure agent rules on the main IDE’s:
If you are working as a team, consider using the Cursor standard and configure your specific IDE accordingly. For example, for OpenCode you can configure your opencode.json like this:
{
"$schema": "https://opencode.ai/config.json",
"instructions": [".cursor/rules/*.md"]
}