Beta You're reading the docs for Kubb v5, which is currently in beta. View the stable v4 docs
Skip to content

LLMS.txt

Kubb generates an llms.txt file at build time. It follows the llms.txt standard. The file gives LLMs a compact, machine-readable index of the whole documentation. With it, they answer questions about Kubb without inventing outdated or missing details.

Available files

URL Description
https://kubb.dev/llms.txt Table of contents with one-line descriptions per page
https://kubb.dev/llms-full.txt Complete documentation in a single file

Using llms.txt in your AI assistant

Most chat interfaces let you attach a URL or paste text. Use the full file when you need complete documentation coverage:

Prompt
text
Read https://kubb.dev/llms-full.txt and answer questions about Kubb.

For models with a small context window, use the index file. Ask the assistant to fetch individual pages on demand:

Prompt
text
Use https://kubb.dev/llms.txt to find relevant pages, then read them.

See also

  • llms.txt standard: specification for LLM-friendly documentation
  • MCP: connect AI editors directly to Kubb's MCP server
  • Skills: AI coding skills for working with Kubb