yaml-master
Installation
SKILL.md
YAML Master
Proactive YAML intelligence: validate syntax, enforce consistent formatting, and keep configuration files schema-correct (Kubernetes, GitHub Actions, Docker Compose, and similar).
Overview
This skill activates when working with .yml/.yaml files to detect structural issues early (indentation, anchors, type mismatches), and to produce safe, minimal edits that keep CI/config tooling happy.
Prerequisites
- The YAML file(s) to inspect and their intended target (e.g., Kubernetes, GitHub Actions, Compose)
- Any relevant schema or constraints (when available)
- Permission to edit the file(s) (or to propose a patch)
Instructions
- Parse and validate YAML syntax (identify the first breaking error and its location).
- Normalize formatting (indentation, quoting) without changing semantics.
- Validate structure against the target system’s expectations (keys, types, required fields).
- Identify risky patterns (duplicate keys, ambiguous scalars, anchors used incorrectly).
Related skills