Skip to main content

validate-a-data-migration

Validate a data migration through source custody, mapping rules, record and control totals, invariants, exceptions, behavior, and rollback evidence. Use when deciding whether migrated data is safe to accept.

来源信息

仓库
protosphinx/sphinxstack
最近来源活动
2026年7月29日 13:55
检测到的 SKILL.md 语言
英语
星标
3
Forks
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
validate-a-data-migration
category
code
description
Validate a data migration through source custody, mapping rules, record and control totals, invariants, exceptions, behavior, and rollback evidence. Use when deciding whether migrated data is safe to accept.
# validate-a-data-migration Prove meaning and behavior, not only row counts. ## When to use - Use for database, storage, schema, tenant, vendor, or application migrations. - Do not repair the source or discard exceptions merely to make totals match. ## Procedure 1. Preserve source snapshot, extract query, filters, versions, hashes, and authoritative control reports. 2. Define source-to-target mapping, transformations, default values, exclusions, and acceptable tolerances. 3. Reconcile records, bytes, totals, nulls, duplicates, keys, relationships, and status by meaningful segment. 4. Test business invariants, historical boundaries, currencies, times, ordering, and referential integrity. 5. Sample high-risk, edge, random, and known records from target back to source. 6. Exercise create, read, update, delete, search, reporting, permission, and export behavior. 7. Record rejected, quarantined, transformed, missing, and ambiguous records with disposition. 8. Rehearse rollback or forward repair and revalidate after every correction. ## Done - A migration validation report reconciles mappings, counts, controls, invariants, exceptions, samples, and behaviors - Rollback or repair rehearsal plus rerun evidence proves the accepted target state
在 GitHub 查看