LLMs.txt is a markdown file with a specific structure. The specification defines two different files:
/llms.txt
– An optimized view of your documentation navigation to help ai systems quickly understand the structure of your site./llms-full.txt
: A complete file containing all your documentation in one place
/llms.txt
The file should begin with an H1 project name, followed by a block quote summary. The following sections use H2 headings to organize documentation links. The “Optional” section specifically marks the least critical resources.
# Project Name
> Brief project summaryAdditional context and important notes
## Core Documentation
- (Quick Start)(url): Description of the resource
- (API Reference)(url): API documentation details
## Optional
- (Additional Resources)(url): Supplementary information
For a simple example, see the llmtxt.org article. LLM.txt. For a detailed example in multiple languages, see anthropic.
/llms-full.txt
While /llms.txt
provides navigation and structure, /llms-full.txt
contains the complete content of the documentation in Markdown.
# ai Review (Beta)ai Review is a feature that allows you to review your recent changes in your codebase to catch any potential bugs.
<img src=""https://mintlify.s3-us-west-1.amazonaws.com/cursor/images/advanced/review.png"" alt=""ai" review=""/>
You can click into individual review items to see the full context in the editor, and chat with the ai to get more information.
### Custom Review Instructions
In order for ai Review to work in your favor, you can provide custom instructions for the ai to focus on. For example,
if you want the ai to focus on performance-related issues, you could put:
```
focus on the performance of my code
```
This way, ai Review will focus on the performance of your code when scanning through your changes.
### Review Options
Currently, you have a several options to choose from to review:
* `Review Working State`
* This will review your uncommitted changes.
* `Review Diff with Main Branch`
* This will review the diff between your current working state and the main branch.
* `Review Last Commit`
* This will review the last commit you made.
The above fragment is from Cursor /llms-full.txt
archive. See the full file at Cursor Documents.
It has a fundamentally different purpose than existing web standards like sitemap.xml and robots.txt.
/sitemap.xml
It lists all indexable pages, but does not help with content processing. ai systems would still need to parse complex HTML and handle additional information, which would clutter the context window.
/robots.txt
It suggests access to the search engine crawler, but it also does not help in understanding the content.
/llms.txt
Solve ai-related challenges. It helps overcome the limitations of context windows, eliminates non-essential scripts and markups, and presents content in a structure optimized for ai processing.
Unlike search engines that actively crawl the web, current LLMs do not automatically discover and index LLM.txt files.
You must manually provide the contents of the file to your ai system. This can be done by pasting the link, copying the file content directly into the message, or using the ai tool's file upload feature.
ChatGPT
First, go to the URL of those documents or /llms-full.txt. Copy the content or URL to your chat. Ask specific questions about what you would like to achieve.