Skip to content
Back to skills

Data Migration Validator

ASecurity

Validate data integrity during and after migration with comprehensive verification checks

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 2, 2026
ai-agentsbashsqlrefactoringapidatabasebackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add a5c-ai/babysitter --skill data-migration-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Migration Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Data Migration Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-data-migration-validator-babysitter/badge)](https://www.skillsdirectory.com/skills/a5c-ai-data-migration-validator-babysitter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: data-migration-validator
description: Validate data integrity during and after migration with comprehensive verification checks
allowed-tools: ["Bash", "Read", "Write", "Grep", "Glob", "Edit"]
graph:
  domains: [domain:software-engineering]
  specializations: [specialization:code-migration-modernization]
  skillAreas: [skill-area:database-migrations-zero-downtime, skill-area:schema-evolution]
  roles: [role:data-engineer, role:backend-engineer]
  workflows: [workflow:technical-debt-reduction]
  topics: [topic:refactoring]
---

# Data Migration Validator Skill

Validates data integrity throughout the migration process with comprehensive verification checks and reconciliation reporting.

## Purpose

Enable data validation for:
- Row count validation
- Checksum verification
- Sample data comparison
- Referential integrity checking
- Business rule validation

## Capabilities

### 1. Row Count Validation
- Compare source/target counts
- Track by table/partition
- Identify discrepancies
- Generate count reports

### 2. Checksum Verification
- Calculate table checksums
- Compare hash values
- Identify data drift
- Verify data consistency

### 3. Sample Data Comparison
- Random sample selection
- Field-by-field comparison
- Statistical sampling
- Confidence scoring

### 4. Referential Integrity Checking
- Verify foreign keys
- Check orphaned records
- Validate relationships
- Report violations

### 5. Business Rule Validation
- Apply custom rules
- Check data constraints
- Verify transformations
- Validate calculations

### 6. Reconciliation Reporting
- Generate audit reports
- Track discrepancies
- Document exceptions
- Provide sign-off reports

## Tool Integrations

| Tool | Purpose | Integration Method |
|------|---------|-------------------|
| Great Expectations | Data validation | Library |
| dbt tests | Transform validation | CLI |
| Custom SQL | Database checks | CLI |
| DataGrip | Manual verification | GUI |
| Apache Griffin | Data quality | API |

## Output Schema

```json
{
  "validationId": "string",
  "timestamp": "ISO8601",
  "results": {
    "rowCounts": {
      "tables": [
        {
          "name": "string",
          "source": "number",
          "target": "number",
          "match": "boolean"
        }
      ]
    },
    "checksums": {
      "tables": [],
      "overall": "string"
    },
    "samples": {
      "checked": "number",
      "matched": "number",
      "discrepancies": []
    },
    "referentialIntegrity": {
      "valid": "boolean",
      "violations": []
    },
    "businessRules": {
      "passed": "number",
      "failed": "number",
      "failures": []
    }
  },
  "summary": {
    "status": "passed|failed|warning",
    "score": "number"
  }
}
```

## Integration with Migration Processes

- **database-schema-migration**: Post-migration validation
- **cloud-migration**: Data validation

## Related Skills

- `schema-comparator`: Pre-migration comparison
- `etl-pipeline-builder`: Migration execution

## Related Agents

- `data-integrity-validator`: Orchestrates validation
- `database-migration-orchestrator`: Uses for verification

Files in this skill

  • README.md1.4 KB
  • SKILL.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…