askill
json-yaml-converter

json-yaml-converterSafety 90Repository

在JSON、YAML和TOML格式之间转换,验证和格式化配置文件。

71 stars
1.4k downloads
Updated 1/28/2026

Package Files

Loading files...
SKILL.md

JSON/YAML Converter Tool

Description

Convert between JSON, YAML, and TOML formats with validation and formatting.

Trigger

  • /convert-config command
  • User requests format conversion
  • User needs to validate JSON/YAML

Usage

# Convert JSON to YAML
python scripts/json_yaml_converter.py convert --input config.json --output config.yaml

# Convert YAML to JSON
python scripts/json_yaml_converter.py convert --input config.yaml --output config.json

# Validate file
python scripts/json_yaml_converter.py validate --input config.yaml

# Format/prettify
python scripts/json_yaml_converter.py format --input config.json --indent 2

Tags

json, yaml, toml, config, convert

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/25/2026

A moderately complete skill for JSON/YAML/TOML conversion with clear usage examples and proper structure. Provides trigger section and tags. However, lacks installation/setup instructions and dependency requirements (pyyaml, toml libraries). References a specific script path that may only exist in this repo, reducing reusability. Located in a dedicated skills folder which is good practice."

90
80
60
65
75

Metadata

Licenseunknown
Version-
Updated1/28/2026
PublisherAIDotNet

Tags

llm