util-preparek8senvlisted
Install: claude install-skill rashidee/co2-skills
# Util Prepare K8s Environment
Prepare Kubernetes infrastructure by generating K8s manifests for all 3rd party supporting
applications for a **single target environment**. Manifests are generated directly in the
`environment/` folder (no per-environment subfolders). Since the `environment/` folder is
gitignored, each machine maintains its own independent copy of the manifests.
## Input Resolution
This skill accepts an optional `<environment>` argument:
```
/util-preparek8senv [environment]
```
| Argument | Required | Example | Description |
|----------|----------|---------|-------------|
| `<environment>` | No | `home_server` | Target environment name — must match a Kubernetes environment in CLAUDE.md |
If omitted:
- If CLAUDE.md defines exactly **one** Kubernetes environment → auto-select it.
- If CLAUDE.md defines **multiple** Kubernetes environments → list them and ask the user to specify.
The environment name is matched **case-insensitively** against the environment headings in CLAUDE.md, accepting snake_case, kebab-case, or title-case input (e.g., `home_server`, `home-server`, `Home Server` all match `## Home Server`).
All other configuration is read from the project root:
| File | Purpose | Required |
|------|---------|----------|
| `CLAUDE.md` | Project detail, environments, 3rd party applications, rules | Yes |
| `ENVIRONMENT.md` | Per-environment configs and credentials for 3rd party apps | Created if missing |
| `DEVTOOL.md` | Local development tools (CLI p