Agent skill

json-validator

根据JSON Schema验证JSON文件,提供详细错误报告和自动修复建议。

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/json-validator

Metadata

Additional technical details for this skill

short description
验证JSON/Schema

SKILL.md

JSON Validator Tool

Description

Validate JSON files against JSON Schema with detailed error reporting and formatting.

Trigger

  • /json-validate command
  • User needs to validate JSON
  • User wants schema validation

Usage

bash
# Validate JSON syntax
python scripts/json_validator.py data.json

# Validate against schema
python scripts/json_validator.py data.json --schema schema.json

# Format JSON
python scripts/json_validator.py data.json --format --output formatted.json

# Minify JSON
python scripts/json_validator.py data.json --minify

Tags

json, validate, schema, format, lint

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results