Skip to content
sanity-io avatar

Sanity Migration

Plans, implements, and reviews migrations from AEM, Contentful, WordPress, Drupal, Markdown, and other systems into Sanity.

CCM score
71 of 100
skills.sh installs
25.5K
GitHub stars
203
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the migration workflow: content inventory, source-to-Sanity mapping, extraction, transform and import, validation, and cutover
  • Includes platform guides for AEM, Contentful, Strapi, Webflow, WordPress, Payload, Drupal, and Markdown/MDX, plus shared general principles
  • Enforces deterministic document IDs, idempotent reruns via createOrReplace or sanity datasets import --replace, and Portable Text instead of raw HTML bodies
  • Designed for teams replatforming content into Sanity that need count, reference, and redirect checks before declaring a migration done

Install

$ npx -y skills add sanity-io/agent-toolkit --skill sanity-migration -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Sanity Migration

Use this skill for CMS-to-Sanity migration work. Treat migration as a content strategy and ETL project, not a blind lift-and-shift.

Required Workflow

  1. Read references/general.md first.
  2. If the source platform is known, also read its guide:
    • AEM / Adobe Experience Manager: references/aem.md
    • Contentful: references/contentful.md
    • Strapi: references/strapi.md
    • Webflow: references/webflow.md
    • WordPress / WXR / Elementor: references/wordpress.md
    • Payload: references/payload.md
    • Drupal: references/drupal.md
    • Markdown / MDX / frontmatter files: references/markdown.md
  3. Before writing code, produce a short migration plan covering source access, content scope, schema decisions, extraction, transformation, import, validation, redirects, and cutover.
  4. Prefer deterministic, repeatable scripts for real migrations. Write and review migration scripts, mappings, and validation checks; do not rely on one-off content operations for large content volumes.

Deliverables to Produce

For implementation or planning tasks, produce these artifacts or explain why they are not needed:

Details

Repository
github.com/sanity-io/agent-toolkit
Categories
Databases, Workflow Automation
First seen
Jul 14, 2026

Questions

Which skill helps migrate content from other CMSes into Sanity?

The sanity-migration skill plans, implements, and reviews migrations into Sanity from systems such as AEM, Contentful, Strapi, Webflow, WordPress, Payload, Drupal, and Markdown or MDX files. It treats migration as a content strategy and ETL project rather than a blind lift-and-shift.

How do I install the sanity-migration skill?

Run npx -y skills add sanity-io/agent-toolkit --skill sanity-migration -y in your project. Once installed, the agent can produce migration plans covering extraction, transformation, import, validation, redirects, and cutover.

Which source systems does the sanity-migration skill cover?

The skill has dedicated guides for AEM, Contentful, Strapi, Webflow, WordPress and WXR exports, Payload, Drupal, and Markdown, MDX or frontmatter files. For other sources, it adapts the closest platform pattern, such as starting from Contentful for API-first CMSes.

Where does the sanity-migration skill rank in the Databases category?

On the Claude Marketplaces Databases category page, sanity-migration ranks in the top 50. Other skills that lead the category include the Supabase Postgres best practices skill and several Prisma skills.

More from sanity-io/agent-toolkit

All 7

Similar to Sanity Migration

More Databases