r/cursor • u/OfficialLeadDev • 5d ago
Question / Discussion Your .cursor/rules shape code security more than the model dropdown, according to a 30-model benchmark where curated rules cut risk by up to 70%
https://leaddev.com/software-quality/ai-coding-rules-matter-more-than-your-modelAI coding rules matter more than your model.
7
Upvotes
3
u/Larann_Heblack 4d ago
The hard part isn't writing the rules, its getting the model to stop ignoring them once the context window gets crowded. Did the benchmark test this on larger multi-file edits or just isolated single-file generations?
2
u/ThisGermanEngineer 3d ago
Automatic testing against these rules is important too
1
u/iFun4ik 4d ago
makes sense to me, rules files change output way more than swapping models. on the ui side the biggest win for me was a short rule that says which existing components and spacing values to reuse, otherwise cursor reinvents a new button every session. the catch is length, once the file got long it started ignoring the bottom half.