Data Migration Planner
Plan, execute, and validate data migrations between systems. Covers schema mapping, ETL pipeline design, rollback strategies, and post-migration validation.
About this skill
The Data Migration Planner is an AI agent skill designed to systematically plan, execute, and validate data migrations between disparate systems. It guides the AI agent through a comprehensive process, starting with mapping source to target schemas, including field-level transformation rules. The skill then generates a detailed ETL (Extract, Transform, Load) pipeline plan, outlining phases like staging, cleaning, and loading, while also producing validation queries for data integrity and a robust rollback strategy. This skill is invaluable for scenarios requiring data transfer between different platforms, such as migrating customer data from Salesforce to HubSpot CRM, moving database records from MySQL to PostgreSQL, or integrating legacy ERP data into a new system. By leveraging this skill, users can ensure that their AI agent meticulously covers all critical aspects of data migration, from initial discovery and schema design to post-load verification and error handling. It empowers AI agents to act as a project manager for data migration, automating the creation of essential documentation like a migration runbook with go/no-go gates. This structured approach significantly reduces the complexity and risk associated with data migration projects, enhancing data quality and providing clear audit trails, making it an indispensable tool for data professionals.
Best use case
This skill's primary use case is to provide a structured, comprehensive framework for AI agents to plan and manage complex data migration projects. It is most beneficial for data engineers, IT project managers, and system integrators who need to move data reliably between different software systems or databases, ensuring data integrity, minimizing downtime, and establishing clear rollback procedures.
Plan, execute, and validate data migrations between systems. Covers schema mapping, ETL pipeline design, rollback strategies, and post-migration validation.
Users can expect to receive a comprehensive data migration plan, including schema maps, an ETL pipeline design, validation queries, a rollback strategy, and a detailed migration runbook.
Practical example
Example input
Plan a migration from Salesforce to HubSpot CRM.
Example output
A multi-phase data migration plan outlining discovery findings, a detailed schema map (CSV/table format) with transformation rules, an ETL pipeline design, validation queries (SQL/pseudo-code), a rollback strategy, and a migration runbook with go/no-go gates.
When to use this skill
- When planning a data migration between different software systems (e.g., CRM, ERP, databases).
- To systematically map complex source and target schemas, including transformation rules.
- When you need a detailed ETL pipeline plan with staging, cleaning, and loading phases.
- To generate comprehensive validation checks and a robust rollback strategy for a migration.
When not to use this skill
- For simple data imports where schema mapping and complex transformations are not required.
- For real-time data synchronization or ongoing data integration needs, as this focuses on one-time migrations.
- If you only need to execute a pre-defined migration script without planning or validation.
- When the data volume is very small, and the risk of error is negligible.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/afrexai-data-migration/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How Data Migration Planner Compares
| Feature / Agent | Data Migration Planner | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | easy | N/A |
Frequently Asked Questions
What does this skill do?
Plan, execute, and validate data migrations between systems. Covers schema mapping, ETL pipeline design, rollback strategies, and post-migration validation.
How difficult is it to install?
The installation complexity is rated as easy. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
SKILL.md Source
# Data Migration Planner Plan, execute, and validate data migrations between systems. Covers schema mapping, ETL pipeline design, rollback strategies, and post-migration validation. ## What It Does Given source and target system details, this skill: 1. Maps source → target schemas with field-level transformation rules 2. Generates an ETL pipeline plan with staging, transform, and load phases 3. Creates validation queries (row counts, checksum, referential integrity) 4. Builds a rollback plan with point-of-no-return criteria 5. Produces a migration runbook with go/no-go gates ## Usage Tell your agent: - "Plan a migration from Salesforce to HubSpot CRM" - "Create a data migration runbook for moving from MySQL to PostgreSQL" - "Map our legacy ERP data to the new system schema" ## Migration Framework ### Phase 1: Discovery - Inventory all source tables/objects and record counts - Document data types, constraints, and relationships - Identify data quality issues (nulls, duplicates, orphans) - Map business rules that affect data interpretation ### Phase 2: Schema Mapping For each source entity, document: | Source Field | Type | Target Field | Type | Transform | Notes | |---|---|---|---|---|---| | (field) | (type) | (field) | (type) | (rule) | (edge cases) | ### Phase 3: ETL Pipeline ``` Extract → Stage (raw) → Clean → Transform → Validate → Load → Verify ``` - **Extract**: Full vs incremental, API vs direct DB, rate limits - **Stage**: Raw landing zone, no transforms, audit trail - **Clean**: Dedup, null handling, encoding fixes - **Transform**: Type conversions, lookups, calculated fields - **Validate**: Pre-load checks (counts, checksums, business rules) - **Load**: Batch size, parallelism, error handling - **Verify**: Post-load reconciliation ### Phase 4: Validation - Row count match (source vs target, per table) - Checksum validation on key columns - Referential integrity checks - Business rule validation (e.g., all active accounts migrated) - User acceptance sampling (random 5% manual review) ### Phase 5: Cutover - Go/no-go criteria checklist - Point-of-no-return definition - Rollback procedure and time estimate - Communication plan (users, stakeholders) - Parallel run period (if applicable) ## Risk Factors - **Data volume**: >10M rows = batch strategy required - **Downtime window**: Zero-downtime needs CDC/dual-write - **Data quality**: Garbage in = garbage out. Clean BEFORE migrating - **Dependencies**: Other systems reading from source during migration - **Compliance**: GDPR/HIPAA data handling during transit ## Output Format Deliver a migration runbook as structured markdown with: 1. Executive summary (what, why, when, risk level) 2. Schema mapping tables 3. ETL pipeline specification 4. Validation test suite 5. Cutover runbook with rollback 6. Timeline with milestones ## Cost Estimation Typical migration costs by complexity: - Simple (1-5 tables, <1M rows): $5K-$15K or 1-2 weeks internal - Medium (10-50 tables, 1-10M rows): $25K-$75K or 1-2 months - Complex (50+ tables, 10M+ rows, multiple systems): $100K-$500K or 3-6 months --- **Built by [AfrexAI](https://afrexai-cto.github.io/context-packs/)** — AI Context Packs for business automation. Calculate your AI automation ROI: [Revenue Calculator](https://afrexai-cto.github.io/ai-revenue-calculator/)
Related Skills
Event Planner Pro
Plan, execute, and measure business events — conferences, webinars, workshops, product launches, networking events, trade shows, and corporate gatherings. Complete event lifecycle from concept to post-event ROI analysis.
Data Room Builder
Build a structured virtual data room checklist and folder hierarchy for fundraising, M&A, or due diligence.
Change Management Planner
Plan, communicate, and execute organizational change with structured frameworks. Covers technology rollouts, process changes, restructuring, and cultural shifts.
Capacity Planner
Plan team and infrastructure capacity before it becomes a crisis.
Budget Planner
Plan and track budgets using your AI agent. Works for personal finance, project budgets, or department spending.
agent-autonomy-kit
Stop waiting for prompts. Keep working.
Meeting Prep
Never walk into a meeting unprepared again. Your agent researches all attendees before calendar events—pulling LinkedIn profiles, recent company news, mutual connections, and conversation starters. Generates a briefing doc with talking points, icebreakers, and context so you show up informed and confident. Triggered automatically before meetings or on-demand. Configure research depth, advance timing, and output format. Walking into meetings blind is amateur hour—missed connections, generic small talk, zero leverage. Use when setting up meeting intelligence, researching specific attendees, generating pre-meeting briefs, or automating your prep workflow.
obsidian
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli. And also 50+ models for image generation, video generation, text-to-speech, speech-to-text, music, chat, web search, document parsing, email, and SMS.
Obsidian CLI 探索记录
Skill for the official Obsidian CLI (v1.12+). Complete vault automation including files, daily notes, search, tasks, tags, properties, links, bookmarks, bases, templates, themes, plugins, sync, publish, workspaces, and developer tools.
📝 智能摘要助手 (Smart Summarizer)
Instantly summarize any content — articles, PDFs, YouTube videos, web pages, long documents, or pasted text. Extracts key points, action items, and insights. Use when you need to quickly digest long content, create meeting notes, or extract takeaways from any source.
Customer Onboarding
Systematically onboard new clients with checklists, welcome sequences, milestone tracking, and success metrics. Reduce churn by nailing the first 90 days.
CRM Manager
Manages a local CSV-based CRM with pipeline tracking