Where exactly does the .cursorrules file go?
It goes in the root directory of your project — the same level as your package.json or equivalent configuration file. Cursor automatically detects and reads it when you open that folder as your workspace. The filename must be exactly '.cursorrules' with no extension and a leading dot.