migration-validator

Validate database migrations with multi-layered checks and Playwright UI testing.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/ComparePower/payload-cms-cloudflare-baseline --skill migration-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: migration-validator
Source: https://github.com/ComparePower/payload-cms-cloudflare-baseline/tree/main/.claude/skills/migration-validator
Command: npx skills add https://github.com/ComparePower/payload-cms-cloudflare-baseline --skill migration-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires payload, playwright, pnpm, and includes scripts (resource) components.

What problem does it solve?

Data migrations are complex and often lead to hidden errors, data inconsistencies, or broken UI. This skill provides a multi-layered validation approach to comprehensively verify migration success, preventing post-migration issues and ensuring data integrity.

Core Features & Use Cases

  • Multi-Layered Validation: Verifies data at the database level (counts, required fields, soft-delete), relationship integrity, and even through Admin UI testing using Playwright.
  • Comprehensive Reporting: Generates detailed reports highlighting passed layers, errors, and warnings, providing a clear overview of migration health.
  • Use Case: After migrating a large Providers dataset to Payload CMS, use this skill to confirm that all 157 records are present, required fields are populated, relationships are intact, and the records display correctly in the Payload Admin UI.

Quick Start

Validate the 'products' collection migration, expecting 500 records, and include admin UI testing.