News for hackers. Stuff that matters.
Re:Cursor 1.0 by SkyPuncher on Wednesday June 04, 2025 @11:42PM (#44188126)
I have a cursor rule that tells it about directories. Basically just X is UI, Y is BE, Z is auth.

Keep it short. It's enough for it to realize it needs to navigate directories.

Re:Cursor 1.0 by adastra22 on Thursday June 05, 2025 @01:47AM (#44188643)
Does cursor ever read your rules? It is constantly ignoring very clear directives in my .cursorrules file.
Re:Cursor 1.0 by grub5000 on Thursday June 05, 2025 @10:20AM (#44191980)
Have you upgraded to the new .mdc file format? I didn't get around to .cursorrules before this format came out, but I'm finding .mdc is reliable if configured well (e.g. with the right file extensions)
Re:Cursor 1.0 by adastra22 on Thursday June 05, 2025 @12:02PM (#44192952)
My understanding of the docs is that these are all handled the same: Cursor just adds any rules file to the context for each request, and that's it. I don't believe there is any mechanism by which to call special attention to particular rules in the context window. I could try renaming the file though.
Re:Cursor 1.0 by SkyPuncher on Thursday June 05, 2025 @05:55PM (#44196155)
I've never used rules. They're not portable to other IDEs, so I've never invested the effort.

I just have a bunch of markdown files with various prompts that I drop into context when I need them.

Re:Cursor 1.0 by dmazin on Thursday June 05, 2025 @02:34AM (#44188914)
Yeah, just putting the structure in the rules and telling it to always specify the full path in commands was enough to fix any multi repo issues for me.