llms.txt file exists
mediumgeo_llms_txt_exists
Checks if a llms.txt file exists at the domain root.
What does this rule check?
The llms.txt file is a proposed standard that helps AI language models understand your site structure and content hierarchy. Similar to how robots.txt guides search crawlers, llms.txt guides AI systems.
Why is this important?
Without llms.txt, AI systems rely solely on crawling to understand your site. With it, AI models can quickly understand your site's purpose, structure, and key content areas.
How to fix
Create a llms.txt file at the root of your domain following the llms.txt specification.
Examples
Incorrect
<!-- /llms.txt returns 404 -->
Correct
# My Site Name
> Brief description of your site.
## Documentation
- [Getting Started](/docs/getting-started)
- [API Reference](/docs/api)
Agent fix snippet
Copy this snippet and paste it into your AI coding agent to fix this issue automatically.
Create a llms.txt file at your domain root:
# Site Name
> One-line description of your site.
## Key Pages
- [Home](/)
- [Docs](/docs)
- [About](/about)