format-validation
Validate JSON file formats by scanning directories and checking for correct JSON syntax
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Overview
This Skill validates JSON files in specified directories to ensure they have correct syntax and valid format. When you need to verify JSON files are well-formed and can be parsed correctly, use this Skill. It scans the specified path, finds all JSON files, and validates their format.
When to Use
Use this Skill when:
- Verifying JSON configuration files are valid
- Checking data files before processing
- Validating JSON schema compliance
- Troubleshooting JSON parsing errors
- Auditing codebase for malformed JSON files
Validation Process
The validation process includes:
- Scanning the specified directory recursively
- Identifying all files with .json extension
- Parsing each JSON file to check syntax validity
- Reporting validation results with file paths and error details
- Providing summary statistics (total files, valid, invalid)
Usage
Invoke this Skill by specifying the path to validate:
Validate JSON files in /path/to/directory
The Skill will:
- Scan the directory tree
- Validate each JSON file found
- Return detailed validation results
Dependencies
Python 3.8+ or Go 1.16+
Resources
- scripts/validate_json.py: Python implementation of JSON validation
- scripts/validate_json.go: Go implementation of JSON validation
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!