json-format

Installation
SKILL.md

JSON Formatter

Format and validate JSON — pretty-print with configurable indentation or minify to a single line.

Input

  • A JSON string (object, array, string, number, boolean, or null)
  • May be already formatted or a single minified line
  • Optional action: format (default), minify, or validate-only
  • Optional indent size: 2 (default) or 4 spaces

Output

  • format: Pretty-printed JSON with proper indentation and line breaks
  • minify: Single-line compact JSON with no whitespace
  • validate: A message confirming valid or invalid JSON (with error details)

Instructions

Installs
2
First Seen
Apr 23, 2026
json-format from skills.volces.com