Skip to content

Cursor Rules Setup

Note: Migration to .cursor/rules/ is complete. Rules are edited directly in .cursor/rules/—no sync step is needed.

Current Workflow

  1. Edit files in .cursor/rules/ directly:
  2. general-rule.mdc
  3. database-sync-rule.mdc
  4. performance-rules.mdc

  5. Commit your changes. No sync step required.

Legacy / Dead Code

The following scripts targeted the deprecated cursor_project_rules.md.cursorrules flow. That flow is obsolete—cursor_project_rules.md does not exist—and the scripts themselves have since been removed from the repo:

  • scripts/development/sync-cursor-rules.py
  • scripts/development/sync-cursor-rules.ps1
  • scripts/development/pre-commit-sync-cursor-rules.ps1
  • scripts/development/setup-cursor-rules-hook.ps1

Use .cursor/rules/ instead.