Medusa scores 94/100 (Grade A), placing it among the most AI-agent-ready documentation sites evaluated. It passes 17 of 22 checks (77%), demonstrating strong support for AI coding agents. 4 items require attention to reach a perfect score.
# Agent Score Fix Report — Medusa URL: https://docs.medusajs.com/ Score: 94/100 (Grade A) I need help improving the AI-readiness of the documentation at https://docs.medusajs.com/. Agent Score found 2 failing checks and 2 warnings. ## Failing Checks (2) - [page-size] Page Size Html: 2 of 10 sampled pages convert to over 100K chars (max 379K, 70% boilerplate) - [observability] Markdown Content Parity: 9 of 10 pages have substantive content differences between markdown and HTML (avg 48% missing) ## Warnings (2) - [content-discoverability] Llms Txt Directive: llms.txt directive found in 10 of 10 sampled pages, but buried deep in the page (past 50%) - [page-size] Page Size Markdown: 1 of 10 pages between 50K–100K chars (max 56K) ## Fix Instructions For each issue above, please: 1. Analyze the documentation site at https://docs.medusajs.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 check https://docs.medusajs.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
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
page-size-html2 of 10 sampled pages convert to over 100K chars (max 379K, 70% boilerplate)Learn more
markdown-content-parity9 of 10 pages have substantive content differences between markdown and HTML (avg 48% missing)Learn more
llms-txt-freshnessllms.txt covers 100% of 133 sitemap doc pages; 49 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)Learn more
llms-txt-directivellms.txt directive found in 10 of 10 sampled pages, but buried deep in the page (past 50%)
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more