AI Crawlability
Write the files that let AI models read and cite the site correctly. Everything lands in the repo — nothing to copy-paste.
Steps
- Map the site. Read the routes (Next
app//pages/, Astro/SvelteKit pages, or the sitemap if one exists) and the top-level content. Note the real sections a model should know about (docs, product, blog, pricing). - Write
llms.txtat the web root (public/llms.txtfor most frameworks): an# H1site name, a one-line> summary, then## Sectionlists of the best links with a short gloss each. Addllms-full.txtwith the expanded copy when the content is small enough to inline. - robots.txt — allow the AI bots the user wants (GPTBot, ClaudeBot,
PerplexityBot, Google-Extended, CCBot), block the rest, and declare
Sitemap:. Prefer a generated route over a static file so it cannot rot. - Sitemap — wire a real sitemap route (Next
app/sitemap.ts, etc.) from the routes, not a hand-maintained XML file.
Verify
llms.txt,robots.txtand a sitemap all resolve at the root.- robots names the AI user-agents explicitly and declares the sitemap.
- Try it live in the browser first: https://aicrawl.tools.drummerduck.com