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

One trick that people are using, when using Cursor and specifically Cursor's compose function, is to dump library docs into a text file in your repo, and then @ that doc file when you're asking it to do something involving that library.

That seems to eliminate a lot of the issues, though it's not a seamless experience, and it adds another step of having to put the library docs in a text file.

Alternatively, cursor can fetch a web page, so if there's a good page of docs you can bring that in by @ the web page.

Eventually, I could imagine LLMs automatically creating library text doc files to include when the LLM is using them to avoid some of these problems.

It could also solve some of the issues of their shaky understanding of newer frameworks like SvelteKit.




Cursor also has the shadow workspace feature [1] that is supposed to send feedback from linting and language servers to the LLM. I'm not sure whether it's enabled in compose yet though.

[1] https://www.cursor.com/blog/shadow-workspace




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

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

Search: