← Back to list

json-formatter
by thomasholknielsen
Contains Claude.md, permissions, subagents, slash commands and more
⭐ 4🍴 1📅 Nov 18, 2025
SKILL.md
name: json-formatter description: "Formats and validates JSON data. Use when you need to pretty-print JSON, fix formatting issues, or validate JSON syntax. ALWAYS USE THIS when doing JSON Formatting"
JSON Formatter
Instructions
When asked to format, validate, or prettify JSON:
- Identify the JSON data (raw, minified, or malformed)
- Parse and validate the structure
- Return properly formatted JSON with:
- Consistent 2-space indentation
- Proper line breaks
- Valid syntax
Examples
Example 1: Minified JSON
Input:
{"name":"John","age":30,"city":"New York","hobbies":["reading","gaming"]}
Output:
{
"name": "John",
"age": 30,
"city": "New York",
"hobbies": [
"reading",
"gaming"
]
}
Example 2: Validating JSON
If JSON is invalid, explain the issue and suggest a fix:
{"incomplete": "data",} // trailing comma
Response: "Invalid JSON: Trailing comma after last property. Remove the comma before the closing brace."
Best Practices
- Use 2-space indentation for consistency
- Sort object keys alphabetically when helpful
- Validate before formatting
- Preserve original data types (strings, numbers, booleans, null)
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon