
Offer a concise, readable guide to your site
Publish a plain-text introduction and useful links at llms.txt for tools that choose to read it. You control the description; Wildo supplies the serving policy.
Example — A short guide beside the website
A product introduction points to pricing, documentation and important guides without asking a reader to extract those links from the full visual navigation.
For engineers
Write website/src/content/llms.txt. Wonder Todos serves it through this complete endpoint:
import type { APIRoute } from 'astro';
import { readLlmsTxtBody } from '@wildo-ai/saas-website/astro';
import { WEBSITE_SITE_CONTEXT } from '@/website-site-context';
export const prerender = true;
export const GET: APIRoute = () => {
const body = readLlmsTxtBody(WEBSITE_SITE_CONTEXT);
if (body === null) {
return new Response('Not found', { status: 404 });
}
return new Response(body, {
headers: {
'Content-Type': 'text/plain; charset=utf-8',
'Cache-Control': 'public, max-age=3600',
},
});
};
WEBSITE_SITE_CONTEXT is the site’s existing composition. With no seo.llmsTxt setting, file presence enables publication. Explicit enabled: false disables it; explicit true still requires a file. An unreadable existing file raises an error rather than silently disappearing.
Keep the text accountable
The reader returns the authored body; it does not derive product claims or check the destination links. Review this file when routes, offers or positioning change. The current contract serves one authored file for the site, so choose its language deliberately. Publication gives supporting information to consumers that use this convention; it does not guarantee discovery, ranking or citation by an assistant.