Audit llms.txt
Prompt for reviewing and improving an existing llms.txt file
- You give
- The content of your llms.txt
- You get
- A list of problems and a fixed file
- Level
- Easy
- Next
- Generate llms.txt
Why
Find format violations and weak spots in a finished file before an agent stumbles on them.
When to use
- Before publishing the file.
- After a large site update.
- When a generator built the file and nobody has read it.
The model will not open the links by itself. Check that the addresses are alive separately.
What to fill in
| Variable | What it is |
|---|---|
[file] | the full content of llms.txt |
Prompt
Check an llms.txt file against the second edition of the proposal (llmstxt.org).
[file]
Check in order:1. The first heading is H1, and there is only one.2. It is followed by a blockquote with a description.3. There are no headings between the description and the first H2 section.4. Every section is an H2 heading and a list of links.5. Links have clear titles and notes.6. Secondary links are in Optional.7. The file has no instructions for the model and no advertising phrases.
Return:- a table "problem - line - how to fix";- a corrected version of the file.Do not change link addresses and do not add new ones.What you get
A table of remarks and a corrected file. Do not ask for a score out of ten: a number without criteria means nothing.
Check the result
- The model did not change link addresses.
- Every remark points at a specific line.
- The corrected file starts with H1.