Marketplace enact-json-formatter

Formats and prettifies JSON with configurable indentation

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

JSON Formatter

A simple tool that formats and prettifies JSON strings.

Usage

enact run enact/json-formatter --args '{"json": "{\"name\":\"test\",\"value\":123}", "indent": 2}'

Features

  • Validates JSON input
  • Configurable indentation (default: 2 spaces)
  • Returns structured output with validation status
  • Handles errors gracefully

Example Output

{
  "formatted": "{\n  \"name\": \"test\",\n  \"value\": 123\n}",
  "valid": true
}