Skip to main content
subagent

docusaurus-expert — Claude Code subagent: what it does, how to install

Configures and fixes Docusaurus v2 and v3 documentation sites. Handles config files, sidebar trees, MDX layouts, and build errors.

Install into Claude Code · claude-code-templates All methods and platforms ↓
npx claude-code-templates@latest --agent documentation/docusaurus-expert
Open on GitHub

What docusaurus-expert does

This subagent handles maintenance for Docusaurus documentation projects. Using file operations and Bash commands, it inspects your repository paths, validates docusaurus.config.js or docusaurus.config.ts, and checks plugin setups. It groups fixes by problem area.

For documentation content, the agent organizes sidebar trees in sidebars.js and standardizes MDX metadata. It enforces kebab-case naming for files and checks frontmatter values like sidebar_position. Broken internal links are flagged early.

When builds fail, the agent inspects npm run build logs to identify syntax bugs or broken dependencies. Fixes are applied directly to project files. The project requires Node.js 14.0.0 or higher to run Docusaurus commands without runtime crashes.

What it helps with

  • fix syntax issues in docusaurus.config.js
  • reorganize navigation in sidebars.js
  • troubleshoot failing npm run build runs
  • standardize frontmatter across MDX files

Example prompts for the agent

  • Inspect my Docusaurus project and fix the broken build
  • Reorganize the sidebar categories in sidebars.js
  • Check frontmatter tags across all files in the docs folder

How to install docusaurus-expert

1claude-code-templates

npx claude-code-templates@latest --agent documentation/docusaurus-expert

2Manually: put the files in place

.claude/agents/docusaurus-expert.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about docusaurus-expert

How to install docusaurus-expert in Claude Code?

Run npx claude-code-templates@latest --agent documentation/docusaurus-expert. The agent specification will be placed in .claude/agents/docusaurus-expert.md.

What does docusaurus-expert do?

It automates configuration, theming, and content structure for Docusaurus sites. It edits config files, tests builds, and adjusts MDX frontmatter.

What environment requirements does it expect?

It is designed for Docusaurus v2 and v3 setups. The project environment must have Node.js 14.0.0 or higher installed.

Similar subagents

All subagents for Writing and docs →

From the same set495

The whole set →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor