LLMs.txt Defined | In the direction of Knowledge Science

LLMs.txt is a markdown file with a selected construction. The specification defines two distinct recordsdata:

  1. /llms.txt: A streamlined view of your documentation navigation to assist AI programs shortly perceive your web site’s construction
  2. /llms-full.txt: A complete file containing all of your documentation in a single place

/llms.txt

The file should begin with an H1 undertaking title, adopted by a blockquote abstract. Subsequent sections use H2 headers to prepare documentation hyperlinks. The “Elective” part particularly marking much less vital assets.

# Venture Identify
> Temporary undertaking abstract

Extra context and essential notes

## Core Documentation
- [Quick Start](url): Description of the useful resource
- [API Reference](url): API documentation particulars

## Elective
- [Additional Resources](url): Supplementary info

For a easy instance, see llmtxt.org’s personal LLM.txt. For an in-depth, multi-language instance, see Anthropic’s.

/llms-full.txt

Whereas /llms.txt gives navigation and construction, /llms-full.txt incorporates the whole documentation content material in markdown.

# AI Assessment (Beta)

AI Assessment is a function that means that you can evaluation your latest modifications in your codebase to catch any potential bugs.

<Body>
<img src="https://mintlify.s3-us-west-1.amazonaws.com/cursor/photographs/superior/evaluation.png" alt="AI Assessment" />
</Body>

You possibly can click on into particular person evaluation gadgets to see the total context within the editor, and chat with the AI to get extra info.

### Customized Assessment Directions

To ensure that AI Assessment to work in your favor, you may present customized directions for the AI to give attention to. For instance,
in order for you the AI to give attention to performance-related points, you would put:

```
give attention to the efficiency of my code
```

This manner, AI Assessment will give attention to the efficiency of your code when scanning by means of your modifications.

### Assessment Choices

Presently, you may have a a number of choices to select from to evaluation:

* `Assessment Working State`
* This can evaluation your uncommitted modifications.
* `Assessment Diff with Foremost Department`
* This can evaluation the diff between your present working state and the principle department.
* `Assessment Final Commit`
* This can evaluation the final commit you made.

The above snippet is from Cursor’s /llms-full.txt file. See the total file on Cursor’s docs.

It serves a basically totally different function than present internet requirements like sitemap.xml and robots.txt.

/sitemap.xml lists all indexable pages, however doesn’t assist with content material processing. AI programs would nonetheless must parse complicated HTML and deal with additional information, cluttering up the context window.

/robots.txt suggests search engine crawler entry, however doesn’t help with content material understanding both.

/llms.txt solves AI-related challenges. It helps overcome context window limitations, removes non-essential markup and scripts, and presents content material in a construction optimized for AI processing.

Not like serps that actively crawl the net, present LLMs don’t mechanically uncover and index LLMs.txt recordsdata.

You will need to manually present the file content material to your AI system. This may be accomplished by pasting the hyperlink, copying the file contents straight into your immediate, or utilizing the AI instrument’s file add function.

ChatGPT

First, go to that docs’ or /llms-full.txt URL. Copy the contents or URL into your chat. Ask particular questions on what you’d like to perform.