Integrations
llms.txt
Generate machine-readable llms.txt, llms-full.txt, and skill.md endpoints for AI assistants.
Tiramisu Docs generates machine-readable documentation files that help AI assistants understand your docs without scraping your website.
Endpoints
Three endpoints are automatically generated:
| Endpoint | Description |
|---|---|
/llms.txt | A concise summary of your documentation structure with links to each page |
/llms-full.txt | The complete content of all documentation pages in plain text |
/skill.md | A Claude Code skill file that teaches Claude how to use your documentation |
llms.txt
The /llms.txt file follows the llms.txt standard — a lightweight format that helps AI models discover and navigate your documentation. It contains:
- Your site title and description
- A list of all documentation pages with their URLs and descriptions
- Links to the full-text version
llms-full.txt
The /llms-full.txt endpoint provides the complete content of every documentation page in plain text format. This is useful for AI assistants that need to ingest your full documentation.
skill.md
The /skill.md endpoint generates a Claude Code skill file. This file can be used as a Claude Code skill to teach Claude about your documentation structure and content.
Generator Functions
These endpoints are powered by three functions you can use in your SvelteKit routes:
import {
generateLlmsTxt,
generateLlmsFullTxt,
generateSkillMd,
} from "@tiramisu-docs/kit"; Each function returns a string that you can serve from a SvelteKit endpoint:
// src/routes/llms.txt/+server.ts
import { generateLlmsTxt } from "@tiramisu-docs/kit";
export const GET = async () => {
const content = await generateLlmsTxt();
return new Response(content, {
headers: { "Content-Type": "text/plain" },
});
};