What problem does it solve?
This Skill provides a cohesive core toolkit for json-render developers to define schemas, catalogs, and AI prompts in a reusable, testable package.
Core Features & Use Cases
- Schema Definition: Define and validate data structures that shape AI-generated specs using helpers like defineSchema.
- Catalog Creation: Build catalogs mapping component names to definitions with defineCatalog for consistent UI spec generation.
- AI Prompt Generation: Generate system prompts and templates for guiding AI spec creation, resolution, and validation in streaming workflows.
- Use Case: A team builds a centralized core library to standardize schemas, catalogs, prompts, and validation across multiple renderers.
- Automated validation and transformation utilities like validateSpec, autoFixSpec, and diffToPatches support robust spec lifecycle.
Quick Start
Install @json-render/core in your project and start by defining a simple schema and catalog to generate a JSON spec from a guided prompt.