yq YAML & JSON Query
Extracts specific fields from YAML and JSON configuration files to minimize context usage and improve processing efficiency.
The yq skill empowers Claude to precisely query and extract data from complex YAML and JSON files using yq and jq utilities. By retrieving only the necessary fields—such as specific Docker images, Kubernetes replica counts, or GitHub Action triggers—this skill prevents the model's context window from being overwhelmed by large configuration files. It is an essential utility for DevOps and cloud-native development where infrastructure-as-code files often exceed manageable lengths for direct reading.
主要功能
01Tailored patterns for Docker Compose, Kubernetes manifests, and CI/CD workflows
02Ability to filter and select nested data structures based on specific conditions
03Optimized context management by avoiding full file reads for simple queries
0491 GitHub stars
05Cross-utility support for both yq (YAML) and jq (JSON) syntax
06Precise field extraction from large YAML and JSON configuration files
使用场景
01Querying specific job steps or workflow triggers within GitHub Actions YAML files
02Extracting container image tags and environment variables from complex Docker Compose files
03Retrieving resource limits and replica counts from large Kubernetes deployment manifests