# YAMLlint

Catch ambiguous YAML before parsing

Catch repeated keys, invalid indentation and unintended scalar forms. Keep formatting preferences separate in the configuration so diagnostics are easy to interpret.

Category: Code quality
Languages: YAML

## Standard evidence

Rubric v1 · 4/8 verified · 4 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (verified) — The key-duplicates rule rejects repeated keys in a mapping. The quickstart distinguishes that diagnostic from formatting warnings. Reviewed 2026-11-28. [Source](https://yamllint.readthedocs.io/en/stable/quickstart.html)
- **Measurement** (verified) — The sample report identifies the file, line, column, severity and rule name for each YAML diagnostic. Reviewed 2026-11-28. [Source](https://yamllint.readthedocs.io/en/stable/quickstart.html)
- **Conformance** (unknown) — No reviewed evidence is recorded for this dimension.
- **CI enforcement** (unknown) — No reviewed evidence is recorded for this dimension.
- **Getting started** (verified) — The quickstart covers installing yamllint, invoking it on one or more YAML files, and reading sample diagnostics by line, column and rule. Reviewed 2026-11-28. [Source](https://yamllint.readthedocs.io/en/stable/quickstart.html)
- **Real-world adoption** (verified) — CodeRabbit checks YAML validity on changed .yaml and .yml files with repository policy or profile-specific defaults. Reviewed 2026-11-28. [Source](https://docs.coderabbit.ai/tools/yamllint)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use YAMLlint in this repository to meet this standard: Catch ambiguous YAML before parsing. Catch repeated keys, invalid indentation and unintended scalar forms. Keep formatting preferences separate in the configuration so diagnostics are easy to interpret. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Tool command

```
yamllint .
```

Seikika package: no verified installation is listed.

## References

- [Tool documentation](https://yamllint.readthedocs.io/)
- [Agent skill](/skills/yamllint/SKILL.md)
