sanity-migration-helper

Community

Safely manage and validate Sanity data migrations.

AuthorPP-Namias
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill streamlines the process of writing, validating, and running data migrations in Sanity, ensuring smooth and secure updates to your database.

Core Features & Use Cases

  • Migration Management: Create, validate, and execute migrations for your Sanity database.
  • Dry-Run & Rollback: Preview changes before applying them and undo migrations if needed.
  • Idempotent Migrations: Run migrations multiple times without causing issues.
  • Logging & Validation: Detailed logs and pre-execution validation to catch errors early.
  • Use Case: If you need to add a new field to all project documents in your Sanity instance, this Skill will help you automate the process, validate it, and run it safely.

Quick Start

Run the migration to add a new field to all projects with the command: node scripts/sanity-migration-helper.mjs run add-new-field.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sanity-migration-helper
Download link: https://github.com/PP-Namias/Portfolio/archive/main.zip#sanity-migration-helper

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.