k8s-yaml-generator

Generates Kubernetes manifests for Deployments, Services, ConfigMaps, and CRDs with mandatory validation.

Updated Jul 4, 2026
One-click install
npx skills add https://github.com/100Thieves-team/plady-expert-skills --skill k8s-yaml-generator-100thieves-team
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-yaml-generator
Source: https://github.com/100Thieves-team/plady-expert-skills/tree/main/.claude/skills/k8s-yaml-generator
Command: npx skills add https://github.com/100Thieves-team/plady-expert-skills --skill k8s-yaml-generator-100thieves-team

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing correct Kubernetes YAML by hand is error-prone: deprecated API versions, missing probes, inconsistent labels, and unverified CRD fields cause failed deployments. This Skill generates manifests through a deterministic workflow with bounded CRD research and mandatory validation before delivery. ## Core Features & Use Cases - Manifest Generation: Produces Deployment, Service, ConfigMap, Ingress, RBAC, StatefulSet, and CRD YAML with baseline best practices such as labels, resource limits, probes, and securityContext. - Bounded CRD Lookup: Resolves custom resource schemas via Context7 and web fallback with strict attempt budgets, marking unverified fields as needing confirmation. - Mandatory Validation: Runs the k8s-yaml-validator or fallback tooling (yamllint, kubeconform, kubectl dry-run) and reports syntax, schema, CRD, and dry-run results. - Use Case: Ask for a production Deployment plus Service for a container image, and receive validated YAML with a validation report, stated assumptions, and suggested kubectl commands. ## Quick Start Generate a Kubernetes Deployment and Service manifest for my app image myapp:1.2.3 on port 8080 in the production namespace.

Frequently Asked Questions about k8s-yaml-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a Kubernetes Deployment and Service YAML?

Provide the container image, ports, replicas, and namespace, and the skill generates Deployment and Service manifests with consistent labels, resource limits, and probes. Output includes a validation report and suggested kubectl apply commands.

How to create YAML for a Kubernetes CRD like Argo CD Application?

The skill extracts the API group, version, and kind, then runs a bounded Context7 lookup followed by web fallback to verify required fields. Only verified fields are generated; unverified ones are marked as needing confirmation.

Does generated Kubernetes YAML get validated automatically?

Yes, full manifest generation requires mandatory validation via the k8s-yaml-validator skill or fallback tools like yamllint, kubeconform, and kubectl dry-run. The report covers syntax, schema, CRD checks, and dry-run status.

What happens if validation tools are not installed?

The skill runs whichever checks are available, records skipped checks explicitly, and adds residual risk notes for each. If validation repeatedly fails after three fix cycles, it returns the YAML with exact errors and the input needed to unblock.

When should I not use the Kubernetes YAML generator?

Do not use it for validation-only requests on existing manifests; use the k8s-yaml-validator skill instead. Snippet-only or documentation requests may skip full validation, but the output must state that validation was skipped.