Use when migrating Docusaurus projects from v2 to v3 — upgrade @docusaurus/React/MDX/prism dependencies, rewrite MDX v1 syntax to v3 (escape bare { and <, fix autolinks), swap @tsconfig/docusaurus for @docusaurus/tsconfig, update Prism imports, and resolve React 18 breaking changes. Triggers on tasks involving MDX v1 to v3 migration, Docusaurus dependency updates, React 18 compatibility, or v2/v3 breaking changes.
72
88%
Does it follow best practices?
Impact
—
No eval scenarios have been run
Passed
No known issues
{
"@docusaurus/core": "^3.0.0",
"@mdx-js/react": "^3.0.0",
"prism-react-renderer": "^2.1.0",
"react": "^18.2.0"
}{ and < characters or wrap in code blocksThis migration edits dependencies and content across the project, so work on a clean tree and verify after the risky steps rather than at the end.
git switch -c migrate-v3) so you can diff and roll back.npx docusaurus-mdx-checker to identify MDX issues and note the count.{ < characters, convert GFM autolinks, use code fences. Then re-run npx docusaurus-mdx-checker and confirm it reports zero issues before moving on.@tsconfig/docusaurus with @docusaurus/tsconfig, update Prism importsnpm start, then npm run build. If the build fails, read the error, fix it, and re-run until clean.a592ffd
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.