
enactjson-formatter
by EnactProtocol
SKILL.md
enact: "2.0.0" name: enact/json-formatter version: 1.0.1 description: Formats and prettifies JSON with configurable indentation from: "node:20-alpine" command: "node /workspace/format.js ${json} ${indent}" timeout: "30s"
inputSchema: type: object properties: json: type: string description: "JSON string to format" indent: type: integer default: 2 description: "Number of spaces for indentation" required: - json
outputSchema: type: object properties: formatted: type: string description: "Prettified JSON string" valid: type: boolean description: "Whether the input was valid JSON" error: type: string description: "Error message if JSON was invalid"
annotations: readOnlyHint: true idempotentHint: true
tags:
- json
- formatting
- utility
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
}
スコア
総合スコア
リポジトリの品質指標に基づく評価
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
レビュー
レビュー機能は近日公開予定です