llms-txt-validator
Installation
SKILL.md
llms.txt Generator & Spec Validator
Use this skill when creating or auditing /llms.txt for a SaaS product, developer documentation site, or content hub. Most /llms.txt files fail because they dump 500 unfiltered sitemap URLs instead of curating high-signal canonical sources.
Checks (6 Gates + Output)
1. Structure (llmstxt.org format plus our stricter house rules)
The llmstxt.org proposal only requires the H1; the summary and per-link notes are optional there. We require them because agents use them to decide what to read.
- Single H1:
# <Site or Brand Name>on line 1. - Concise Blockquote Summary: Immediately under H1, a 1–3 sentence
> ...summary stating what the product/site does, who built it, and its canonical domain. - Curated H2 Sections: Group links under clear H2 headings (
## Docs,## Primary Research,## API & Pricing,## About / Canonical Entity,## Optional). In the proposal,## Optionalmarks links an agent may skip. - Bullet Format: Every entry must follow
- [Exact Title](https://...): One-line factual description.
2. Signal-to-Noise Weight Budget
- Keep
/llms.txt<= 15 KB (our budget, not a spec rule) (typically 15–40 pillar URLs) so agents can read the whole file in a single cheap context pass. - Put full archives, changelogs, or complete inline dumps at
/llms-full.txt(a common convention, not part of the proposal) and link it under## Optional.