core

Define schemas, catalogs, and prompt-generation tooling for json-render.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/xztxy/json-render --skill core-xztxy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: core
Source: https://github.com/xztxy/json-render/tree/main/skills/core
Command: npx skills add https://github.com/xztxy/json-render --skill core-xztxy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This core package provides the essential tooling to define schemas, create catalogs, and generate AI prompts for json-render, enabling robust, reusable UI specs and predictable AI outputs.

Core Features & Use Cases

  • Schema definition with defineSchema to model the structure of specs and catalogs.
  • Catalog creation with defineCatalog to map components and actions to definitions.
  • Spec streaming and prompt generation utilities (SpecStream, prompt builders) to drive AI-generated UI specs.
  • Use Case: Build a reusable catalog and schema to power AI-generated dashboards or UI narratives in a safe, guard-railed environment.

Quick Start

Define a schema and a catalog for your data model, then generate prompts to produce AI-driven specs.

Frequently Asked Questions about core

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

FAQPage Schema
How do I generate AI prompts from JSON schemas for UI specs?▼

To generate AI prompts from JSON schemas, use defineSchema to model spec structures and prompt builders to produce validated, AI-driven UI specs. This ensures predictable outputs within guard-railed environments.

What is the best way to map UI components to definitions in a JSON catalog?▼

Mapping UI components to definitions requires using defineCatalog to create a catalog. This maps components and actions to structured definitions, enabling reusable catalogs for AI-generated dashboards or UI narratives.

How does SpecStream handle streaming JSON spec output?▼

SpecStream handles streaming JSON spec output by processing state-resolvers to produce validated specs. It drives AI-generated UI specs by streaming structured output during the json-render workflow.

Can I use defineSchema to build reusable data models for AI-generated dashboards?▼

Yes, you can use defineSchema to build reusable data models for AI-generated dashboards. It models the structure of specs and catalogs to provide a safe, guard-railed environment for generating UI narratives.

When do I need to define a catalog for JSON rendering workflows?▼

You need to define a catalog for JSON rendering workflows when building UI specs that require mapping components and actions to definitions. This creates a reusable catalog to power predictable AI outputs.

Does this core tooling work without external dependencies?▼

Yes, the core tooling works without external dependencies. It provides essential schema definition, catalog creation, and prompt-generation utilities natively to enable robust UI specs and predictable AI outputs.