fast-yaml
Installation
SKILL.md
fast-yaml (fy) Tool
Professional YAML validation, formatting, and conversion tool with YAML 1.2.2 spec compliance and parallel processing capabilities.
[!IMPORTANT] fast-yaml follows YAML 1.2.2 specification, which differs from PyYAML (1.1). Notable differences:
yes/no/on/offare strings (not booleans), octal numbers use0oprefix.
Quick Reference
| Operation | Command | Description |
|---|---|---|
| Validate | fy parse config.yaml |
Check YAML syntax |
| Format | fy format -i config.yaml |
Format file in-place |
| Lint | fy lint config.yaml |
Validate with diagnostics |
| YAML → JSON | fy convert json config.yaml |
Convert YAML to JSON |
| JSON → YAML | fy convert yaml config.json |
Convert JSON to YAML |
| Batch format | fy format -i src/ |
Format entire directory |
| Parallel | fy format -i -j 8 project/ |
Use 8 parallel workers |