docusaurus-v2-to-v3-migration

Automate Docusaurus v2 to v3 migration with pre-checks, dependency updates, MDX fixes, and validation.

1|Updated Dec 18, 2025
One-click install
npx skills add https://github.com/mcclowes/omg --skill docusaurus-v2-to-v3-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docusaurus-v2-to-v3-migration
Source: https://github.com/mcclowes/omg/tree/main/docusaurus/.claude/skills/docusaurus-migration
Command: npx skills add https://github.com/mcclowes/omg --skill docusaurus-v2-to-v3-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the complex, error-prone process of manually migrating Docusaurus projects from v2 to v3, saving you hours of debugging and configuration headaches.

Core Features & Use Cases

  • MDX v3 Migration: Automatically identify and fix breaking syntax changes.
  • Dependency Updates: Handle all required package upgrades automatically.
  • Migration Validation: Run comprehensive checks to ensure your upgrade is successful and production-ready.

Quick Start

Analyze my current Docusaurus project and generate a step-by-step migration plan from v2 to v3.

Core Features & Use Cases

  • MDX v3 Migration: Automatically identify and fix breaking syntax changes.
  • Dependency Updates: Handle all required package upgrades automatically.
  • Migration Validation: Run comprehensive checks to ensure your upgrade is successful and production-ready.

Quick Start

Scan my Docusaurus project for MDX v1 to v3 compatibility issues.

Frequently Asked Questions about docusaurus-v2-to-v3-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate a Docusaurus v2 project to v3?

Docusaurus v3 migration involves pre-checks using docusaurus-mdx-checker, upgrading dependencies to v3-compatible versions, fixing MDX syntax breaking changes (escaped braces and backticks), updating docusaurus.config.js and TypeScript config, adjusting Prism imports, then validating with npm start and npm run build.

What breaking changes happen when upgrading from Docusaurus v2 to v3?

The primary breaking changes are MDX v3 syntax incompatibilities requiring brace and backtick escaping, dependency version updates, configuration rewrites in docusaurus.config.js and TS settings, and Prism import adjustments that must be addressed before v3 deployment.

Can I automate Docusaurus v2 to v3 migration?

Yes. Automated migration handles MDX v3 compatibility fixes, dependency upgrades, configuration updates, and Prism import changes automatically, then runs validation checks to ensure the upgrade succeeds and your project builds without errors.

Do I need to manually fix MDX syntax when upgrading Docusaurus?

Docusaurus v3 requires MDX v3 compatibility changes, including escaped braces and backticks. Automated migration identifies and fixes these breaking syntax changes, eliminating manual debugging and ensuring your content renders correctly.

What happens if my Docusaurus v2 project has MDX compatibility issues?

MDX v1 to v3 incompatibilities cause build failures. Pre-migration checks detect these issues early, and automated fixes escape incompatible syntax, update dependencies, and rewrite configurations so your project compiles and runs successfully.

How do I validate a Docusaurus v3 migration is production-ready?

Migration validation runs comprehensive checks including npm start for local dev server verification and npm run build for production compilation, ensuring all dependencies upgrade correctly, MDX syntax resolves, and configurations work end-to-end.