What problem does it solve?
This Skill automates the creation of a consistent infra/k8s/ directory using Kustomize to eliminate manual, error-prone authoring of Kubernetes manifests and environment overlays.
Core Features & Use Cases
- Kustomize layout generation: Produces a base plus development and production overlays with kustomization files.
- Standard resources: Generates Deployment, Service, ConfigMap, Ingress, and HPA manifests with sensible defaults and placeholders.
- Interactive input flow: Collects project name, namespace, app and health ports, health path, configmap values, secret names, and ingress hosts before generating files.
- Safety rules: Includes TODOs in ConfigMaps, comments for secrets, enforces lowercase-dashed project names, and never overwrites files without explicit confirmation.
- Use case: Initialize Kubernetes manifests for a new service to enable consistent dev and prod deployments and CI/CD integration.
Quick Start
Create the infra/k8s/ directory with Kustomize base, development, and production overlays using the project name, namespace, application and health ports, health path, and ingress hosts.