ciyaml

Guidance for using yamllint to check YAML files before they enter CI or deployment, applicable to both hand-written and auto-generated YAML. Returns line-level syntax errors, duplicate keys, indentation issues, and formatting problems so they can be fixed before configuration changes affect pipelines or runtime environments.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ciyaml" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-523400af4ab9ee10b17f2284ed8fa97be075a0d9e23cb6e0fb43ccb705e7f3d5. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/lint-yaml-configs-for-syntax-duplicate-keys-and-style-drift-before-ci-or-deploy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Guidance for using yamllint to check YAML files before they enter CI or deployment, applicable to both hand-written and auto-generated YAML. Returns line-level syntax errors, duplicate keys, indentation issues, and formatting problems so they can be fixed before configuration changes affect pipelines or runtime environments.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Python and the yamllint CLI
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "在CI或部署之前,对YAML配置进行语法、重复键和风格漂移的检查"
slug: "lint-yaml-configs-for-syntax-duplicate-keys-and-style-drift-before-ci-or-deploy"
version: "1.0.0"
displayName: "在CI或部署之前,对YAML配置进行语法、重复键和风格漂移的检查"
summary: "使用 yamllint 在 YAML 文件到达 CI 或部署之前检查手工编写或生成的 YAML。该代理返回行级语法、重复键、缩进和格式问题,以便在配置更改破坏流水线或运行时环境之前进行修复。"
license: "MIT"
description: "使用 yamllint 在 YAML 文件到达 CI 或部署之前检查手工编写或生成的 YAML。该代理返回行级语法、重复键、缩进和格式问题,以便在配置更改破坏流水线或运行时环境之前进行修复。"
github_stars: 3360
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 3360

在CI或部署之前,对YAML配置进行语法、重复键和风格漂移的检查

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

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决 YAML 配置在 CI/CD 流程前的语法和格式问题,避免部署失败
  • 提供行级错误定位,提升调试效率
  • 适用于广泛的 DevOps 和开发场景
Trigger Precision88/100

Highlights

  • 触发词覆盖全面,包括 YAML、CI、部署、语法错误等关键场景
  • 功能边界清晰,专注于配置检查
Structure and Standards65/100

Areas to improve

  • 缺少 When to Use 章节 Reported severity: Minor

    未提供明确的使用时机说明

    Recommendation: 添加 When to Use 章节,说明适合在哪些场景下使用该 Skill

  • 缺少端到端使用示例 Reported severity: Minor

    未提供具体命令调用和输出样例

    Recommendation: 添加完整的使用示例,包括 yamllint 命令调用和典型错误输出

Execution Reliability70/100

Areas to improve

  • 未覆盖常见执行异常 Reported severity: Minor

    未提及 pip 安装失败、Python 环境缺失等常见问题的处理

    Recommendation: 添加异常处理建议,如检查 Python 版本、网络连接、权限问题等

Evidence Verifiability (mean of the first four)77/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • raw.githubusercontent.com
  • yamllint.readthedocs.io

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python and the yamllint CLI

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.