Rules for AI
You can add custom instructions to Cursor by modifying the AI Rules section under Cursor Settings > General.
These custom instructions will be included in features like Cursor Chat and Ctrl/⌘ K.

.cursorrules
For project-specific instructions, you can include them in a .cursorrules file in your project's root directory.
Like the "AI Rules" section, instructions in the .cursorrules file will be included in features like Cursor Chat and Ctrl/⌘ K.
.cursorrules