network-translation
Skill139 starsChanged 6 months agoApache-2.0View on GitHub
Translates Amazon Elastic Kubernetes Service (EKS) Application Load Balancer (ALB) Ingress annotations and AWS Web Application Firewall (WAF) configurations into Google Kubernetes Engine (GKE) Gateway API resources, Cloud Armor policies, and Google Cloud backend policies. Use when converting AWS ALB ingress annotations to GKE Gateway API and HTTPRoute resources. Don't use for IAM service account mapping or storage PVC remapping.
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- geoffsdesk/portagetheir own version, first seen May 8, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- geoffsdesk/portage★ 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 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-executionSkill
- app-migration-orchestratorSkill
- identity-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
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 82
Verify that all Ingress/Gateway classes, TLS certificates, and NetworkPolicy CIDRs referenced in the raw manifests have valid GKE and …
- Distinctive: line 94
When translating the workload manifests:
- Very specific: line 106
Use GKE-native policies (like HealthCheckPolicy or GCPBackendPolicy) for custom health checks and Cloud Armor configurations.
- Very specific: line 112
Update all rules/hostnames to map custom domains using domain_mappings.
≈ “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
Network translation
<!--
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
Automate the mapping and translation of Amazon Elastic Kubernetes Service (EKS) ALB (Application Load Balancer) Ingress annotations (external routing, path mapping, TLS termination, health check endpoints) and AWS WAF (Web Application Firewall) protection settings into Google Kubernetes Engine (GKE) Gateway API configuration resources.
When to use this skill
Trigger on:
- "Translate EKS ALB Ingress to GKE Gateway"
- "Map Ingress annotations to HTTPRoute rules"
- "Convert AWS WAF to Cloud Armor security policies"
Prerequisites
python3version 3.10 or later- Install dependencies listed in
scripts/requirements.txt:pip install --require-hashes -r scripts/requirements.txt - Path to handoff directory containing
workload-handoff.json(orworkload-handoff-namespace.json) andnetwork-map.json - Path to directory containing raw EKS manifests (
--raw-manifests-dir)
Assets and references
The following schema files under assets/schemas/ define the JSON contracts
used by this skill:
network-map.schema.json: Schema for validating network policy and ingress mappings.workload-handoff.schema.json: Schema for cluster-level workload handoff specifications.workload-handoff-namespace.schema.json: Schema for namespace-level workload handoff specifications.
The following reference documents under references/ provide translation
guidance:
- references/ingress_to_gateway_mapping.md: Guidance for converting EKS ALB Ingress rules to GKE Gateway API.
- references/cloud_armor_waf_rules.md: Guidance for translating AWS WAF rules to Google Cloud Armor policies.
The following dependency files under scripts/ are used by this skill:
scripts/requirements.in: Input dependencies for python validation scripts.scripts/requirements.txt: Hashed dependency lockfile for python validation scripts. Install using:pip install --require-hashes -r scripts/requirements.txt
Procedure
Step 1 — Validate network mapping completeness
Verify that all Ingress/Gateway classes, TLS certificates, and NetworkPolicy
CIDRs referenced in the raw manifests have valid GKE and Google Cloud target
mappings in network-map.json:
python3 scripts/validate_network_map.py \
--handoff-dir "${HANDOFF_DIR:-.}" \
--raw-manifests-dir "${RAW_MANIFESTS_DIR:-./raw-manifests}"Step 2 — Translate network resources
When translating the workload manifests:
- Ingress and Gateway Class mapping:
- Parse EKS
IngressorGatewayresources. - Replace the EKS
ingressClassName/gatewayClassName(orkubernetes.io/ingress.classannotations) with the corresponding GKEGatewayClassname fromclass_mappings.
- Parse EKS
- Route and Annotation translation:
- Translate EKS
Ingressresources into GKEGatewayandHTTPRouteresources (using portable fields for hostnames, paths, and backend references). - Strip AWS-specific annotations (
alb.ingress.kubernetes.io/*). - Use GKE-native policies (like
HealthCheckPolicyorGCPBackendPolicy) for custom health checks and Cloud Armor configurations.
- Translate EKS
- TLS Certificate mapping:
- Replace AWS ACM certificate ARNs or local TLS secret references with GKE
and Google Cloud certificate references using the
certificatesmap.
- Replace AWS ACM certificate ARNs or local TLS secret references with GKE
and Google Cloud certificate references using the
- Domain mapping:
- Update all rules/hostnames to map custom domains using
domain_mappings.
- Update all rules/hostnames to map custom domains using
- NetworkPolicy translation:
- Scan
NetworkPolicyresources for hardcoded EKS/AWS CIDR blocks. - Rewrite
ipBlock.cidrvalues using target Google Cloud VPC and subnet CIDRs fromcidr_mappings.
- Scan
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.

