Giving it some basic info on your project goes a long way in actually getting output you like without needing to @ your entire codebase every few messages just so it understands what you want
Create a file called .cursorrules in the root of your project and it will act as a repo-specific rulebook for Cursor. Things like the naming convention to use when creating new files, to only ever use app router over pages router in a next.js app, etc.
This drove me crazy so I built a tool to generate the content of the file for you. Its free and you don’t need a login
cursorrules.agnt.one