Enables efficient, accurate retrieval of content from Fumadocs-powered documentation sites.
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.md for each page. Some sites also rewrite /docs/.../page.mdx or negotiate Accept: text/markdown to that URL via middleware.
Example:
Search API
The site exposes a JSON search endpoint:
GET /api/search?query=<search-term>
It returns structured results (usually an array of objects with title, excerpt, URL, and sometimes hierarchy).
When a user query involves a library, tool, framework, or project whose official documentation is hosted on a Fumadocs site:
/llms.txt)./llms.txt to obtain the full list of available pages..../content.md under /llms.mdx/docs/) or a .mdx suffix on the docs path if the site uses that pattern./api/search endpoint with a precise query.Prioritize these endpoints over scraping rendered HTML to minimize noise and maximize accuracy.