core

Installation
SKILL.md

@json-render/core

Core package for schema definition, catalog creation, and spec streaming.

Key Concepts

  • Schema: Defines the structure of specs and catalogs (use defineSchema)
  • Catalog: Maps component/action names to their definitions (use defineCatalog)
  • Spec: JSON output from AI that conforms to the schema
  • SpecStream: JSONL streaming format for progressive spec building

Experimental Decision-Model Composition

For decision-model composition, import experimental_composeSpec and experimental_createEvaluator from @json-render/core. These APIs are available since v0.21.0; pin exact versions and keep json-render packages on the same version. Experimental exports and Experimental_ types can change in any release.

Installs
17.1K
GitHub Stars
19.4K
First Seen
Mar 7, 2026