Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My .cursorrules files tend to be longer, but I don't use it for any of the stuff that this example does. I use to explain project-specific details so the model doesn't have to re-figure out what we're doing at the start of every conversation. Here are a couple examples from recent open source projects:

https://github.com/brianluft/social-media-translator/blob/ma...

https://github.com/brianluft/threadloaf/blob/main/.cursorrul...

I tell it what we're working on, the general components, how to build and run, then an accumulated tips section. It's critical to teach the model how to run the build+run feedback loop so it can fix its own mistakes without your involvement. Enable "yolo mode" in Cursor and allow it to build and run autonomously.

Finally, remember: you can have the model update its own .cursorrules file.



> Refer to me as "boss"

I chuckled. This works so good.


Does it cut down on it asking you do to stuff that it can do itself?


Note that you have a typo in your first config: "complaint"


Nice catch, fixed now. Thanks!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: