Salesforce scores 73/100 (Grade C), passing 11 of 23 checks (48%). The documentation is broadly accessible to AI agents but has 11 areas that could be improved to better serve automated tooling.
# Agent Score Fix Report — Salesforce URL: https://developer.salesforce.com/docs Score: 73/100 (Grade C) I need help improving the AI-readiness of the documentation at https://developer.salesforce.com/docs. Agent Score found 6 failing checks and 5 warnings. ## Failing Checks (6) - [content-discoverability] Llms Txt Links Resolve: Only 0/10 same-origin sampled links resolve (0%); 10 broken - [content-discoverability] Llms Txt Directive Html: No llms.txt directive found in HTML of any of 10 sampled pages - [content-discoverability] Llms Txt Directive Md: Could not fetch markdown for any of 10 pages; 10 had no markdown version - [markdown-availability] Content Negotiation: Server ignores Accept: text/markdown header (0/10 sampled pages return markdown) - [page-size] Content Start Position: 3 of 10 sampled pages have content starting past 50% (worst 103%) - [url-stability] Http Status Codes: 3 of 10 sampled pages return 200 for non-existent URLs (soft 404) ## Warnings (5) - [content-discoverability] Llms Txt Valid: llms.txt contains parseable links but doesn't fully follow the proposed structure: https://developer.salesforce.com/docs/llms.txt: No blockquote summary found - [markdown-availability] Markdown Url Support: 3/10 sampled pages support .md URLs (30%); inconsistent support; 4 failed to fetch - [observability] Llms Txt Coverage: llms.txt covers 29158/33129 sitemap doc pages (88%); 3971 missing; 17884 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap) - [observability] Markdown Content Parity: 1 of 3 pages have minor content differences between markdown and HTML - [observability] Cache Header Hygiene: 4 of 12 endpoints have moderate cache lifetimes (1–24 hours) ## Fix Instructions For each issue above, please: 1. Analyze the documentation site at https://developer.salesforce.com/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://developer.salesforce.com/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
content-negotiationServer ignores Accept: text/markdown header (0/10 sampled pages return markdown)Learn more
markdown-url-support3/10 sampled pages support .md URLs (30%); inconsistent support; 4 failed to fetchLearn more
llms-txt-directive-mdCould not fetch markdown for any of 10 pages; 10 had no markdown versionLearn more
llms-txt-validllms.txt contains parseable links but doesn't fully follow the proposed structure: https://developer.salesforce.com/docs/llms.txt: No blockquote summary foundLearn more
llms-txt-existsllms.txt found at 2 locations; using https://developer.salesforce.com/docs/llms.txt as canonicalLearn more
llms-txt-coveragellms.txt covers 29158/33129 sitemap doc pages (88%); 3971 missing; 17884 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)Learn more
markdown-content-parity1 of 3 pages have minor content differences between markdown and HTMLLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
page-size-htmlAll 10 sampled pages under 50K chars (median 43K HTML → 3K markdown (96% boilerplate))Learn more