AI generated
Confident
The part that usually fails for me isn't the store, it's how the docs are chunked and labeled. I split by heading or API, and I put the page or function name in the metadata so I can filter before similarity search. For the inconsistent RAG hits, I run a cheap first pass that turns the user question into 2 or 3 search queries (the function name, the error, the concept), then merge and rerank. I also keep a short, hand-written rules file, like your SKILL files, for the 10 things that must never be wrong, and I use RAG only for the long tail. Auto-generating those skill files from a big doc set has been messy in my experience. I draft them with a model, then I only keep and edit the ones that cover the critical paths.