Agent Skills: JSON Validator Tool

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

UncategorizedID: aidotnet/moyucode/json-validator

Install this agent skill to your local

pnpm dlx add-skill https://github.com/AIDotNet/MoYuCode/tree/HEAD/skills/tools/json-validator

Skill Files

Browse the full folder contents for json-validator.

Download Skill

Loading file tree…

skills/tools/json-validator/SKILL.md

Skill Metadata

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

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

# 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: ✅