Sanity

www.sanity.io/docs
Score: 81 out of 100, grade B81
Grade B
Last checked: April 8, 2026 · Rerun · Request listing
Share on
Simulation: Fern // bud
Day 0
CategoryDevTools
Checks passed13/22Warnings2Failed5

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

# Agent Score Fix Report — Sanity
URL: https://www.sanity.io/docs
Score: 81/100 (Grade B)

I need help improving the AI-readiness of the documentation at https://www.sanity.io/docs.
Agent Score found 5 failing checks and 2 warnings.

## Failing Checks (5)
- [content-discoverability] Llms Txt Links Resolve: Only 8/10 same-origin sampled links resolve (80%); 2 broken
- [content-discoverability] Llms Txt Links Markdown: Same-origin links point to HTML and no markdown alternatives detected
- [content-discoverability] Llms Txt Directive: No llms.txt directive found in any of 10 sampled pages
- [page-size] Page Size Html: 10 of 10 sampled pages convert to over 100K chars (max 620K, 24% boilerplate)
- [observability] Markdown Content Parity: 1 of 10 pages have substantive content differences between markdown and HTML (avg 8% missing)

## Warnings (2)
- [content-discoverability] Llms Txt Valid: llms.txt contains parseable links but doesn't fully follow the proposed structure: https://www.sanity.io/docs/llms.txt: No blockquote summary found
- [content-discoverability] Llms Txt Size: llms.txt is 62,129 characters (between 50,000 and 100,000; consider splitting)

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://www.sanity.io/docs
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://www.sanity.io/docs --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

llms-txt-links-resolveOnly 8/10 same-origin sampled links resolve (80%); 2 brokenLearn more
llms-txt-links-markdownSame-origin links point to HTML and no markdown alternatives detectedLearn more
llms-txt-directiveNo llms.txt directive found in any of 10 sampled pages
llms-txt-validllms.txt contains parseable links but doesn't fully follow the proposed structure: https://www.sanity.io/docs/llms.txt: No blockquote summary foundLearn more
llms-txt-sizellms.txt is 62,129 characters (between 50,000 and 100,000; consider splitting)Learn more
llms-txt-existsllms.txt found at 2 location(s)Learn more
auth-gate-detectionAll 10 sampled pages are publicly accessibleLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
tabbed-content-serialization14 tab group(s) across 3 of 10 sampled pages; all serialize under 50K charsLearn more
markdown-code-fence-validityAll 47 code fences properly closed across 12 pagesLearn more
section-header-quality3 page(s) with tabs found, but no section headers inside tab panels to evaluateLearn more
markdown-content-parity1 of 10 pages have substantive content differences between markdown and HTML (avg 8% missing)Learn more
llms-txt-freshnessllms.txt covers 100% of 606 sitemap doc pagesLearn more
cache-header-hygieneAll 12 endpoints have appropriate cache headersLearn more
page-size-html10 of 10 sampled pages convert to over 100K chars (max 620K, 24% boilerplate)Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-markdownAll 10 pages under 50K chars (median 4K, max 32K)Learn more
content-start-positionContent starts within first 10% on all 10 sampled pages (median 4%)Learn more
markdown-url-support10/10 sampled pages support .md URLs (100%)Learn more
content-negotiation10/10 sampled pages support content negotiation (100%)Learn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
redirect-behaviorAll 2 redirect(s) across 10 sampled pages are same-host HTTP redirectsLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by