What problem does it solve?
This skill orchestrates the end-to-end preparation of Kubernetes environment infrastructure by parsing CLAUDE.md, syncing environment-specific configurations, and generating manifests for all 3rd party supporting applications in a single target environment, ensuring idempotent updates and environment isolation.
Core Features & Use Cases
- Automatically reads CLAUDE.md to extract project code, environments, and 3rd party apps.
- Creates or updates ENVIRONMENT.md with per-environment configs, credentials, and Docker image overrides.
- Generates Kubernetes manifests in the environment/ folder, including namespace, PVCs per service, StatefulSets, ConfigMaps, Secrets, and NodePort Services, with deterministic NodePort assignments.
- Ensures manifests reference environments and credentials from ENVIRONMENT.md and uses Declarative rules from CLAUDE.md for defaults and credentials.
- Supports idempotent re-runs with no removal or reordering of existing resources.
Quick Start
Run util-preparek8senv [environment] to parse CLAUDE.md, sync ENVIRONMENT.md, and generate Kubernetes manifests for the selected target environment.