homelab-new-repolisted
Install: claude install-skill Pirat83/claude-code-skills
# Adding a cluster-content repo to the home lab
This automates the checklist in `flux-system/README.md`. Most of it is mechanical, and the
mechanical part is exactly where it has gone wrong before: the three most recently created repos
all silently missed `.claude/settings.json`, and a repo built by copying a sibling by eye shipped
two naming defects. The template fixes what can be inherited; this skill fixes what has to be
generated or created in the cluster.
## What you cannot decide for the user
Ask before doing anything. These are the only real inputs, and guessing either one produces a repo
that looks right and fails later:
1. **The name.** Repository name == namespace name, always. It is also the `secretRef.name` and the
`sourceRef.name` — one token, `NAME`, drives every mechanical field and two filenames.
2. **What it `dependsOn`.** `kube-system` is always there (it carries sealed-secrets, without which
no SealedSecret in the repo ever unseals). Anything else depends on what the repo contains — a
Postgres `Cluster` needs `cnpg-system`, a `Redis` needs `redis-operator`, a plain HelmRelease
usually needs nothing more. **Ask; do not infer from the name.** Get this wrong and the objects
are applied before their CRDs exist, and the Kustomization fails in a way that reads like a
manifest error.
## The sequence
```shell
gh repo create Blue-Sharp/NAME --private --template Blue-Sharp/homelab-template
gh repo edit Blue-Sharp/NAME --add-topic homelab --a