mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-19 15:02:13 +00:00
670 B
670 B
name, description, user-invocable, allowed-tools
| name | description | user-invocable | allowed-tools |
|---|---|---|---|
| yaml-validate | Validate YAML files after editing. Apply when writing or modifying any .yml or .yaml file. | false | 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 byghCLI, not hand-edited