k8s-yaml-validator

Validate Kubernetes YAML manifests for syntax, schema, and CRD compliance.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/tylern91/dotfiles --skill k8s-yaml-validator-tylern91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: k8s-yaml-validator
Source: https://github.com/tylern91/dotfiles/tree/main/claude/.claude/skills/k8s-yaml-validator
Command: npx skills add https://github.com/tylern91/dotfiles --skill k8s-yaml-validator-tylern91

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Kubernetes YAML manifests are error-prone and verbose; this Skill provides a deterministic, report-only validation workflow to catch syntax, schema, and CRD issues before deployment.

Core Features & Use Cases

  • Multi-stage validation: YAML syntax linting, CRD detection, schema validation, and cluster dry-run when available.
  • CRD documentation lookup: retrieve up-to-date documentation for detected CRDs via contextual sources.
  • Report-only outputs: produce a comprehensive validation report with stage-by-stage results and actionable guidance, without modifying the source files.
  • Use Case: Before applying changes, run the validator on your deployment YAMLs to ensure cluster compatibility and policy compliance.

Quick Start

Provide the path to your Kubernetes YAML file to run the validator and view the full report.

Frequently Asked Questions about k8s-yaml-validator

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

FAQPage Schema
How do I validate Kubernetes YAML manifests before deployment?

YAML syntax linting catches formatting errors, schema validation ensures Kubernetes API compliance, and cluster dry-run testing verifies compatibility without modifying your source files.

How do I validate CRD documentation for custom Kubernetes resources?

The validator detects Custom Resource Definitions and retrieves up-to-date documentation from contextual sources, ensuring your CRD manifests conform to the expected schema before deployment.

Can I dry-run Kubernetes deployment YAMLs without modifying files?

Yes, you can perform a cluster dry-run test on deployment, service, CRD, and config resources to verify cluster compatibility while maintaining a strict report-only boundary that leaves files unchanged.

Does Kubernetes YAML validation work for both development and production clusters?

Validation operates with a strict report-only boundary, generating stage-by-stage results and actionable guidance without modifying your source YAML files.