Polar

polar.sh
Score: 94 out of 100, grade A94
Grade A
Last checked: May 2, 2026 · afdocs v0.17.1 · Rerun
Share on
Simulation: Fern // bud
Day 0
CategoryPayments
Checks passed17/23Warnings2Failed2

Polar scores 94/100 (Grade A), placing it among the most AI-agent-ready documentation sites evaluated. It passes 17 of 23 checks (74%), demonstrating strong support for AI coding agents. 4 items require attention to reach a perfect score.

# Agent Score Fix Report — Polar
URL: https://polar.sh
Score: 94/100 (Grade A)

I need help improving the AI-readiness of the documentation at https://polar.sh.
Agent Score found 2 failing checks and 2 warnings.

## Failing Checks (2)
- [page-size] Content Start Position: 3 of 10 sampled pages have content starting past 50% (worst 69%)
- [observability] Llms Txt Coverage: llms.txt covers 0/18 sitemap doc pages (0%); 18 missing; 263 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)

## Warnings (2)
- [content-discoverability] Llms Txt Directive Html: llms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)
- [observability] Markdown Content Parity: 4 of 7 pages have minor content differences between markdown and HTML

## Fix Instructions

For each issue above, please:
1. Analyze the documentation site at https://polar.sh
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://polar.sh --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-coveragellms.txt covers 0/18 sitemap doc pages (0%); 18 missing; 263 llms.txt links not in sitemap (may indicate stale links or incomplete sitemap)Learn more
markdown-content-parity4 of 7 pages have minor content differences between markdown and HTMLLearn more
cache-header-hygieneAll 12 endpoints have appropriate cache headersLearn more
auth-gate-detectionAll 10 sampled pages are publicly accessibleLearn more
auth-alternative-accessAll docs pages are publicly accessible; no alternative access paths neededLearn more
tabbed-content-serialization8 tab group(s) across 7 of 10 sampled pages; all serialize under 50K charsLearn more
markdown-code-fence-validityAll 16 code fences properly closed across 9 pagesLearn more
section-header-quality7 page(s) with tabs found, but no section headers inside tab panels to evaluateLearn more
content-start-position3 of 10 sampled pages have content starting past 50% (worst 69%)Learn more
rendering-strategyAll 10 sampled pages contain server-rendered contentLearn more
page-size-markdownAll 7 pages under 50K chars (median 5K, max 13K)Learn more
page-size-htmlAll 10 sampled pages under 50K chars (median 500K HTML → 10K markdown (98% boilerplate))Learn more
llms-txt-directive-htmlllms.txt directive found in HTML of 10 of 10 sampled pages, but buried deep in the page (past 50%)Learn more
llms-txt-existsllms.txt found at 2 locations; using https://polar.sh/llms.txt as canonicalLearn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more
llms-txt-sizellms.txt is 31,182 characters (under 50,000 threshold)Learn more
llms-txt-links-resolveAll 10 same-origin sampled links resolve (263 total links)Learn more
llms-txt-links-markdown10/10 same-origin sampled links point to markdown content (100%)Learn more
llms-txt-directive-mdllms.txt directive found in markdown of all 10 sampled pages, near the top of contentLearn more
markdown-url-support7/7 sampled pages support .md URLs (100%)Learn more
content-negotiation7/7 sampled pages support content negotiation (100%)Learn more
http-status-codesAll 10 sampled pages return proper error codes for bad URLsLearn more
redirect-behaviorNo redirects detected across 10 sampled pagesLearn more

Built by Fern

Fern-powered docs are agent-ready by default.

Trusted by