Migration Validator
Testing & Qualitymigration-validatorMigration Validator is an Agent Skill for testing & quality published in the a5c-ai/babysitter repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Validate functional equivalence after migration with side-by-side comparison and behavioral verification
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/a5c-ai/babysitter/blob/HEAD/library/specializations/code-migration-modernization/skills/migration-validator/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/migration-validator, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Migration Validator Skill
Validates functional equivalence between source and target systems after migration through comprehensive comparison and behavioral verification.
Purpose
Enable migration validation for:
- Side-by-side comparison
- Output diffing
- Behavioral verification
- Data consistency checking
- Acceptance criteria verification
Capabilities
1. Side-by-Side Comparison
- Run parallel requests
- Compare responses
- Track differences
- Document discrepancies
2. Output Diffing
- Compare API responses
- Diff file outputs
- Check data formats
- Validate transformations
3. Behavioral Verification
- Test user flows
- Verify business logic
- Check edge cases
- Validate error handling
4. Data Consistency Checking
- Compare data states
- Verify calculations
- Check relationships
- Validate constraints
5. Integration Validation
- Test external integrations
- Verify API contracts
- Check message flows
- Validate events
6. Acceptance Criteria Verification
- Check feature completeness
- Verify requirements
- Validate user stories
- Document coverage
Tool Integrations
| Tool | Purpose | Integration Method |
|---|---|---|
| Diffy | Response comparison | API |
| Contract testing | API verification | CLI |
| Cypress | E2E validation | CLI |
| Playwright | Browser testing | CLI |
| Custom validators | Business rules | CLI |
Output Schema
{
"validationId": "string",
"timestamp": "ISO8601",
"source": {
"environment": "string",
"version": "string"
},
"target": {
"environment": "string",
"version": "string"
},
"results": {
"total": "number",
"passed": "number",
"failed": "number",
"skipped": "number"
},
"comparisons": [
{
"test": "string",
"status": "passed|failed",
"source": {},
"target": {},
"differences": []
}
],
"acceptance": {
"criteria": [],
"met": "boolean"
}
}
Integration with Migration Processes
- migration-testing-strategy: Validation execution
- parallel-run-validation: Parallel comparison
Related Skills
performance-baseline-capturer: Performance comparisondata-migration-validator: Data validation
Related Agents
parallel-run-validator: Parallel validationregression-detector: Regression detection