format-validation
Validate JSON file formats by scanning directories and checking for correct JSON syntax
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
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
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!