read-docs
A specialized skill for exploring and retrieving accurate, clean content from documentation websites built with Fumadocs.
Fumadocs-powered sites typically expose three LLM-friendly features:
-
Page Discovery via llms.txt
The site provides a plain-text file at the root URL:/llms.txt.
This file contains a complete list of crawlable routes (one per line), often with comments or metadata indicating which paths are documentation pages. -
Processed Markdown for Docs Pages
Fumadocs templates often expose processed Markdown (plain Markdown derived from MDX) at/llms.mdx/docs/<path>/content.mdfor each page. Some sites also rewrite/docs/.../page.mdxor negotiateAccept: text/markdownto that URL via middleware.
Example:- Rendered page: https://example.com/docs/installation
- Markdown for LLMs: https://example.com/llms.mdx/docs/installation/content.md
Prefer this over scraping HTML when the site exposes it.
-
Search API
The site exposes a JSON search endpoint:
GET /api/search?query= It returns structured results (usually an array of objects with title, excerpt, URL, and sometimes hierarchy).