mongodb

Migrate Component — Development skill for Claude Code

Development community

Migrate a docs component from rST/Snooty AST to MDX.

How to install Migrate Component

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.

What Migrate Component does


description: Migrate a docs component from rST/Snooty AST to MDX. Usage: /migrate-component

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

Alternatives in Development

Full documentation available on GitHub

View Source Repository