yaml-validate

star 2

Validate YAML files after editing. Apply when writing or modifying any .yml or .yaml file.

ivuorinen By ivuorinen schedule Updated 3/15/2026

name: yaml-validate description: >- Validate YAML files after editing. Apply when writing or modifying any .yml or .yaml file. user-invocable: false allowed-tools: Bash, Read

After editing any YAML file, validate it:

1. Syntax check

Run yamllint on the file:

yamllint <file>

If yamllint is not available, fall back to:

python3 -c "import yaml; yaml.safe_load(open('<file>'))"

2. GitHub Actions workflows

If the file is under .github/workflows/, also run:

actionlint <file>

If actionlint is not available, skip silently.

Files to skip

  • config/gh/hosts.yml — managed by gh CLI, not hand-edited
Install via CLI
npx skills add https://github.com/ivuorinen/dotfiles --skill yaml-validate
Repository Details
star Stars 2
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator