Lightlines
By sanity-io

sanity-migration

sanity-io

Move legacy content into a durable Sanity model.

content migration

What it does

Plans, implements, and reviews migrations from other CMSes and content systems into Sanity.

When to use it

Use it for CMS-to-Sanity migration work, including extraction, transformation, asset migration, redirects, validation, and cutover.

How to use it

Give it a source platform and content scope in a project; it produces migration plans, mappings, scripts, validation checks, and cutover artifacts.

What you provide

  • source platform
  • content scope
  • An existing project

Uses


Access · 2

This skill

Sanity dataset

Write

Imports and replaces content (irreversible)

@portabletext/markdown

Execute

Installs the Markdown converter

Good to know

  • cannot be undone: Sanity dataset

What you need · 5

A target Sanity project and dataset, or a decision to use a scratch dataset, must be identified before coding.

Source access credentials must be clarified before coding; the files do not specify how they are obtained.

Credentials for the target Sanity project or dataset must be available when target access is needed; the files do not specify how they are obtained.

The package is needed for the documented direct Markdown-to-Portable Text conversion path.


About this skill

Visibility
Public
Repository
sanity-io/agent-toolkit
Created
Oct 8, 2026
Updated
Oct 8, 2026
Files
10