k8s-crd-from-typed-schema

Community

Generate Kubernetes CRDs from typed schemas.

Authormizchi
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generating Kubernetes CustomResourceDefinitions from typed schemas (zod / TypeBox / Valibot / json-schema) is tricky because CRDs use a restricted subset of OpenAPI v3 known as Structural Schema, and common pitfalls like the /status subresource, the metadata prohibition, and pluralization can bite on first attempt.

Core Features & Use Cases

  • Generate CRDs from typed schemas including zod, TypeBox, Valibot, and hand-written JSON Schema.
  • Apply the Structural Schema adapter to remove unsupported features, inline refs, and wrap the resulting spec in a Kubernetes CRD envelope.
  • Validate and troubleshoot typical deployment issues to ensure smooth kubectl apply and runtime reconciliation.

Quick Start

Convert a typed schema to a CRD by running the adapter and applying the resulting YAML to your cluster.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: k8s-crd-from-typed-schema
Download link: https://github.com/mizchi/skills/archive/main.zip#k8s-crd-from-typed-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.