/devops:nginx-to-gatewayfrom devops
Orchestrates a two-phase migration from nginx Ingress to Gateway API by chaining nginx-to-traefik and gateway-api-migration skills against a single Kustomize module. Produces a combined index report.
Ships in devops. 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.
Read when SKILL.md points to them.
Invoked by Zeus pipeline *nginx-to-gateway.
| File | When to read |
|---|---|
references/chain-report-template.md | Step C.5 — index.md rendering |
| Phase | Skill | Notes |
|---|---|---|
| A | nginx-to-traefik | invoked with the env (or env+batch) passed by operator |
| B | gateway-api-migration | invoked with --source-class traefik --no-redirect --gateway-class <chosen> --source-state <A's state.yaml> |
Triggered explicitly by *nginx-to-gateway from Zeus. Not auto-triggered.
*nginx-to-gateway # interactive
*nginx-to-gateway <env> # full env, both phases
*nginx-to-gateway <env> --gateway-class traefik # default
*nginx-to-gateway <env> --gateway-class gke-l7-global-external-managed
*nginx-to-gateway <env> --resume
*nginx-to-gateway <env> --skip-a # phase A already done — resume from B
*nginx-to-gateway <env> --skip-b # only do phase A
| Step | Action | Halt condition |
|---|---|---|
| C.0 | Merged tool check (A's Step 0 ∪ B's Step 0) | any required tool missing |
| C.1 | Create chain run-dir docs/reports/nginx-to-gateway/<slug>/ with index.yaml | dir exists without --force |
| C.2 | Invoke skill A as a subroutine (writes its own state.yaml + report) | A's HALT |
| C.3 | Read A's outputs.traefikIngresses[]; record A's state path in chain index.yaml.phaseA | A produced zero outputs |
| C.4 | Invoke skill B with --source-class traefik --no-redirect --gateway-class <chosen> --source-state <A's state.yaml> | B's HALT |
| C.5 | Render combined index.md from references/chain-report-template.md | informational |
Run command -v for: kustomize, yq, git, python3, kubectl, jq.
HALT on any missing.
Slug format: <env>-<isodate>-<ulid> where ULID is generated locally.
Path: docs/reports/nginx-to-gateway/<slug>/. Initial index.yaml:
schemaVersion: 1
skillVersion: "1.0.0"
chainId: <ulid>
env: <env>
gatewayClass: <gatewayClass>
createdAt: <iso>
phaseA: { status: pending }
phaseB: { status: pending }
verdict: IN_PROGRESS
If the directory exists and --force is not set, HALT.
Spawn skill nginx-to-traefik as a subroutine (same operator session).
Pass through --resume if set. If skill A halts, set
index.yaml.phaseA.status: failed, index.yaml.phaseB.status: blocked,
index.yaml.verdict: FAIL, and HALT the chain.
If --skip-a was passed:
--phase-a-state <path> pointing at a completed
skill A state.yaml. Validate the file: verdict: COMPLETE and at least
one outputs.traefikIngresses[] entry. HALT otherwise.Read A's state file. Copy:
state.yaml.outputs.traefikIngresses[] → index.yaml.phaseA.traefikIngressesstate.yaml.steps."10".status → index.yaml.phaseA.cutover.statusindex.yaml.phaseA.statePathindex.yaml.phaseA.reportPathHALT if traefikIngresses[] is empty (A produced no outputs).
Spawn skill gateway-api-migration with arguments:
gateway-migrate <common.service/overlays/<env>> \
--source-class traefik \
--no-redirect \
--gateway-class <gatewayClass-from-C.1> \
--source-state <index.yaml.phaseA.statePath>
If skill B halts, set index.yaml.phaseB.status: failed,
index.yaml.verdict: FAIL. Resume re-runs C.4 only.
If --skip-b was passed, skip C.4 + C.5; set
index.yaml.phaseB.status: skipped, index.yaml.verdict: COMPLETED_A_ONLY,
HALT chain cleanly.
Load references/chain-report-template.md. Substitute {{ ... }}
variables from index.yaml. Write to index.md alongside index.yaml.
Set index.yaml.verdict: PASS if both phases completed, else
COMPLETED_WITH_MANUAL_REVIEW if any sub-skill had WARN-level findings,
else FAIL.
phaseB.status: blocked.--skip-a).index.yaml)schemaVersion: 1
skillVersion: "1.0.0"
chainId: <ulid>
env: dev
gatewayClass: traefik
createdAt: 2026-05-14T10:00:00Z
phaseA:
status: completed | failed | skipped
statePath: docs/reports/nginx-to-traefik/<slug-a>/state.yaml
reportPath: docs/reports/nginx-to-traefik/<slug-a>/report.md
traefikIngresses: [...]
phaseB:
status: completed | failed | skipped | blocked
statePath: docs/reports/gateway-migration/<slug-b>/state.yaml
reportPath: docs/reports/gateway-migration/<slug-b>/report.md
verdict: PASS | COMPLETED_WITH_MANUAL_REVIEW | COMPLETED_A_ONLY | FAIL
Note v1.11.0 vs v2.0.0: in v1.11.0 phase B writes to
docs/reports/gateway-migration/. After the v2.0.0 rename, the path
becomes docs/reports/ingress-to-gateway/. Skill C records whichever
the sub-skill produces — no special-casing.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub qwedsazxc78/devops-ai-skill --plugin devops12 skills in this plugin
/gateway-api-migrationMigrates Kustomize modules using NGINX Ingress to Gateway API resources. Dual-target: default Traefik (GatewayClass=traefik), opt-in GKE Gateway (--gateway-class gke-l7-global-external-managed). Handles master/minion topology (common.ingress/ + common.service/) as the primary case, with standalone Ingress as a fallback. Performs cluster-side preflight (CRDs, GatewayClass, policy CRDs, Traefik version probe on Traefik targets), deterministic discovery/analysis via bundled scripts, two-phase conversion with atomic rollback from full file backups, semantic diff of path and listener coverage, plus an ingress2gateway second-opinion cross-check. Renders a comprehensive report covering per-hostname mapping, TLS map, annotation inventory (translated/stubbed/unknown), risk register, cutover checklist, verification commands, and rollback procedures. Never modifies the master source; performs idempotent in-place edits only to common.service/overlays/<env>/kustomization.yaml.
/helm-version-upgradeManages Helm chart version upgrades across Terraform+Helm platforms. Handles atomic 3-file updates with version discovery from ArtifactHub. Use when upgrading Helm charts, checking for outdated versions, or performing version consistency checks.
/ingress-controller-installGitOps-flavored Traefik Ingress Controller bootstrap, env addition, or chart upgrade in a Kustomize + ArgoCD repo. Operates exclusively on files under `common.traefik/` (base, overlays, argocd manifests). Never runs `helm install` or `helm upgrade` — those are ArgoCD's job. Plan-only: edits Kustomize files, emits the `git add` / commit / push commands, and the operator drives git. Validates coexistence with `ingress-nginx` via Kustomize-build inspection (no live cluster required). Use for new-cluster bootstrap, adding a new env overlay, or bumping the Traefik chart version.
/ingress-migration-advisorRead-only planner that inventories every Ingress in a Kustomize repo, scores each service on five migration-readiness dimensions, and recommends one of four paths per service (direct-gateway, two-step, swap-only, defer). Output is a Mermaid Gantt plan plus ready-to-paste Zeus commands. Critical traffic-tier services are vetoed to defer. Services already on Traefik Ingress (sourceClass=traefik) auto-route to direct-gateway. Never mutates the repo; produces docs/reports/ ingress-migration-advisor/<slug>/plan.md and state.yaml. Use for end-of-life planning (ingress-nginx EOL 2025), migration sequencing, or per-service path advisory. Requires docs/ingress-tier-map.yaml in the consumer repo.
/kustomize-resource-validationAuto-trigger skill that activates when any kustomization.yaml file is edited. Validates resource references, patch references, orphaned files, cross-environment consistency, build success, and generator configurations.
/retire-nginxRetire the nginx ingress controller and all nginx Ingress resources from a Kustomize + ArgoCD repo after Gateway API / Traefik migration is complete. Supports single-env (dev/stg/prd) or all-envs retirement in one command. Use this skill whenever: removing nginx after migration, cleaning up dead nginx Ingress resources from a kustomize base, decommissioning the ingress-nginx controller ArgoCD Application for an env, or retiring nginx from one environment without touching others. Safety-gated: aborts if no HTTPRoutes/Traefik Ingresses found (migration not done). Uses $patch: delete in the service overlay kustomization to exclude base nginx Ingress resources per-env — base files stay intact for other envs still using them.
Other plugins' skills for the same job