auto_awesome
Cursor (.cursorrules)
The legacy single-file format Cursor still reads. Plain markdown at the project root. Cursor now prefers the multi-file .cursor/rules/ directory but continues to honor .cursorrules for backwards compatibility.
File path
.cursorrulesLength cap (recommended)
~500 lines
Frontmatter
No
File globs
No
Format quirks
- check_circleCursor reads .cursorrules from the repository root
- check_circleNo frontmatter, no globs — plain markdown only
- check_circleLoaded into every chat and inline-edit request automatically
Browse stack examples
Every stack page in the library has a one-click copy button for Cursor (.cursorrules). Open any of these and pick "Cursor (.cursorrules)" from the format dropdown.
descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription
See all 20 stacksarrow_forwardNext.js (App Router) + TypeScript
Next.js App Router (TypeScript, Server Components)
Next.js + Supabase (Auth, Postgres, RLS)
Next.js + Prisma + Postgres
React 19 + TypeScript (Vite)
React Native + Expo (managed workflow)
Python + FastAPI + SQLAlchemy + Alembic
Python + Django + DRF
Python + pandas + numpy + scikit-learn (Jupyter)
PyTorch + Hugging Face + W&B
Node.js + Express + TypeScript
Turborepo + pnpm + TypeScript
Official docs: https://docs.cursor.com/context/rules