rule-json-schema

Official

Ensure JSON Schemas are generated correctly.

Authorcarrot-foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Generated JSON Schemas from Zod definitions can drift from standards and lack consistent metadata. This skill enforces a standardized generation and validation workflow to keep schemas reliable and well documented.

Core Features & Use Cases

  • Enforces top-level JSON Schema metadata such as the $schema, $id, title, description, type, properties, required, and additionalProperties for all generated schemas.
  • Provides a clear generation workflow: generate IPFS schemas from Zod definitions and validate them to catch structural issues early.
  • Use case: maintain schema integrity across a large schemas/**.schema.json set and ensure changes are driven from Zod sources.

Quick Start

Run pnpm generate-ipfs-schemas to produce the JSON Schemas from Zod definitions, then run pnpm validate-schemas to ensure structural correctness.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rule-json-schema
Download link: https://github.com/carrot-foundation/schemas/archive/main.zip#rule-json-schema

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.