What problem does it solve?
YAML files often act as configuration sources across tools like Kubernetes manifests, Docker Compose files, and Helm charts. This skill makes it easier to read, validate, and extract data from YAML documents using the yq command-line tool, reducing manual parsing work and human errors.
Core Features & Use Cases
- Key discovery: list top-level and nested keys to understand the document structure.
- Value retrieval: extract single or multiple values with concise queries.
- Validation and multi-document support: verify YAML syntax and process multiple documents in a single file.
- Common use cases: inspecting Kubernetes manifests, Docker Compose configurations, and Helm values to quickly locate resources, versions, and settings.
Quick Start
Query a YAML file with yq to retrieve a value by its key path.