validated-data-migration

Migrate mixed-format legacy files into a validated SQLite database with audit trails.

4|1|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill validated-data-migration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validated-data-migration
Source: https://github.com/m2ai-portfolio/m2ai-skills-pack/tree/main/skills/validated-data-migration
Command: npx skills add https://github.com/m2ai-portfolio/m2ai-skills-pack --skill validated-data-migration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams transform a shoebox of inconsistent source files (CSV, Excel, JSON, PDFs, VCF) into a clean, queryable SQLite database with a full audit trail and explicit provenance, reducing data quality risks during onboarding and integration.

Core Features & Use Cases

  • Intake and source-scans of mixed-format data to detect files, types, and estimated rows.
  • Schema discovery and a unified target schema with provenance fields, rejection logic, and merge rules.
  • Per-file migration with rejections, enum normalization, duplicate detection/merging, and conflict tracking, all auditable.
  • Phase-driven migration reports and a human-review queue to confirm correctness before shipping.

Quick Start

Define your source directory and run the migration to produce a SQLite database with complete provenance.

Frequently Asked Questions about validated-data-migration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate messy legacy files into a clean SQLite database?

Migrating mixed-format data (CSV, Excel, JSON, PDFs, VCF) into a clean SQLite database requires automated schema discovery, per-file validation, and deduplication. The migration process enforces strict provenance and auditability to ensure data quality during client onboarding.

What is data provenance and why does it matter during data migration?

Data provenance tracks the origin lineage of every record during data migration. It matters because it provides a full audit trail for source files, ensuring you can trace any row in the clean SQLite database back to its original legacy file for compliance and verification.

How do I handle data deduplication and conflicts when consolidating Excel and CSV files?

Handling data deduplication and conflicts when consolidating Excel and CSV files involves automated duplicate detection and merge rules. The system flags conflicting records and routes them to a human-review queue, ensuring accurate row-count reconciliation before finalizing the database.

Can I migrate mixed-format data like PDFs and VCF files into SQLite automatically?

Yes, you can migrate mixed-format data like PDFs and VCF files into SQLite automatically. The intake process detects file types and estimated rows, applies schema discovery, and validates each file individually to enforce a unified target schema with rejection tracking.

What is the best way to audit data quality when onboarding clients with inconsistent source files?

The best way to audit data quality when onboarding clients with inconsistent source files is to use a migration process that generates phase-driven reports and a human-review queue. This ensures strict auditability, source provenance, and row-count reconciliation before shipping.

Why are some records rejected during a data migration to SQLite?

Records are rejected during a data migration to SQLite when they fail per-file validation or violate the unified target schema. These rejections are tracked explicitly alongside merge rules and source provenance, allowing you to review data quality issues in a dedicated queue.