Migrate Component banner
mongodb mongodb

Migrate Component

Development community

Description

--- description: Migrate a docs component from rST/Snooty AST to MDX. Usage: /migrate-component <component-name> --- You are helping an engineer migrate the **$ARGUMENTS** component from the rST/Snooty AST rendering system to MDX. This spans two packages. Work through the three phases below. At every **CHECKPOINT**, stop, summarize your findings or changes, and explicitly ask the engineer to confirm before continuing. --- ## Project Context **Converter package** — `platform/snooty-ast-to-mdx

Installation

Installs to ~/.claude/commands/mongodb-docs-migrate-component.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/mongodb/docs/HEAD/.claude/commands/migrate-component.md -o ~/.claude/commands/mongodb-docs-migrate-component.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository