RAG for documentation of frameworks?

I would really like to see cursor adding RAG support for documentation of the frameworks used. Example: when I ask it to do something like “create an angular frontend, and link it using Graphql to a nodejs backend using sqlite”, it completely messes it up:

  • it mixes versions from graphql and angular which are not compatible
  • the setup of angular is not complete, as it doesn’t use ‘ng new’, but tries to create the files on its own
  • the backend code is mostly a mess and doesn’t work at all

The only thing which worked for me was to create the scaffold myself, and then let it improve on it step by step. Even then I had to do so much copy/pasting of errors that it was not funny. And some things it just didn’t get right, even when I asked it precisely how to fix things.

This is on a 20$/month subscription, btw.

From what I know of LLMs, using RAG to include the howtos and documentation of the frameworks requested / used could solve a lot of these issues. But perhaps it already does this, and it’s still a mess?