Skip to content
akin-ozer avatar

K8s Yaml Generator

Generate Kubernetes manifests with CRD lookup, quality defaults, and mandatory validation before delivery.

CCM score
57 of 100
skills.sh installs
737
GitHub stars
345
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet, and custom resources, with a bounded CRD research workflow
  • Applies safe defaults such as default namespace, 2 replicas, ClusterIP services, and non-root securityContext
  • Requires validation of full manifests via k8s-yaml-validator, with fallbacks to yamllint, kubeconform, and kubectl dry-runs
  • Designed for building or updating Kubernetes YAML for production-ready workloads, not for validation-only requests

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill k8s-yaml-generator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Kubernetes YAML Generator

Generate Kubernetes manifests with deterministic steps, bounded CRD research, and mandatory validation for full-resource output.

Trigger Guidance

Use this skill when the user asks to create or update Kubernetes YAML, for example:

  • "Generate a Deployment + Service manifest for my app."
  • "Create an Argo CD Application CRD."
  • "Write a StatefulSet with PVC templates."
  • "Produce production-ready Kubernetes YAML with best practices."

Do not use this skill for validation-only requests. For validation-only work, use k8s-yaml-validator.

Execution Model

Normative keywords:

  • MUST: required
  • SHOULD: default unless user requests otherwise
  • MAY: optional

Deterministic sequence:

  1. Preflight request and path/rendering sanity.
  2. Capture minimum required inputs.
  3. Resolve CRD references (bounded workflow only when CRD/custom API is involved).
  4. Generate YAML with baseline quality checks.
  5. Run mandatory validation (or documented fallback path when tooling is unavailable).
  6. Deliver YAML plus explicit validation report and assumptions.

If one step is blocked by environment constraints, execute that step's fallback and continue.

Details

Repository
github.com/akin-ozer/cc-devops-skills
Category
DevOps & Cloud
First seen
Jun 3, 2026

Questions

What does the k8s-yaml-generator skill do?

k8s-yaml-generator generates Kubernetes YAML for resources such as Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet and CRDs. It follows a fixed sequence of preflight checks, input capture, CRD lookup, generation and mandatory validation, then delivers the YAML with a validation report and listed assumptions.

How do I install the k8s-yaml-generator skill?

Run npx -y skills add akin-ozer/cc-devops-skills --skill k8s-yaml-generator -y in your project to install it. After installing, k8s-yaml-generator lets the agent create or update Kubernetes manifests with explicit API versions, consistent labels and resource limits.

Does k8s-yaml-generator validate the YAML it writes?

Yes, k8s-yaml-generator runs mandatory validation on full manifests, using the k8s-yaml-validator skill when available. If that skill is unavailable, k8s-yaml-generator falls back to direct yamllint, kubeconform and kubectl dry-run commands and reports any skipped checks.

Which Kubernetes resources can k8s-yaml-generator produce?

k8s-yaml-generator produces Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet and custom resource definitions, including Argo CD Application CRDs. For custom APIs it runs a bounded documentation lookup before generating fields.

Where does k8s-yaml-generator sit in the DevOps & Cloud category?

k8s-yaml-generator is listed in the DevOps & Cloud category on Claude Marketplaces, alongside azure-diagnostics, azure-prepare, azure-deploy, azure-validate and azure-storage. Its own sentence on what sets it apart is that it pairs generation with a mandatory validation step.

More from akin-ozer/cc-devops-skills

All 31

Similar to K8s Yaml Generator

More DevOps & Cloud