LLMs.txt

If you are using AI to generate Valibot schemas, you can use our LLMs.txt files to help the AI better understand the library.

What is LLMs.txt?

An LLMs.txt file is a plain text file that provides instructions or metadata for large language models (LLMs). It often specifies how the LLMs should process or interact with content. It is similar to a robots.txt file, but is tailored for AI models.

Available routes

We provide several LLMs.txt routes. Use the route that works best with your AI tool.

  • llms.txt contains a table of contents with links to Markdown files
  • llms-full.txt contains the Markdown content of the entire docs
  • llms-guides.txt contains the Markdown content of the guides
  • llms-api.txt contains the Markdown content of the API reference

How to use it

To help you get started, here are some examples of how the LLMs.txt files can be used with various AI tools.

Please help us by adding more examples of other AI tools. If you use a tool that supports LLMs.txt files, please open a pull request to add it to this page.

Cursor

You can add a custom documentation as context in Cursor using the @Docs feature. Read more about it in the here.

Contributors

Thanks to all the contributors who helped make this page better!

  • GitHub profile picture of @fabian-hiller

Partners

Thanks to our partners who support the project ideally and financially.

Sponsors

Thanks to our GitHub sponsors who support the project financially.

  • GitHub profile picture of @antfu
  • GitHub profile picture of @Thanaen
  • GitHub profile picture of @ruiaraujo012
  • GitHub profile picture of @hyunbinseo
  • GitHub profile picture of @F0rce
  • GitHub profile picture of @UniquePixels
  • GitHub profile picture of @nickytonline
  • GitHub profile picture of @KubaJastrz
  • GitHub profile picture of @andrewmd5
  • GitHub profile picture of @caegdeveloper
  • GitHub profile picture of @dslatkin