Hacker News new | ask | show | jobs
by arthurgousset 446 days ago
Thanks for sharing!

> Asking it to focus on 1 error at a time massively improves the success rate.

Out of curiosity, how do you tell Cursor about the bug? Do you copy/paste console messages from the terminal into the prompt?

1 comments

In cursor you can whitelist commands. So I white list npm run. Then tell cursor to upgrade a dependency and run npm run build and if there’s errors. Fix the first error and repeat. Once the build is successful, run npm test and fix 1 test at a time.

Takes some learning but once you figure it out it’s insanely powerful.