Yamllint

Use this skill when the user wants to lint YAML files, validate YAML syntax, check YAML formatting, or enforce YAML style conventions.

javimosch a742feb 728 B Updated

File contents

yamllint Plugin

Linter for YAML files with configurable rules.

Commands

Lint

  • yamllint lint run — Lint YAML files
  • yamllint lint format — Lint with specific output format

Usage Examples

  • "Check this YAML file for issues"
  • "Lint all YAML files in this directory"
  • "Validate YAML formatting"

Installation

pip install yamllint

Examples

# Basic lint
yamllint file.yaml

# Lint directory
yamllint .

# JSON format
yamllint --format parsable file.yaml

# With config
yamllint -c .yamllint file.yaml

javimosch/supercli/tree/main/plugins/yamllint/skills/quickstart commit a742feb749

Frequently asked questions

npx skillmds@latest add javimosch/yamllint