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-formatter

SKILL.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:

  1. Reads the target JSON file
  2. Validates the syntax
  3. Asks user preference: format or minify
  4. Shows the proposed changes
  5. Reports size difference
  6. 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diegopacheco/ai-playground/json-formatter/badge)](https://verified-skill.com/skills/diegopacheco/ai-playground/json-formatter)

Something wrong with this skill or its page? Tell us.