Salesforce scores 39/100 (Grade F), passing only 7 of 22 checks (32%). Significant work is needed to make these docs accessible to AI coding agents. Priority improvements include adding llms.txt, enabling markdown endpoints, and reducing page complexity.
# Agent Score Fix Report — Salesforce URL: https://developer.salesforce.com/docs Score: 39/100 (Grade F) I need help improving the AI-readiness of the documentation at https://developer.salesforce.com/docs. Agent Score found 7 failing checks and 0 warnings. ## Failing Checks (7) - [content-discoverability] Llms Txt Exists: No llms.txt found at any candidate location (https://developer.salesforce.com/docs/llms.txt, https://developer.salesforce.com/llms.txt) - [content-discoverability] Llms Txt Directive: Could not test any pages; 1 failed to fetch - [markdown-availability] Markdown Url Support: No pages support .md URLs (0/1 tested) - [markdown-availability] Content Negotiation: Server ignores Accept: text/markdown header (0/1 pages return markdown) - [page-size] Content Start Position: 1 of 1 pages have content starting past 50% (worst 88%) - [authentication] Auth Gate Detection: All 1 pages require authentication - [authentication] Auth Alternative Access: No alternative access paths detected for 1 auth-gated pages. Some access paths cannot be detected automatically: bundled SDK docs, CLI doc commands, and MCP servers ## 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
llms-txt-existsNo llms.txt found at any candidate location (https://developer.salesforce.com/docs/llms.txt, https://developer.salesforce.com/llms.txt)Learn more
llms-txt-directiveCould not test any pages; 1 failed to fetch
content-negotiationServer ignores Accept: text/markdown header (0/1 pages return markdown)Learn more
auth-alternative-accessNo alternative access paths detected for 1 auth-gated pages. Some access paths cannot be detected automatically: bundled SDK docs, CLI doc commands, and MCP serversLearn more