/devops-skills:cloud-migrationfrom devops-skills
Guides cloud migration planning using the 6 Rs (retire, retain, rehost, replatform, repurchase, refactor), phased cutover with rollback, and data sync strategies. Use when planning a migration, choosing a migration strategy, or designing cutover plans.
Ships in devops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A migration that copies the current architecture verbatim into a new provider ships the current architecture's problems to a new address, plus a new set of provider-specific quirks nobody has learned yet. The move itself is rarely the hard part; deciding what to actually change during the move is.
Every workload deserves an explicit choice among the 6 Rs before it gets touched, and every cutover deserves a rollback plan tested before the migration is called done. Decide what you're changing on purpose, and prove you can go back before you can't.
The 6 Rs — retire, retain, rehost, replatform, repurchase, refactor — are a forcing function against defaulting everything to "rehost" (lift-and-shift) because it's the least work upfront. Rehosting is often correct for low-value or soon-to-be-decommissioned systems; it's usually wrong for anything that will live for years, because it carries forward architectural debt at cloud prices instead of on-prem prices.
Done when: every workload in scope has an assigned R and a one-line reason for it.
Migrate low-risk, low-dependency workloads first to build confidence in the process and tooling, but track the full dependency graph so you don't strand a migrated service that still needs to call something on the old side. Cross-environment calls during migration usually mean higher latency and a temporary hybrid network — plan that connectivity explicitly rather than discovering it's needed mid-cutover.
Done when: the migration order respects the dependency graph and no step assumes a dependency has already moved when it hasn't.
For anything but the smallest datasets, a one-time copy means the data is stale the moment
traffic starts flowing on the old system after the copy began. Use continuous replication or
change-data-capture to keep source and target in sync until the actual cutover moment, then cut
over with a short, well-understood freeze window. See data-migration for the sync mechanics and
backup-and-restore for the safety net if the sync itself fails.
Done when: source and target data are verified consistent immediately before cutover, with a freeze window short enough to be acceptable to the business.
A cutover plan without a tested rollback is a bet with no exit. Know exactly how to redirect
traffic back to the old environment, how stale the old environment's data will be if you do, and
how long that rollback takes — before you need any of that under pressure. This is the same
discipline as deployment-strategies, applied to an environment-level cutover instead of a
release.
cutover checklist:
- [ ] traffic can be redirected back within <N> minutes
- [ ] old environment's data lag at rollback time is known and acceptable
- [ ] rollback has been rehearsed at least once, not just documented
Done when: rollback has been executed in a rehearsal, not just written down.
Route a small percentage of real traffic to the new environment before the full switch, and watch
error rates, latency, and cost against the old environment's baseline. A full cutover based only
on staging tests finds its problems in production, at full volume, with no comparison baseline.
For the traffic-shifting mechanics themselves, see progressive-delivery.
Done when: the new environment has served a canary slice of real production traffic within an acceptable error-rate band before full cutover.
A migration isn't done until the old environment is off — running both in parallel indefinitely doubles cost and doubles the surface for drift between them. Set a decommission date at the start of the migration and treat slipping it as a signal that something in the cutover isn't actually trusted yet.
Done when: the old environment is decommissioned, or the reason it's still running is written down with an end date.
State the R assigned to each workload and why, the data-sync approach and verified consistency at cutover, and the rollback rehearsal result. Name what was lifted-and-shifted unchanged despite being known technical debt — that carried-over debt is the honest cost of migration speed, and pretending it isn't there just defers the reckoning.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
cloud-migration, lift-and-shift, cutover-planning, data-sync, rollback
npx claudepluginhub arjunprabhulal/devops-skills --plugin devops-skills88 skills in this plugin
/alertingCovers designing alerts that page a human only when a human needs to act — symptom-based alerting over cause-based, multi-window burn-rate alerts on error budgets, severity tiers that route between page/ticket/dashboard, requiring every page to link a runbook, and tuning out alert fatigue. Use this whenever the user is writing a new alert rule, asking why on-call is paged too often or missing real incidents, choosing an alert threshold, or designing severity routing. For the SLO the burn-rate math comes from use `slo-definition`, and for what a runbook should contain use `runbooks`./api-gatewayCovers the managed front-door pattern for APIs — request routing, centralized auth, rate limiting and quotas, request/response shaping, and recognizing when a gateway helps versus becomes a bottleneck or single point of failure. Use this whenever the user is designing an API entry point, adding rate limits or quotas, centralizing auth for several backend services, transforming a request between an external and internal contract, or debugging a gateway timeout. For east-west traffic between internal services use `service-connectivity`, and for token issuance details use `iam-access-management`./argocd-operationsCovers running Argo CD day to day — structuring app-of-apps, choosing sync policies and waves, reading health versus sync status correctly, and unsticking a degraded or hung Application. Use this whenever the user mentions Argo CD, an Application stuck "Progressing" or "OutOfSync," app-of-apps or ApplicationSets, sync waves and hooks, or asks why a deploy shows synced but the workload is unhealthy. For the underlying model this tool implements use `gitops`; for automated canary analysis on top of it use `progressive-delivery`; for the workloads it manages use `kubernetes-operations`.