←back to thread

176 points marv1nnnnn | 1 comments | | HN request time: 0.206s | source
Show context
obviyus ◴[] No.43995382[source]
I recently upgraded a project from Remix to React Router 7 but unfortunately all AI assistants still try to "fix" my code with the Remix imports / conventions. I've had to add a bunch of custom rules but that doesn't seem enough.

This seems super useful though. I'll try it out with the RR7 docs and see how well it works.

replies(3): >>43995798 #>>43995974 #>>43997060 #
1. corytheboyd ◴[] No.43995974[source]
FWIW sounds like a great use case for some rules files. I’ve only worked with Cursor and Roo but they both support it.

This of course only works for the “stop recommending X” part of your problem, but maybe something like the project here helps fill in with up-to-date documentation too?

Both Cursor and Roo also support URL context additions, which downloads the page and converts it to a machine readable format to include in context. I throw documentation links into my tasks with that all the time, which works out because I know that I am going to be sanity checking generated code against documentation anyway.