This document defines the sourcing and provenance rules for all llms.txt files in this repository.
AI agents rely on the files in this repository to ground their code generation and reasoning. Low-quality or inaccurate sources produce low-quality outputs. Every item in an llms.txt must be traceable to an authoritative source.
The technology project publishes an llms.txt at a canonical URL (e.g., https://bun.sh/llms.txt, https://daisyui.com/llms.txt).
- Action: Use the official file directly. Link to it in
docs/INDEX.mdandREADME.mdwith provenance "Official". - Updates: Check the official URL periodically. When the official file changes materially, update the copy in this repository.
No official llms.txt exists, but the project maintains an open-source documentation repository (e.g., elysiajs/documentation, bigskysoftware/htmx).
- Action: Curate an
llms.txtby reading the official docs and constructing a structured index. Mark it as "Curated — [source URL]" indocs/INDEX.mdandREADME.md. - Content rules: Every link must point to a real, live page. Every description must accurately reflect the linked page. No invented APIs or behaviors.
No official llms.txt and no open-source docs repo. The project maintains an official documentation website.
- Action: Curate from the documentation website. Mark as "Curated — [docs URL]". This applies to
better-auth/llms.txt. - Content rules: Same as Tier 2. Be especially careful not to overstate capabilities.
- Content invented without a source URL
- Content copied from unofficial or community-written guides as if it were official
- Speculation about undocumented APIs or behaviors
- Content from outdated versions without a version note
Each llms.txt intro paragraph should state the source. Example:
This file is curated from the official documentation at https://example.com/docs/. No official
llms.txtwas published by the project.
The docs/INDEX.md table uses "Official" or "Curated — [URL]" in the Provenance column.
If a link in an llms.txt is broken or the described behavior no longer matches the official docs:
- Update the file directly with the corrected content, citing the updated source URL.
- Update the "Notes" column in
docs/INDEX.mdif the file was substantially refreshed.