Agent skill
enact-json-formatter
Formats and prettifies JSON with configurable indentation
Stars
232
Forks
15
Install this agent skill to your Project
npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/enactprotocol/enact-json-formatter
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
}
Didn't find tool you were looking for?