Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Gives authoritative guidance for building documentation sites with the Fumadocs framework, covering core, MDX content, and UI layouts.
35% 87%+52 ptsof test cases passed
Passed 20 of 23 test cases with the skill, and 8 of 23 without it.
3 of 3 safety checks passed
16 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Fumadocs is a docs framework for React: it sits inside Next.js / React Router / TanStack Start / Waku and combines three independently usable packages.
| Package | Role | Skip when |
|---|---|---|
fumadocs-core | Headless engine: loader(), page tree, MDX plugins, search adapters, i18n primitives | never (always required) |
fumadocs-mdx | Content source: compiles content/**/*.mdx + meta.json into typed .source/ collections | replaced by @fumadocs/local-md, @fumadocs/mdx-remote, or a custom source |
fumadocs-ui | Opinionated theme: RootProvider, layouts, MDX defaults, search dialog (Tailwind v4) | building a fully bespoke UI on top of fumadocs-core |
Server-first via React Server Components. Static export is opt-in. Edge runtime is unsupported.
Step 1: Identify the task class
Map the user's request to one of these classes, then load the matching reference:
| Class | Trigger phrases | Reference |
|---|---|---|
| Bootstrap a project | "scaffold", "set up Fumadocs", "install in ", "create-fumadocs-app" | references/01-install-and-setup.md |
| Routing / file conventions | meta.json, pages directives, slug rules, root folders, page tree | references/02-source-and-page-tree.md |
| MDX configuration | source.config.ts, defineDocs, defineCollections, async / dynamic mode, plugin order, typegen | references/03-mdx-pipeline.md |
| UI layouts / components / MDX wiring | DocsLayout/Notebook/Flux/Home, RootProvider, mdx-components.tsx, theming, MDX overrides | references/04-ui-layouts-and-components.md |
| Search / i18n | adapter selection, search dialog, locale routing, middleware | references/05-search-and-i18n.md |
| OpenAPI / OG / AI / content sources / guides | <APIPage>, generateFiles, OG image route, llms.txt, Ask AI, local-md, mdx-remote, PDF/EPUB/RSS | references/06-integrations.md |
| Debugging an existing setup | "broken", "blank sidebar", "404", "build fails", "weird hydration" | references/07-pitfalls.md |
If the task spans multiple classes, load the references in the order shown above (setup → tree → MDX → UI → search/i18n → integrations).
Step 2: Confirm the package surface in use
Before recommending code, check which Fumadocs surface the project actually uses. Read these files (paths are conventional, not absolute):
package.json — confirm fumadocs-core, fumadocs-mdx, fumadocs-ui versions and which adapter is installed (next, @react-router/..., @tanstack/react-start, waku).source.config.ts (Fumadocs MDX) or lib/source.ts (low-level loader()) — determines whether the project uses the bundler-backed MDX path or a runtime source (local-md, mdx-remote, custom).app/<segment>/[[...slug]]/page.tsx; React Router: routes/docs/$.tsx or route('docs/*', ...); TanStack Start: routes/docs/$.tsx; Waku: pages/docs/[...slugs].tsx.fumadocs-ui/provider/{next,react-router,tanstack,waku} MUST match the framework.fumadocs-ui/css/<theme>.css) and fumadocs-ui/css/preset.css imports.Preview what this skill puts in front of your model, and check which requests trigger it. No model call, no sign-up.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus popular skills in the same category.