Leaderboard/Tanstack

Tanstack

tanstack.com/router/latest/docs/overview
Score: 76 out of 100, grade C76
Grade C
Last checked: April 6, 2026 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryDevTools
Checks passed13/22Warnings4Failed4

Tanstack scores 76/100 (Grade C), passing 13 of 22 checks (59%). The documentation is broadly accessible to AI agents but has 8 areas that could be improved to better serve automated tooling.

# Agent Score Fix Report — Tanstack
URL: https://tanstack.com/router/latest/docs/overview
Score: 76/100 (Grade C)

I need help improving the AI-readiness of the documentation at https://tanstack.com/router/latest/docs/overview.
Agent Score found 4 failing checks and 4 warnings.

## Failing Checks (4)
- [content-discoverability] Llms Txt Directive: No llms.txt directive found in any of 10 sampled pages
- [page-size] Page Size Html: 3 of 10 sampled pages convert to over 100K chars (max 214K, 41% boilerplate)
- [url-stability] Http Status Codes: 2 of 8 sampled pages return 200 for non-existent URLs (soft 404); 2 failed to fetch
- [observability] Llms Txt Freshness: llms.txt covers 0/1 sitemap doc pages (0%); 1 missing

## Warnings (4)
- [content-discoverability] Llms Txt Links Markdown: Same-origin links point to HTML, but 7 have .md variants available (16 external links excluded)
- [markdown-availability] Markdown Url Support: 7/10 sampled pages support .md URLs (70%); inconsistent support
- [markdown-availability] Content Negotiation: Content negotiation partially supported: 4 correct type, 0 wrong type, 6 HTML only
- [page-size] Content Start Position: 2 of 10 sampled pages have content starting at 10–50% (worst 30%)

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://tanstack.com/router/latest/docs/overview
2. Implement the specific fix
3. Verify the fix would cause the check to pass

### Common fixes:
- **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format
- **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md)
- **No content negotiation**: Return markdown when request includes Accept: text/markdown header
- **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup
- **No sitemap**: Generate /sitemap.xml listing all documentation URLs
- **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens
- **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers
- **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants

## Run afdocs Locally for More Detail

To get deeper visibility into what's failing, run afdocs against your docs:

  npx afdocs https://tanstack.com/router/latest/docs/overview --fixes --verbose

- **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps
- **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS

How your docs scored

markdown-url-support7/10 sampled pages support .md URLs (70%); inconsistent support
content-negotiationContent negotiation partially supported: 4 correct type, 0 wrong type, 6 HTML only
http-status-codes2 of 8 sampled pages return 200 for non-existent URLs (soft 404); 2 failed to fetch
redirect-behaviorAll 3 redirect(s) across 10 sampled pages are same-host HTTP redirects
auth-gate-detectionAll 10 sampled pages are publicly accessible
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths needed
page-size-html3 of 10 sampled pages convert to over 100K chars (max 214K, 41% boilerplate)
content-start-position2 of 10 sampled pages have content starting at 10–50% (worst 30%)
rendering-strategyAll 10 sampled pages contain server-rendered content
page-size-markdownAll 7 pages under 50K chars (median 4K, max 5K)
llms-txt-freshnessllms.txt covers 0/1 sitemap doc pages (0%); 1 missing
markdown-content-parityAll 7 pages have equivalent markdown and HTML content (avg 0% missing)
cache-header-hygieneAll 11 endpoints have appropriate cache headers
llms-txt-directiveNo llms.txt directive found in any of 10 sampled pages
llms-txt-links-markdownSame-origin links point to HTML, but 7 have .md variants available (16 external links excluded)
llms-txt-existsllms.txt found at 1 location(s)
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)
llms-txt-sizellms.txt is 20,411 characters (under 50,000 threshold)
llms-txt-links-resolveAll 10 same-origin sampled links resolve (35 total links)
tabbed-content-serializationNo tabbed content detected across 10 sampled pages
section-header-qualityNo tabbed content found; header quality check not applicable
markdown-code-fence-validityAll 3 code fences properly closed across 8 pages

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by