← スキル一覧に戻る

json-formatter
by diegopacheco
AI POCS: ML, NLP, LLM, Vision, Classification, clustering, GenAI, Transformers, PyTorch, Keras, All things AI POCS.
⭐ 12🍴 6📅 2026年1月20日
SKILL.md
name: json-formatter description: Validate, format, and minify JSON files when users request JSON validation, formatting, or ask to validate their JSONs allowed-tools: [Read, Bash]
JSON Formatter Skill
Format, validate, and minify JSON files with precision and safety.
Capabilities
This skill provides comprehensive JSON processing:
- Validation: Parse and validate JSON syntax, reporting errors with line numbers
- Formatting: Pretty-print JSON with configurable indentation (default 2 spaces)
- Minification: Remove all unnecessary whitespace for production use
- Safety: Always show diffs before writing changes
- Metrics: Report file size before and after operations
Usage
When a user requests JSON processing, this skill:
- Reads the target JSON file
- Validates the syntax
- Asks user preference: format or minify
- Shows the proposed changes
- Reports size difference
- Writes the result
Instructions
For any JSON file operation:
- Always validate before processing
- Use 2-space indentation for formatting
- Preserve UTF-8 encoding
- Show clear error messages with line numbers for invalid JSON
- Never modify files without showing diffs first
- Handle nested objects and arrays correctly
- Support both single files and batch operations
スコア
総合スコア
75/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
✓説明文
100文字以上の説明がある
+10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
レビュー
💬
レビュー機能は近日公開予定です
