
Description
core is the foundation package of json-render, which works with specs that are JSON output from an AI and conform to a schema. It provides the building blocks for defining that structure. A schema defines the structure of specs and catalogs, and you create one with defineSchema. A catalog maps component and action names to their definitions, and you build one with defineCatalog. A spec is the JSON an AI produces that matches the schema. SpecStream is a JSONL streaming format for building a spec progressively as its pieces arrive. The package also covers AI prompt generation from a catalog. It includes two experimental decision-model composition APIs, experimental_composeSpec and experimental_createEvaluator, which the project says are unreleased. Until they are published, they should be used from a source build, and experimental exports and Experimental_ types can change in any release, so you should pin exact versions once they ship. The skill is for work with @json-render/core, and it is installed with npx skills from the vercel-labs/json-render repository. Its security audits all pass.…
Highlights
- Schema, catalog and spec definitions
- defineSchema and defineCatalog helpers
- JSONL SpecStream for progressive specs
- AI prompt generation from a catalog
- Experimental decision-model composition APIs
Ratings & Reviews
No ratings yet
Be the first to rate core.
People also visit

apify-generate-output-schema
Generate output schemas (dataset_schema.json, output_schema.json
core FAQ
What is @json-render/core?
The core package for defining schemas and catalogs and for working with the specs an AI produces in json-render.
What is a catalog?
The map from component and action names to their definitions, built with defineCatalog.
What is SpecStream?
A JSONL streaming format for building a spec progressively.
Are the experimental APIs ready to use?
Not yet. experimental_composeSpec and experimental_createEvaluator are unreleased, and experimental exports can change in any release.
How do I install the skill?
Run npx skills add https://github.com/vercel-labs/json-render --skill core.
What do the security audits show?
Gen Agent Trust Hub, Socket and Snyk all pass.
What are the best core alternatives?
Popular alternatives to core include next, codegen and shadcn. See all core alternatives













