json-validator

Validate and format JSON files with optional schema validation.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/winsorllc/upgraded-carnival --skill json-validator-winsorllc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-validator
Source: https://github.com/winsorllc/upgraded-carnival/tree/main/.pi/skills/json-validator
Command: npx skills add https://github.com/winsorllc/upgraded-carnival --skill json-validator-winsorllc

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill helps ensure that JSON files are correctly structured and formatted, preventing errors in data processing and improving code readability.

Core Features & Use Cases

  • JSON Validation: Checks if a JSON file is syntactically valid.
  • Schema Validation: Optionally validates JSON against a provided JSON schema.
  • Formatting: Automatically fixes indentation and spacing for better readability.
  • Use Case: Before committing code, use this Skill to validate all JSON configuration files in your project to catch syntax errors early.

Quick Start

Use the json-validator skill to validate the file 'config.json'.

Frequently Asked Questions about json-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate JSON files against a schema before committing code?

To validate JSON files against a schema, use this Skill to check structural syntax and match content against a provided JSON schema. It ensures data integrity and catches formatting errors early in software development workflows.

What is the best way to automatically format and fix JSON indentation?

The best way to automatically format JSON is using this Skill's auto-fixing capabilities to correct indentation and spacing. This improves code readability and ensures your JSON files are consistently structured.

Do I need Node.js to run JSON validation scripts?

Yes, you need a Node.js environment to run JSON validation scripts. This Skill requires Node.js to execute its validation logic and parse JSON content effectively within your development workflow.

Can I check if a JSON configuration file is syntactically valid in bulk?

Yes, you can check if JSON configuration files are syntactically valid. Use this Skill to validate all JSON files in your project, catching syntax errors before processing and preventing data mishandling.