AGENT SKILL

yj

Use this skill when the user wants to convert between YAML, TOML, JSON, and HCL formats, or validate/config format conversion in pipelines.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
yj
description
Use this skill when the user wants to convert between YAML, TOML, JSON, and HCL formats, or validate/config format conversion in pipelines.

03 SKILL.md 正文

yj Plugin

Convert between YAML, TOML, JSON, and HCL formats. Preserves map order.

Commands

YAML Conversions

  • yj yaml to-json — YAML to JSON
  • yj yaml to-toml — YAML to TOML
  • yj yaml to-hcl — YAML to HCL

TOML Conversions

  • yj toml to-json — TOML to JSON
  • yj toml to-yaml — TOML to YAML

JSON Conversions

  • yj json to-yaml — JSON to YAML
  • yj json to-toml — JSON to TOML

HCL Conversions

  • yj hcl to-json — HCL to JSON
  • yj hcl to-yaml — HCL to YAML

Usage Examples

  • "Convert YAML to JSON"
  • "Convert JSON to TOML"
  • "Convert TOML to YAML"
  • "Convert HCL to JSON"

Installation

brew install yj

Common Options

  • -i — Indent output (JSON or TOML out)
  • -e — Escape HTML (JSON out only)
  • -n — Keep inf/-inf/NaN as strings
  • -k — Parse keys as objects/numbers (YAML out)

Supported Formats

  • YAML v1.2
  • TOML v1.0.0
  • JSON (RFC 7159)
  • HCL (v1)

04 同仓库更多 Skills