Skills
Skill 6 of 8
Plans, implements, and reviews migrations from other CMSes and content systems into Sanity.
3 minutes · 640 words · 7 sections
Install
npx skills add sanity-io/agent-toolkit --skill sanity-migrationnpx skills add sanity-io/agent-toolkit/plugin marketplace add sanity-io/agent-toolkitThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Use this skill for CMS-to-Sanity migration work. Treat migration as a content strategy and ETL project, not a blind lift-and-shift.
references/general.md first.references/aem.mdreferences/contentful.mdreferences/strapi.mdreferences/webflow.mdreferences/wordpress.mdreferences/payload.mdreferences/drupal.mdreferences/markdown.mdFor implementation or planning tasks, produce these artifacts or explain why they are not needed:
createOrReplace, createIfNotExists, or sanity datasets import --replace so reruns converge.defineType, defineField, and defineArrayMember if authoring Sanity schemas.For deeper Sanity implementation guidance, use sanity-best-practices if it is already available. If it is not installed, tell the user they can add it with:
npx skills add sanity-io/agent-toolkit --skill sanity-best-practicesStop before coding when any of these are unclear:
createIfNotExists/createOrReplace.Use references/general.md for shared migration principles and the platform references for source-specific extraction routes, modeling traps, and validation checks.
For source systems not explicitly covered, apply references/general.md and adapt the closest platform pattern:
references/markdown.md.Plans, implements, and reviews migrations from other CMSes and content systems into Sanity. Use when migrating or replatforming to Sanity from AEM, Adobe Experience Manager, Contentful, Strapi, Webflow, WordPress, Payload, Drupal, Markdown/MDX/frontmatter files, WXR/XML exports, CMS APIs, database dumps, static HTML, or when designing extraction, transformation, Portable Text conversion, asset migration, redirects, validation, and cutover workflows.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
main, last pushed 16 September 2026.SKILL.md, not by matching a directory convention. One layout observed: skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Sanity, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./sanity-io/agent-toolkit.md, and each skill at its own .md URL.9 files · 70 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 6.
Documentation the agent loads on demand, rather than up front.