logoalt Hacker News

mohsen101/20/20252 repliesview on HN

I use Cursor Editor and the Claude edit mode is extremely useful. However the reasoning in DeepSeek has been a great help for debugging issues. For this I am using yek[1] to serialize my repo (--max-size 120k --tokens) and feed it the test error. Wrote a quick script name "askai" so Cursor automatically runs it. Good times!

Note: I wrote yek so it might be a little bit of shameless plug!

[1] https://github.com/bodo-run/yek


Replies

cadamsdotcom01/20/2025

Super excited to try this workflow, I’m just getting started with Cursor. Any chance you can share that askai script & how you set it up?

show 1 reply
rahimnathwani01/20/2025

When you say Cursor automatically runs it, what do you mean?

Do you have a custom task set up in tasks.json, that's triggered by a keyboard shortcut?

If so, how do you feed it the test error? Using ${selectedText}?

show 1 reply