Hacker News new | past | comments | ask | show | jobs | submit login

I've tried this, aggressively and it still does it for me. I gave up.



Have you tried threats?


I did not, but I'm curious if this would actually work.

It strips the comments from the code or else it gets the hose again.


I tried this as well. I'm interfacing with Gemini 2.5 using Cursor and I have rules to to limit the comments. It still ends up over-commenting.


I have a feeling this may be a cursor issue, perhaps cursors system prompt asks for comments? Asking in the aistudio UI for code and ending the prompt with "no code comments" has always worked for me





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

Search: