Lint YAML configs for syntax, duplicate keys, and style drift before CI or deploy

Uses yamllint to inspect hand-written or generated YAML before it reaches CI or deploy. The agent returns line-level syntax, duplicate-key, indentation, and formatting findings so config changes can be fixed before they break pipelines or runtime environments.

agentskillexchange Updated 28 repo stars

File contents

Lint YAML configs for syntax, duplicate keys, and style drift before CI or deploy

Uses yamllint to inspect hand-written or generated YAML before it reaches CI or deploy. The agent returns line-level syntax, duplicate-key, indentation, and formatting findings so config changes can be fixed before they break pipelines or runtime environments.

Prerequisites

Python and the yamllint CLI

Installation

Use the upstream install or setup path that matches your environment:

  • pip install --user yamllint

Requirements and caveats from upstream:

  • Written in Python.
  • Using pip, the Python package manager:

Basic usage or getting-started notes:

Documentation

Source

agentskillexchange/skills/tree/main/skills/lint-yaml-configs-for-syntax-duplicate-keys-and-style-drift-before-ci-or-deploy commit a78f017435

Frequently asked questions

npx skillmds@latest add agentskillexchange/lint-yaml-configs-for-syntax-duplicate-keys-and-style-drift-