app-migration-execution
Skill139 starsChanged 6 months agoApache-2.0View on GitHub
Applies translated Google Kubernetes Engine (GKE) application manifests and coordinates storage provisioning, data migration, and workload exposure in a strict sequence with state persistence and recovery. Use when deploying validated translated manifests to a target GKE cluster. Don't use for manifest translation or platform cluster creation.
- Installs packages
In this repository45 other files it gives its agents.
- spanner-provisioningSkill
- ad-copywritingSkill
- brand-strategySkill
- platform-specsSkill
- trend-analysisSkill
- video-storytellingSkill
- visual-directionSkill
- ad-copywritingSkill
- brand-strategySkill
- platform-specsSkill
- trend-analysisSkill
- video-storytellingSkill
- visual-directionSkill
- code-reviewSkill
- documentationSkill
- idea-to-appSkill
- open-prSkill
- pre-commitSkill
- security-scanSkill
- unit-testsSkill
- modernize-dotnet-cloudrunSkill
- legacy-app-generatorSkill
- app-migration-orchestratorSkill
- identity-translationSkill
- network-translationSkill
- observability-translationSkill
- storage-translationSkill
- workload-translationSkill
- ingress2gatewaySkill
- eks-discoverySkill
- gke-landing-zoneSkill
- identity-translationSkill
- migration-assessmentSkill
- network-translationSkill
- observability-translationSkill
- platform-orchestratorSkill
- registry-migrationSkill
- storage-translationSkill
- validationSkill
- bigframes-bqmlSkill
- model-evaluationSkill
- pipeline-generatorSkill
- spark-lightning-optimizationSkill
- unified-model-registrySkill
- zero-copy-ingestionSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 75
Ensure the active kubectl context matches the target cluster.
- Distinctive: line 100
If not, proceed to Phase 3 with empty target volumes.
- Distinctive: line 116
If the migration script aborts or fails at any Phase:
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Application migration execution
<!--
Disabling markdownlint MD029 to provide explicit ordering to avoid
confusing the LLM.
--><!-- markdownlint-disable MD029 --><!--
Disabling markdownlint MD030 to allow the list overflowing to numbers
>=10.
--><!-- markdownlint-disable MD030 -->Purpose
Orchestrate the GKE deployment sequence for a translated Amazon Elastic Kubernetes Service (EKS) workload, enforcing verification gates, user approval steps, and utilizing local state persistence to enable recovery from execution failures.
When to use this skill
Trigger on:
- "Deploy the translated manifests to GKE"
- "Execute application migration execution phase"
- "Run the deployment sequence on GKE"
Prerequisites
python3version 3.10 or later- Install dependencies listed in
scripts/requirements.txt:pip install --require-hashes -r scripts/requirements.txt kubectlversion 1.30 or later- Path to directory containing translated GKE manifests, for example
./translated-manifests/ - Active target GKE cluster context configured in
kubectl
Assets and references
The following schema files under assets/schemas/ define the JSON contracts
used by this skill:
workload-handoff.schema.json: Schema for cluster-level workload handoff specifications.workload-handoff-namespace.schema.json: Schema for namespace-level workload handoff specifications.platform-handoff.schema.json: Schema for platform infrastructure handoffs.identity-map.schema.json: Schema for ServiceAccount identity mappings.image-map.schema.json: Schema for container image repository mappings.network-map.schema.json: Schema for ingress and network policy mappings.observability-map.schema.json: Schema for metrics and observability mappings.storage-map.schema.json: Schema for StorageClass mappings.
[!NOTE] When executing
scripts/execute_migration.py, the script automatically scans the handoff directory and validates all present handoff and mapping JSON specifications against the schemas above using Pythonjsonschemaprior to manifest deployment.
Procedure
Step 1 — Verify cluster connectivity
Ensure the active kubectl context matches the target cluster.
Step 2 — Run the deployment execution script
Execute the orchestrator script to manage the multi-phase deployment sequence:
python3 scripts/execute_migration.py \
--manifests-dir ./translated-manifests \
--namespace production-app \
--auto-approveThe script runs the sequence in 5 distinct Phases:
- Phase 1: Namespace and Identity: Includes
Namespace,ServiceAccount,CustomResourceDefinition, and RBAC resources. - Phase 2: Storage and Data Sync: Includes
StorageClass,PersistentVolumeClaim(PVC), andVolumeSnapshotresources.- Provisions GKE target volumes by applying the translated PVC and StorageClass manifests.
- Approval Gate: You MUST ask the user if they want to perform active data replication/sync. If approved, guide them through executing the replication using the strategies in pvc_migration_strategies.md. If not, proceed to Phase 3 with empty target volumes.
- Phase 3: Workloads Deployment: Includes
Deployment,StatefulSet,DaemonSet,Job, and custom workload operator resources. - Phase 4: Observability Integration: Includes
PodMonitoring,ClusterPodMonitoring, andServiceMonitorresources. - Phase 5: Network Exposure: Includes
Gateway,HTTPRoute,Service,Ingress, andNetworkPolicyresources.
[!NOTE] For any custom CRDs or third-party custom resources that fall outside standard built-in kinds, evaluate their function and place or organize them into the appropriate Phase directory or apply them during the relevant phase, for example CRD definitions in Phase 1, custom workload CRs in Phase 3, or custom network policies in Phase 5.
Step 3 — State recovery
If the migration script aborts or fails at any Phase:
- Resolve the underlying error, such as target resource limits, quota, or Identity and Access Management (IAM) configuration issues.
- Re-run the script with the same parameters.
- The script will automatically detect
migration-execution-state.jsonand prompt you to Resume (skip completed phases and verify dependencies) or Start Fresh.
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.

