Stripe scores 88/100 (Grade B), passing 11 of 22 checks (50%). The documentation is broadly accessible to AI agents but has 10 areas that could be improved to better serve automated tooling.
# Agent Score Fix Report — Stripe URL: https://docs.stripe.com Score: 88/100 (Grade B) I need help improving the AI-readiness of the documentation at https://docs.stripe.com. Agent Score found 5 failing checks and 5 warnings. ## Failing Checks (5) - [page-size] Page Size Markdown: 1 of 9 pages exceed 100K chars (max 161K) - [page-size] Page Size Html: 1 of 10 sampled pages convert to over 100K chars (max 161K, 5% boilerplate) - [page-size] Content Start Position: 1 of 10 sampled pages have content starting past 50% (worst 95%) - [observability] Llms Txt Freshness: llms.txt covers 466/3073 sitemap doc pages (15%); 2607 missing; 12 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap) - [observability] Cache Header Hygiene: 12 of 12 endpoints have aggressive caching or missing cache headers ## Warnings (5) - [content-discoverability] Llms Txt Valid: llms.txt contains parseable links but doesn't fully follow the proposed structure: https://docs.stripe.com/llms.txt: No blockquote summary found; https://docs.stripe.com/docs/llms.txt: No blockquote summary found - [content-discoverability] Llms Txt Size: llms.txt is 92,699 characters (between 50,000 and 100,000; consider splitting) - [content-discoverability] Llms Txt Directive: llms.txt directive found in 8 of 9 sampled pages, but buried deep in the page (past 50%); 1 failed to fetch - [markdown-availability] Content Negotiation: Content negotiation partially supported: 0 correct type, 9 wrong type, 1 HTML only - [observability] Markdown Content Parity: 5 of 9 pages have minor content differences between markdown and HTML ## Fix Instructions For each issue above, please: 1. Analyze the documentation site at https://docs.stripe.com 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://docs.stripe.com --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-freshnessllms.txt covers 466/3073 sitemap doc pages (15%); 2607 missing; 12 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)
cache-header-hygiene12 of 12 endpoints have aggressive caching or missing cache headers
markdown-content-parity5 of 9 pages have minor content differences between markdown and HTML
page-size-markdown1 of 9 pages exceed 100K chars (max 161K)
page-size-html1 of 10 sampled pages convert to over 100K chars (max 161K, 5% boilerplate)
content-start-position1 of 10 sampled pages have content starting past 50% (worst 95%)
rendering-strategyAll 10 sampled pages contain server-rendered content
auth-gate-detectionAll 10 sampled pages are publicly accessible
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths needed
llms-txt-validllms.txt contains parseable links but doesn't fully follow the proposed structure: https://docs.stripe.com/llms.txt: No blockquote summary found; https://docs.stripe.com/docs/llms.txt: No blockquote summary found
llms-txt-sizellms.txt is 92,699 characters (between 50,000 and 100,000; consider splitting)
llms-txt-directivellms.txt directive found in 8 of 9 sampled pages, but buried deep in the page (past 50%); 1 failed to fetch
llms-txt-existsllms.txt found at 2 location(s)
llms-txt-links-resolveAll 10 same-origin sampled links resolve (491 total links)
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%) (8 external links excluded)
content-negotiationContent negotiation partially supported: 0 correct type, 9 wrong type, 1 HTML only
markdown-url-support9/10 sampled pages support .md URLs (90%)
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 100 code fences properly closed across 11 pages
http-status-codesAll 10 sampled pages return proper error codes for bad URLs
redirect-behaviorNo redirects detected across 10 sampled pages