Claude-skill-registry json-yaml-converter

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

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/json-yaml-converter" ~/.claude/skills/majiayu000-claude-skill-registry-json-yaml-converter && rm -rf "$T"
manifest: skills/data/json-yaml-converter/SKILL.md
source content

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: ✅