website icon indicating copy to clipboard operation
website copied to clipboard

Add /llms.txt to Flutter docs for LLM-friendly indexing

Open malthee opened this issue 6 months ago • 0 comments

What information needs to be added?

Info about the llms.txt file: https://llmstxt.org/

Add a top-level /llms.txt file to docs.flutter.dev that gives LLMs a concise, Markdown-based map of the most important documentation. The goal is to improve answer quality in tools such as ChatGPT, Android-Studio AI Assist, VS Code Copilot, etc.

A common issue right now is for example, that often outdated widget syntax is generated by these tools. An up-to-date llms.txt file could counter that by feeding the LLMs the current state of docs. Furthermore, it would have the nice side effect of reducing manual LLM scraping over different doc-subpages.

Examples of other tools: https://svelte.dev/llms.txt https://next.angular.dev/llms.txt https://docs.astro.build/llms.txt

Where should this new content appear?

https://docs.flutter.dev/llms https://docs.flutter.dev/llms.txt

I would like to fix this problem.

  • [ ] I will try and fix this problem on docs.flutter.dev.

malthee avatar Jul 10 '25 19:07 malthee