# Enact Formatter

> Enact Formatter is an Agent Skill for documents published in the aiskillstore/marketplace repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Formats and prettifies JSON with configurable indentation

- Skill name: `enact-formatter`
- Category: [Documents](https://www.openparable.com/skill/documents/1)
- Source: https://github.com/aiskillstore/marketplace/blob/HEAD/skills/enactprotocol/enact-formatter/SKILL.md
- Repository: aiskillstore/marketplace (385 GitHub stars when collected)

## SKILL.md

# JSON Formatter

A simple tool that formats and prettifies JSON strings.

## Usage

```bash
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

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

---

Source: https://www.openparable.com/skill/documents/enact-formatter (OpenParable). Cite the canonical URL above.
