Json formatter

From diegopacheco/ai-playground · View interactive version

Json formatter is an AI agent skill from the GitHub repository diegopacheco/ai-playground. Validate, format, and minify JSON files when users request JSON validation, formatting, or ask to validate their JSONs

How to use this skill

Skill file

JSON Formatter Skill

Format, validate, and minify JSON files with precision and safety.

Capabilities

This skill provides comprehensive JSON processing:

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:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.