RAG + documentation might help. I wonder if documentation will start to take a more standardized format across projects that's especially easy for LLMs to parse (maybe everything dumped into a single .txt file?). I'm currently learning Polars, and it's frustrating how LLMs keep giving me deprecated code. But if they load the current documentation, they should be able to catch their mistakes.