Emit YAML for configuration, infrastructure-as-code, and human-edited artifacts. Indentation rules, quoting, comments, schema enforcement, and the JSON-vs-YAML decision. Use for k8s manifests, Compose files, CI configs, pipeline definitions, and anywhere humans both read and edit the output.