Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

yamllint

$ yamllint Community Low Risk
Adrien Vergé · Code & DevOps · GPL-3.0 · macos / linux / windows

Python-based YAML linter checking syntax validity, key duplication, indentation, line length, and trailing spaces across CI workflows and Kubernetes manifests. Offers -f parsable and -s strict mode for predictable headless checks.

FCRS-1.0 Score
83 /100
Good
Medium Confidence
Zero-Friction Install
brew install yamllint
CLI vs MCP Decision CLI Only

Validates local YAML manifests offline in milliseconds; no MCP server adds value.

Agent-Readiness Checklist

— JSON Output
— Field Filtering
✓ Non-Interactive
— Dry-Run
✓ Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 18 / 25

Supports -f parsable, -f github, -s strict exit codes, and stdin -, though it lacks --format json.

  • -f parsable produces stable colon-delimited records
  • No native JSON output formatter
Trust & Safety 25 / 25

Purely read-only analyzer with no auto-write mode and zero network calls.

  • Strictly read-only with zero disk mutation capabilities
Setup & Portability 13 / 15

Available via Homebrew, PyPI, uvx, and most Linux distro repositories.

  • Easy installation across brew, pip, and uvx
Utility & Efficiency 11 / 15

Reliable safeguard for GitHub Actions, Helm, and Ansible YAML, though it does not auto-fix violations.

  • Catches duplicate keys and syntax traps missed by naive YAML parsers
Maintenance & Lineage 8 / 10

Mature community standard (adrienverge/yamllint) maintained under GPL-3.0.

  • Established adrienverge/yamllint repository
Docs & Verifiability 8 / 10

Clear ReadTheDocs rule catalog and configuration examples.

  • Official docs at yamllint.readthedocs.io

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

Purely local YAML linter; no credentials stored or required.

Side Effects
Read-Only
Cost & Quotas

GPL-3.0 open-source Python CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# yamllint Agent Rules
- Always pass `-f parsable` for deterministic one-line-per-finding output.
- Respect repo `.yamllint` configs instead of passing `-d relaxed` unless instructed.

Agent-Ready Command Recipes

Safe Read-Only Queries

Lint YAML files with parsable line output
yamllint -f parsable -s .

Emits file:line:col: [level] message (rule) lines and fails on warnings (-s) without editing files.

Strengths for Agents

  • + Strictly read-only and catches duplicate YAML keys and subtle indentation bugs.
  • + -f parsable yields clean machine-friendly diagnostics without ANSI clutter.

Caveats & Pitfalls

  • ! No --json output format or --fix auto-remediation mode.
  • ! Default line-length (80 chars) often fails on CI/Kubernetes YAML unless .yamllint relaxes it.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI