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 check 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
content-negotiationContent negotiation partially supported: 4 correct type, 0 wrong type, 6 HTML onlyLearn more
http-status-codes2 of 8 sampled pages return 200 for non-existent URLs (soft 404); 2 failed to fetchLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
page-size-html3 of 10 sampled pages convert to over 100K chars (max 214K, 41% boilerplate)Learn more
markdown-content-parityAll 7 pages have equivalent markdown and HTML content (avg 0% missing)Learn more
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)Learn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more