Skills DirectorySearch all skills ↗

AI agent skill · by @AIDotNet

Json Validator

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

Archived 2026-10-23 · Source updated 2026-01-28 · License: MIT. Check the original repository for the latest version.

SKILL.md instructions

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

Related skills