AGENT SKILL
yaml-convert
Use this skill when the user wants to convert between YAML and JSON.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- yaml-convert
- description
- Use this skill when the user wants to convert between YAML and JSON.
03 SKILL.md 正文
YAML-Convert Plugin
Command-line utility for converting between YAML and JSON.
Commands
File Conversion
yaml-convert file convert— Convert between YAML and JSON
Usage Examples
- "yaml-convert file convert --input config.yaml --output config.json --json"
- "yaml-convert file convert --input config.json --output config.yaml --yaml"
Installation
npm install -g yaml-convert
Examples
# Convert YAML to JSON
yaml-convert --input file.yaml --output file.json
# Convert JSON to YAML
yaml-convert --input file.json --output file.yaml --yaml
# Pretty print output
yaml-convert --input file.yaml --pretty
# Use stdin/stdout
cat file.yaml | yaml-convert > file.json
# Wrap as ES6 module
yaml-convert --input file.yaml --es6
# Wrap as Node.js module
yaml-convert --input file.yaml --node
# Keep original YAML styling
yaml-convert --input file.yaml --output output.yaml --keep
Key Features
- YAML to JSON conversion
- JSON to YAML conversion
- Pretty printing
- ES6 module output
- Node.js module output
- Stdin/stdout support
- Preserve YAML styling
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57