data-migration
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Plan and (with confirmation) execute data migrations from AWS data services to GCP equivalents — RDS to Cloud SQL or AlloyDB, ElastiCache to Memorystore, S3 to GCS, MSK to GCP Kafka or Confluent Cloud — and the secrets/config moves that go with them. Produces per-data-system runbooks, replication plans, validation gates, and cutover scripts. Use after storage-translation, when "plan our RDS migration", "migrate Redis to Memorystore", or "data layer plan for the GKE move".
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Cure-Consulting-Group/ProductEngineeringSkillstheir own version, first seen Nov 4, 2026
- RBraga01/a-teamtheir own version, first seen Nov 1, 2026
- philtzjp/skillstheir own version, first seen Oct 28, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 13, 2026
- tejastn10/workbenchtheir own version, first seen Oct 13, 2026
- shaheershoaib/data-migrationtheir own version, first seen Sep 5, 2026
Used with
Projects with it also use incident-response.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
AnthropicSkillincident-response
Run an incident response workflow — triage, communicate, and write postmortem. Trigger with "we have an incident", "production is down", an alert that needs severity assessment, a status update mid-incident, or when writing a blameless postmortem after resolution.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- korchard333/claude-power-platform-community★ 46same name
- RBraga01/a-team★ 24same name
- muon-m2/magento2-tools★ 6same name
- Cure-Consulting-Group/ProductEngineeringSkills★ 3same name
- philtzjp/skills★ 2same name
- tejastn10/workbench★ 1same name
- Abdox-menara/guard-skills★ 0same name
- Jinbae10/skills★ 0same name
- shaheershoaib/data-migration★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository13 other files it gives its agents.
- eks-discoverySkill
- gke-landing-zoneSkill
- identity-translationSkill
- migration-assessmentSkill
- network-translationSkill
- observability-translationSkill
- portage-orchestratorSkill
- post-migration-opsSkill
- registry-migrationSkill
- rollback-playbookSkill
- storage-translationSkill
- traffic-cutoverSkill
- workload-translationSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
If the GKE workload needs to call back to the AWS data system during co-existence (and vice versa), plan:
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Data Migration Router
You plan and run the data layer of an EKS-to-GKE migration: managed databases, caches, queues, object storage, secrets. You produce per-system runbooks, then with explicit confirmation, drive the actual move.
Purpose
Convert "we have RDS Postgres, ElastiCache Redis, three S3 buckets, and MSK" into a moved, validated, observable GCP state — without dropping data, without unbounded downtime, and with a rollback path at every step. Routes database and data pipeline migration requests to specialized sub-procedures, ensuring all cross-cloud egress ([LFF-01]) and connectivity boundaries ([LFF-12], [LFF-13]) are validated prior to execution.
When to use this skill
- Phase 4 of a Portage migration.
- The user asks to "plan the data migration", "migrate RDS to Cloud SQL", "move S3 to GCS for the migration".
Prerequisites
01-discovery/inventory.jsondata dependencies section.02-assessment/readiness-report.mdwith effort estimate per system.03-landing-zone/plan.mdwith thedata-prodproject provisioned.- Egress Budget Sign-Off (
[LFF-01]): Section 7 ofreadiness-report.mdmust contain an executed model fromtools/egress-estimator/egress_estimator.py. - Deny-by-Default HITL Confirmation: Any mutation (
dms start-replication-task,gcloud sql instances promote) requires interactive confirmation displaying command line and cost estimates. - IAM permissions in source AWS for
dms:*(where DMS is in scope) and read on source data systems. - IAM permissions in GCP for the data services in scope (
cloudsql.admin,redis.admin, etc.).
Procedure
Step 1 — Route to Sub-Procedure by System Type
For each data system in inventory.json, identify the store type and delegate to the corresponding sub-module:
- PostgreSQL / Cloud SQL: See postgres.md (includes public DNS/IP SSL allowlisting,
[LFF-12],[LFF-13],[LFF-15]). - MySQL / Cloud SQL: See mysql.md (includes
GTID_MODEand binlog retention rules). - Redis / Memorystore: See redis.md (includes
RIOT-Xseed and cache stampede strategies). - S3 / GCS Storage Transfer: See s3.md (includes Storage Transfer Service incremental sync).
- Kafka / MSK Strimzi: See kafka.md (includes MirrorMaker 2 and consumer offset translation).
- Secrets Manager / Secret Manager: See secrets.md (includes External Secrets Operator bindings).
- DynamoDB / AlloyDB Re-platforming: See dynamodb.md (covers heterogeneous moves).
Step 2 — Co-existence connectivity
If the GKE workload needs to call back to the AWS data system during co-existence (and vice versa), plan:
- VPN or Cloud Interconnect between AWS VPC and GCP VPC.
- Allow-list updates to source data systems' security groups (allow GCP CIDRs).
- TLS / network policy parity.
- Bandwidth budget: project peak data movement at the planned co-existence window. Surface costs explicitly.
Step 3 — Per-system runbook with explicit gates
For each system, render a runbook (use templates/runbook-template.md) with:
- Pre-flight checklist.
- Cutover steps with expected commands and outputs.
- Validation gate after each step.
- Rollback procedure for each step (linking to
rollback-playbook). - Decommission steps and timing.
Step 4 — Drive the migration (with explicit confirmation)
For each system:
- Surface the full runbook to the user. Ask explicit confirmation: "Begin replication for
prod-payments-db? Estimated initial sync: 4–6 hours. Cost: $X." - On confirmation, execute step-by-step. After each step, run the validation gate. If a gate fails, stop, do not proceed.
- Log every command executed and its output to
10-data-migration/<system>/execution.log.
The agent never destructively modifies the source. The agent never bypasses a failed gate.
Decision points
| Decision | Default | When to deviate |
| Postgres / MySQL replication tool | DMS | pglogical native if DMS network constraints |
| Redis seed strategy | Rebuildable → empty target; durable → snapshot import | Online tail-based replication for true zero-downtime |
| S3 → GCS engine | Storage Transfer Service | gsutil/gcloud storage for one-shot, small datasets |
| MSK target | Confluent Cloud on GCP | Self-managed Kafka if cost or operator is fluent |
| DynamoDB target | Out of scope; re-platform project | (No default) |
| Soak duration on source | 14 days read-only | 7 days for non-prod, longer for tier-0 |
Outputs / Deliverables
10-data-migration/
├── plan.md # Index of all systems
├── <system-1>/
│ ├── runbook.md
│ ├── pre-flight-checks.md
│ ├── execution.log # Filled in during execution
│ ├── validation-gates.md
│ └── rollback.md # Links into rollback-playbook
├── <system-2>/
└── escalations.mdValidation
For each system, the cutover gate criteria must be defined and met before declaring complete:
- Postgres / MySQL: replication lag < target SLA for ≥ 5 min, row counts match for top 10 tables, sample row hashes match.
- Redis: target writeable + readable, app smoke tests pass on cached paths.
- S3 → GCS: object count matches, sample hashes match, lifecycle rules verified active on GCS.
- Kafka: consumer offset translation verified, MM2 lag ≈ 0, end-to-end produce → consume across both sides works.
Escalation triggers
- Heterogeneous data store moves (DynamoDB, Aurora→AlloyDB, Neptune, Redshift→BigQuery). Surface as scoping requirements.
- Datasets where the time-to-replicate exceeds the user's available window.
- Encryption key migrations that cannot reuse a CMEK approach (HSM-only key material). Surface for KMS planning.
- Any source data system with no acceptable cutover window AND no application-native replication. The migration stops until the user agrees to: (a) accept downtime, (b) rebuild downstream with new write-path, or (c) defer this system out of the migration.
Common pitfalls
- Egress during co-existence routinely runs 5–10× the unbudgeted estimate. Model it explicitly per-workload at assessment time and monitor near-real-time during execution. See LFF-01.
- Cross-cloud bulk transfer over open internet bottlenecks at default Linux TCP buffers. Tune
net.ipv4.tcp_{r,w}membefore measuring throughput; otherwise you'll mis-time the cutover window. See LFF-11. - Cloud SQL connection methods. Public IP is convenient but private IP via VPC peering or PSC is standard for prod. Use Cloud SQL Auth Proxy sidecar or Workload Identity-aware connector.
References
- Canonical sources: reference/sources.md.
- Database Migration Service overview.
- Storage Transfer Service.
- storage-translation — provides StorageClass, in-cluster volume strategies.
- traffic-cutover — sequences workload + data cutovers.
- rollback-playbook — gates failing during data migration cutover.
- docs/glossary.md — service map.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

