返回顶部
Y

YAMLCheck

Validate YAML syntax using python3, lint configs, and convert YAML to JSON. Use when checking syntax, finding errors, or converting formats.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 3.0.2
安全检测
已通过
263
下载量
0
收藏
概述
安装方式
版本历史

YAMLCheck

# YAMLCheck A real YAML validator and toolkit. Check syntax, convert YAML to JSON, lint for style issues, and list top-level keys. Uses PyYAML when available, falls back to basic parsing when not. ## Commands | Command | Description | |---------|-------------| | `yamlcheck validate <file>` | Validate YAML syntax — reports document count, types, key counts, file size. Falls back to basic tab/colon checks without PyYAML | | `yamlcheck to-json <file>` | Convert YAML to formatted JSON output. Handles multi-document YAML files | | `yamlcheck lint <file>` | Check for common style issues: tabs, trailing whitespace, Windows line endings, odd indentation, missing spaces after colons, long lines | | `yamlcheck keys <file>` | List top-level keys with types and value previews | ## Requirements - `python3` (required) - `PyYAML` (optional — enables full parsing; install with `pip3 install pyyaml`) Without PyYAML, the tool still works but uses basic regex-based checks instead of full YAML parsing. ## Examples ```bash # Validate a docker-compose file yamlcheck validate docker-compose.yml # Convert YAML config to JSON yamlcheck to-json values.yaml # Check for style issues yamlcheck lint playbook.yml # See what keys are defined yamlcheck keys config.yaml ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 yamlcheck-1776082275 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 yamlcheck-1776082275 技能

通过命令行安装

skillhub install yamlcheck-1776082275

下载 Zip 包

⬇ 下载 YAMLCheck v3.0.2

文件大小: 4.85 KB | 发布时间: 2026-4-15 15:06

v3.0.2 最新 2026-4-15 15:06
v3.0.2: Fixed version mismatch between script and SKILL.md.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部