Agent skill
k8s-templates
Provide starter files for a Kubernetes operator dev loop, including Tilt, Kustomize dev overlays, Make targets, and a minimal Dockerfile. Use when Codex needs to create or refresh local scaffolding around a Kubebuilder-style operator.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/k8s-templates
SKILL.md
Kubernetes Operator Templates
Copy or adapt the boilerplate under assets/ into the target repo.
Included Files
assets/Makefileassets/Tiltfileassets/Dockerfileassets/config/dev/kustomization.yamlassets/config/dev/manager_dev_patch.yaml
Adaptation Rules
- Change image names, module paths, and package paths to match the target repo.
- Keep the dev overlay on one replica with leader election disabled.
- Keep
allow_k8s_contexts(...)restricted to the intended local kind context. - Adjust the
go buildpackage path inTiltfileif the main package is not under./cmd. - If the container process is not PID 1, replace the live-update restart command with whatever actually restarts the manager.
Usage
- Copy the template files into the target repo.
- Copy the helper scripts from
$k8s-workflowinto the target repo or replace the Make targets with inline commands. - Update paths, image names, and namespace assumptions.
- Run
$k8s-workflowto use the templates in a full operator loop. - Read
references/template-notes.mdbefore changing the live-update behavior or overlay layout.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?