4 ms·
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 us
by mohsen1 2y ago
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 https://github.com/bodo-run/yek
- cadamsdotcom 2y agoSuper 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?
- mohsen1 2y agoSure! https://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc7939 https://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc... Add "when running into issues, run ./scripts/ask.js to get help from DeepSeek"
- cadamsdotcom 2y agoCheers!
- rahimnathwani 2y agoWhen 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}?
- mohsen1 2y agohttps://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc7939 https://gist.github.com/mohsen1/c867d038fc4f46494af4c4024cfc... Not really. Just in natural language add to Cursor rules that it should invoke the script