depgen-k8slisted
Install: claude install-skill rashidee/co2-skills
# Deployment Artifact Generator — Kubernetes
This skill generates deployment artifacts for a custom application:
1. **Dockerfile** — A production-ready, multi-stage container build file placed in the
application root folder.
2. **Kubernetes manifests** — Manifest files stored directly in the application's own
`k8s/` folder for a **single target environment**. Since the `k8s/` folder is gitignored,
each machine maintains its own independent copy of the manifests with environment-specific
ConfigMap/Secret values (hostnames, credentials, resource limits).
**Note:** Only custom applications (from `# Custom Applications` in CLAUDE.md) are processed.
3rd party supporting applications and external services are NOT containerized by this skill.
## Inputs
```
/depgen-k8s <application> [environment]
```
| Argument | Required | Example | Description |
|----------|----------|---------|-------------|
| `<application>` | Yes | `hub_middleware` | Application name — must be a custom application from CLAUDE.md |
| `<environment>` | No | `home_server` | Target environment name — must match a Kubernetes environment in CLAUDE.md |
If `<environment>` is 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 t