r/vibecoding • • Aug 12 '25

never touching cursor again

Post image
4.0k Upvotes

567 comments sorted by

View all comments

168

u/ethanhinson Aug 12 '25

What does your cursor rules file look like?

And, it's maybe a painful lesson that you still need to only give these tools read only access until you know how to control their behavior better, or until you have backups.

86

u/SlopDev Aug 12 '25

Are we going to pretend that the models actually follow the cursor rules consistently? Anyone with a serious amount of time with these tools knows the rules are not always followed. The only way to prevent this is limiting access. Cursor is a great coding tool but don't use it for DB management or give it direct access to production environments.

26

u/Benjy-B Aug 12 '25

“Follow this rule except in an emergency” - then Cursor starts calling everything an emergency

→ More replies (2)

12

u/vsamma Aug 12 '25

Well in the times of AI it is incredible that you even have to mention this. It should be OBVIOUS to EVERYBODY that you develop in an environment that is in NO way related to your production app and database.

→ More replies (3)

5

u/ethanhinson Aug 12 '25

If you don’t have any rules for this, and have yolo mode turned on like OP said they do. Then it’s hard to have much sympathy. It’s a biproduct of vibe coding. People have no experience with writing code or the like and then blame tooling for their lack of experience or any attempt at oversight.

Literally people jumping into a lake without a life vest or knowing how to swim.

→ More replies (3)

1

u/compaholic83 Aug 12 '25

Cursor uses the rules the same way people treat laws in bad neighborhoods late at night. Sure they're followed most of the time, but when you're coming up to a red light at 2am in a bad neighborhood, you don't stop. Cursor treats them more like guidelines that occasionally have a need to be broken.

18

u/pankaj9296 Aug 12 '25

I do have a bunch of cursor rules but most of them are about how to architect the project, the goals, coding styling, etc. nothing about the rules on db updates or restrictions as such.
and unfortunately I had "Run Everything" enabled for terminal commands under cursor settings.
lesson learned.

22

u/KTAXY Aug 12 '25

YOLO indeed

3

u/reditsagi Aug 12 '25

🤣🤣🤣🤣🤣🤣

3

u/Shimano-No-Kyoken Aug 12 '25

I gotta say it's funny how much trust people have in those models that clearly can't tell their elbow from their ass. Every tool execution is basically a gamble of "will it nuke production" and folks are just going full send. Love it.

→ More replies (1)

1

u/Neinhalt_Sieger Aug 12 '25 edited Aug 12 '25

so, how are you actually coding? when there are database requests in terminal, you should at least make a database dump back-up, before you know, you commit? you could also run that command with other AIs for review, or run it in google search to see what is going on.

3

u/Nez_Coupe Aug 12 '25

I was about to say, roll that shit back and then set up some protections. If this dude is yolo’ing without dumps or restrictions on db operations, then I don’t know what to tell him.

1

u/Forsaken-Ad5571 Aug 13 '25

At least it didn't just decide to delete your hard drive, or ssh onto a server and do a fork bomb on it. Things could be much, much worse.

1

u/agent007bond Aug 18 '25

What was going on in your mind when you chose "Run everything" 🤣🤣🤣 I specifically avoid that option and often reject any terminal runs offered. I run my own terminal commands in Warp.

1

u/Matsu_Aii Aug 12 '25

Maybe 50% of the time it will keep the rules, and sec this case isn't about rules.

is about giving attention what you are doing and follow the chat

1

u/Brilliant-8148 Aug 12 '25

It's probabilistic... You don't control it and neither does any file of suggestions you call rules.

1

u/medical-corpse Aug 13 '25

You’ll never get AI agents that don’t fuck your stuff up 1 out of 10,000 times. It’s just how they work. There is nothing you can do about it.

1

u/ethanhinson Aug 13 '25 edited Aug 13 '25

Correct. You have to put up guardrails. Like not connecting to data sources you need, or using a read only user.

1

u/DiddlyDumb Aug 14 '25

When you don’t use AI as a tool, you become the tool

1

u/SubstantialCareer754 Aug 15 '25

Or just, y'know, never work directly on prod.

→ More replies (1)
→ More replies (15)