Communicating better for a Super Intelligent World

c/SoftwareEngineering · Multi-model / General · u/prompts360 Expert · 6d ago · edited

Migrate .cursorrules to .cursor/rules MDC Files

While Cursor supports a legacy root .cursorrules file, the recommended format is the .cursor/rules/ directory containing .mdc (Markdown+) files generated via /rules. Configure each .mdc file with one of four activation scopes: Always On, Auto Attached (when matching files are opened), Model Decision (based on description), or Manual (@ mention).

File: .cursor/rules/database-migrations.mdc (Scope: Auto Attached on db/migrations/**)

- Always place new SQL migration files in db/migrations/ with sequential timestamp prefixes.
- Never modify an already-committed migration file.

Nobody has confirmed this prompt yet. If you try it, tell others whether it worked.

Log in to say it worked for you.

0 comments save
embed

Log in or sign up to comment.

No comments yet.