AI assistants
Give an assistant the Kubb docs
Give an AI assistant current Kubb documentation through Context7 or the llms.txt and llms-full.txt files, so it writes a correct kubb.config.ts.
An assistant that reads the current docs writes a kubb.config.ts for Kubb v5, not an older version. Pick the option your assistant supports.
| Option | Works with | Context it loads |
|---|---|---|
| Context7 | Assistants with the Context7 MCP server or skill | The pages that match your prompt |
llms.txt | Any assistant that reads URLs or pasted text | An index, or the full docs in one file |
Context7
Context7 indexes the Kubb docs under the library ID /kubb-labs/kubb.
Set up Context7
Run the setup and select your assistant:
Terminal
npx ctx7 setupThe setup connects Context7 through MCP or installs its docs skill, as you choose.
Ask with Context7
Include use context7 in your prompt. Add the library ID to skip the library search:
Prompt
Create a kubb.config.ts that generates TypeScript types, a Fetch client, and React Query hooks
from ./petStore.yaml. Use Context7 library /kubb-labs/kubb.Add a rule to your assistant's instructions to use Context7 for every Kubb question.
llms.txt
| File | Holds |
|---|---|
https://kubb.dev/llms.txt | A table of contents with a one-line description per page |
https://kubb.dev/llms-full.txt | The complete docs in one file |
Use the full file for complete coverage:
Prompt
Read https://kubb.dev/llms-full.txt and answer questions about Kubb.For a small context window, use the index so the assistant fetches pages on demand:
Prompt
Use https://kubb.dev/llms.txt to find relevant pages, then read them.