AGENT SKILL
infra-k8s
Produce the smallest useful Kubernetes skeleton with kubeconform validation wired into project infra-check.
- License 许可
- MIT
- 最近更新
- 2026-08-08
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- infra-k8s
- description
- Produce the smallest useful Kubernetes skeleton with kubeconform validation wired into project infra-check.
03 SKILL.md 正文
Specialise: Kubernetes Infrastructure
Outcome
The smallest useful Kubernetes skeleton exists, is statically validated, and is never applied automatically.
Method
- Create a kustomize base plus overlay with pinned images, resource requests and probes.
project infra-checkwires static validation via kubeconform. When akustomization.yaml/kustomization.ymlis detected, it renders the overlay withkustomize buildand validates the rendered output — not the raw kustomize source directory. Kustomize overlays are strategic-merge patches that omit required fields (e.g. an image patch omittingspec.selector), so raw-directory validation would reject valid overlays. Plain manifest directories (k8s/,deploy/,manifests/with no kustomization) are validated directly, with no render step.- Offer kind or k3d for local smoke testing when Kubernetes is the deployment target.
Guards
- Never applied automatically.
- No cloud credentials required for validation.
- Add kubeconform to the Nix devshell so
project infra-checkcan validate; add kustomize too when the skeleton uses a kustomize base/overlay, since rendering happens before validation.
Do not
- Apply infrastructure from generic template CI.
- Require cloud credentials for static validation.
04 同仓库更多 Skills
agentic-template
Start or continue work in this repository using the canonical AGENTS.md contract and repository skill catalog.
★ 1
wiki-tidy
Reconcile the wiki against the knowledge graph, specs and code; prune stale, keep links resolving.
★ 1
update-handoff
Update HANDOFF.toon with current semantic work state.
★ 1
test-first
Drive meaningful behaviour changes with the smallest useful failing test.
★ 1
test-change
Select and run tests that prove a change at suitable fidelity.
★ 1
specify
Create proportional OpenSpec-shaped structured change proposals for meaningful changes.
★ 1