Leaderboard/Salesforce

Salesforce

developer.salesforce.com/docs
Score: 50 out of 100, grade F50
Grade F
Last checked: April 3, 2026 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryBusiness
Checks passed6/22Warnings2Failed6

Salesforce scores 50/100 (Grade F), passing 6 of 22 checks (27%). There are 8 issues limiting AI agent readiness. Addressing llms.txt support and markdown availability would provide the most improvement.

# Agent Score Fix Report — Salesforce
URL: https://developer.salesforce.com/docs
Score: 50/100 (Grade F)

I need help improving the AI-readiness of the documentation at https://developer.salesforce.com/docs.
Agent Score found 6 failing checks and 2 warnings.

## Failing Checks (6)
- [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: No llms.txt directive found in any of 8 sampled pages; 2 failed to fetch
- [markdown-availability] Markdown Url Support: No sampled pages support .md URLs (0/10 tested)
- [markdown-availability] Content Negotiation: Server ignores Accept: text/markdown header (0/10 sampled pages return markdown)
- [page-size] Content Start Position: 9 of 10 sampled pages have content starting past 50% (worst 100%)
- [url-stability] Http Status Codes: 9 of 10 sampled pages return 200 for non-existent URLs (soft 404)

## Warnings (2)
- [observability] Cache Header Hygiene: 10 of 10 endpoints have moderate cache lifetimes (1–24 hours)
- [authentication] Auth Gate Detection: 2 of 10 sampled pages require authentication (8 accessible)

## 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 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)
llms-txt-directiveNo llms.txt directive found in any of 8 sampled pages; 2 failed to fetch
llms-txt-validSkipped: dependency check did not pass
llms-txt-sizeSkipped: dependency check did not pass
llms-txt-links-resolveSkipped: dependency check did not pass
llms-txt-links-markdownSkipped: dependency check did not pass
markdown-url-supportNo sampled pages support .md URLs (0/10 tested)
content-negotiationServer ignores Accept: text/markdown header (0/10 sampled pages return markdown)
cache-header-hygiene10 of 10 endpoints have moderate cache lifetimes (1–24 hours)
llms-txt-freshnessSkipped: dependency check did not pass
markdown-content-paritySkipped: dependency check did not pass
content-start-position9 of 10 sampled pages have content starting past 50% (worst 100%)
rendering-strategyAll 10 sampled pages contain server-rendered content
page-size-htmlAll 10 sampled pages convert under 50K chars (median 7K, 60% boilerplate)
page-size-markdownSkipped: dependency check did not pass
http-status-codes9 of 10 sampled pages return 200 for non-existent URLs (soft 404)
redirect-behaviorNo redirects detected across 10 sampled pages
tabbed-content-serializationNo tabbed content detected across 10 sampled pages
section-header-qualityNo tabbed content found; header quality check not applicable
markdown-code-fence-validitySite does not serve markdown content; nothing to analyze
auth-gate-detection2 of 10 sampled pages require authentication (8 accessible)
auth-alternative-accessAlternative access detected (partial-public-access) for site with 2 auth-gated pages

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by