Cursor CLIsetupbuilt-in

/rules

Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance.

When to use

  • Setting coding style rules the agent must follow
  • Adding framework-specific conventions
  • Documenting team standards the agent should enforce

More Cursor CLI commands