diegopacheco/ai-playground/json-formatter
Claude Code and agent skill by diegopacheco/ai-playground
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Validate, format, and minify JSON files when users request JSON validation, formatting, or ask to validate their JSONs
Install
npx vskill@latest install diegopacheco/ai-playground/json-formatterSKILL.md
The same SKILL.md was published earlier as diegopacheco/ai-playground/json-formatter.
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
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingagents/claude-code/claude-skill-fun/json-formatter/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/diegopacheco/ai-playground/json-formatter)