enact/formatter

Community

Format JSON into clean, readable text.

Authorwhile-basic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

JSON data often arrives minified or in a single line, making it hard to read and debug. This tool formats and prettifies JSON strings into readable, properly indented output.

Core Features & Use Cases

  • Indentation-based formatting: pretty-prints JSON with configurable indentation to suit your workspace.
  • Validation and readability: detects invalid JSON and returns a clear result indicating success or failure.
  • Use Case: when consuming API responses or logs, pass the JSON string and receive a formatted version for quick analysis.

Quick Start

Use the formatter to prettify a compact JSON string, for example: enact run enact/formatter --args '{"json": "{"name":"Alice","age":30}", "indent": 2}'

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: enact/formatter
Download link: https://github.com/while-basic/enact-template/archive/main.zip#enact-formatter

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.