---
name: yamllint
description: Use the yamllint package to lint YAML files with the upstream yamllint ruleset. Trigger when the user wants YAML linting, YAML formatting and syntax findings, or package-backed YAML checks instead of handwritten review rules.
dev_revision: "2026-05-07T15:58:22.3693294-04:00"
---

# yamllint

Run the bundled wrapper for `yamllint` instead of inventing YAML lint rules in the prompt.

Use:

```powershell
python ./scripts/yamllint.py <path-or-args>
```

Examples:

```powershell
python ./scripts/yamllint.py .github/workflows/build.yml
python ./scripts/yamllint.py plugins
python ./scripts/yamllint.py -d relaxed .github/workflows/build.yml
```

Notes:

- This wrapper runs `uv tool run --from yamllint yamllint ...`.
- Pass extra CLI arguments through directly to `yamllint`.
- Report the package findings as-is; do not replace them with homegrown lint rules.
