I also look for ways LLMs can consult documentation about their own capabilities, an idea that complements my other examples of ai generated software documentation.
I noted that Claude Code can answer questions about itself because it can fetch a Markdown index of its own online documentation and then navigate to the right place.
I wish more LLM tools would implement the same pattern!
This example is about enabling a tool to answer questions about itself by retrieving the relevant material from its online documentation.
I collect examples of making software documentation easier for language models to use, from copyable plain-text docs to prompts that describe APIs. These approaches connect to ai generated software documentation through the broader practice of preparing useful documentation for LLMs.
I asked OpenAI about turning off the anti-scraping technology on your documentation site because it makes it harder to paste the docs into an LLM.
I called JinaAI’s meta-prompt “Best example I've seen yet of a company creating a single LLM-friendly prompt that describes all of their APIs in one place”.
I introduced the Remotion example with “Here's another good example”.
I reacted to the plain-text documentation feature by saying, “Fantastic! More of this please”.
I shared “my LLM tool's docs concatenated into one (huge) file”.
I said, “This one took me a moment to figure out,” about another item linked in the thread about my LLM tool’s documentation.
For an llms.txt, I want “the shortest, most concise version of the documentation” that still gives an LLM enough information to correctly use the software.
I wish LLM chat apps would use a form of RAG to answer questions about their abilities.
When called, help_answer_questions_about_abilities() would add “a few thousand extra tokens” of documentation to the context.
I argued that hiding system prompts and tool descriptions means taking the single most detailed set of documentation for your service and deliberately hiding it from your most sophisticated users.
I described making answers about an LLM chat app’s abilities easier to find as “low hanging fruit for a significant usability win.”
Related: ai generated software documentation, product and api documentation, documentation quality and practice