validate-schema

Validate JSON schemas against OpenAI, Anthropic, and Gemini rules.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/codygo-ai/strictly-structured --skill validate-schema-codygo-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-schema
Source: https://github.com/codygo-ai/strictly-structured/tree/main/packages/skill/skills/validate-schema
Command: npx skills add https://github.com/codygo-ai/strictly-structured --skill validate-schema-codygo-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Validates JSON schemas against provider-specific rules for LLM structured output compatibility.

Core Features & Use Cases

  • Schema Validation: Checks JSON schemas to ensure compliance with OpenAI, Anthropic, and Gemini rules.
  • Debugging & Fixes: Identifies errors and suggests fixes for non-conforming schemas.
  • Use Case: Debug a schema that causes LLM output errors by quickly aligning it with provider expectations and automatically correcting common issues.

Quick Start

Use validate-schema to check a JSON schema file against provider rules and get validation results.

Frequently Asked Questions about validate-schema

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

FAQPage Schema
How do I validate a JSON schema for OpenAI or Anthropic structured outputs?

You can validate a JSON schema against provider-specific rules for OpenAI, Anthropic, and Gemini to ensure consistent and compliant LLM structured outputs by running the provided Node.js validation scripts.

Why does my JSON schema cause LLM output errors?

Your JSON schema likely violates provider-specific rules for LLM structured outputs. Schema validation identifies these compliance errors and suggests automatic fixes to align the schema with provider expectations.

Can I automatically fix non-compliant JSON schemas for LLMs?

Yes, the schema validation process identifies errors in non-conforming JSON schemas and automatically corrects common issues to align them with provider-specific standards for reliable LLM outputs.

Do I need Node.js to check JSON schema compliance for LLM structured outputs?

Yes, checking JSON schema compliance against provider rules relies on Node.js scripts and rules defined in the repository to identify and fix schema issues for LLM structured outputs.

What is the best way to debug a schema that fails LLM provider validation?

The best way to debug a failing schema is to run a schema validation check against provider rules, which identifies non-conforming issues and suggests fixes to quickly align it with provider expectations.

Does schema validation work with Gemini structured output rules?

Yes, schema validation checks JSON schemas to ensure compliance with Gemini rules, alongside OpenAI and Anthropic standards, for consistent and compliant LLM structured outputs.