Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

core

Skill by vercel-labs

Defines schemas, catalogs and AI prompts for json-render. Built for developers who create JSON specs for UI or video generation.

  • Score 91
  • 20k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install core

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel-labs/json-render /tmp/json-render && mkdir -p ~/.claude/skills && cp -r /tmp/json-render/skills/core ~/.claude/skills/core

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install core in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This is the core package for json-render, a library for building JSON specs that AI models generate. It provides defineSchema and defineCatalog to describe the components and actions an app allows, and catalog.prompt() to produce AI system prompts from those definitions. Specs can be streamed as JSONL patches with the SpecStream utilities.

The skill also covers dynamic prop expressions for state binding, computed values and templates, state watchers, form validation helpers, spec validation with auto-fix, and visibility conditions. It includes an experimental decision-model composition API from v0.21.0. It is aimed at developers who use @json-render/core to define schemas, create catalogs, or build JSON specs for UI or video generation.

Written from the project's SKILL.md and checked against it.

What it can do

  • defineSchemaDefines the structure of specs and catalogs.
  • defineCatalogMaps component and action names to their definitions.
  • catalog.promptGenerates AI system prompts, with optional custom rules.
  • createSpecStreamCompilerProcesses streamed JSONL patches into a spec progressively.
  • Dynamic prop expressionsResolves $state, $bindState, $cond, $template and $computed props at render time.
  • State watchersTriggers actions when declared state values change.
  • check validatorsProvides required, email, url, matches, lessThan and other cross-field checks.
  • buildUserPromptBuilds structured user prompts with optional spec refinement and state context.
  • validateSpec and autoFixSpecValidates spec structure and fixes common issues, with lossy fixes optional.
  • Visibility conditionsControls element visibility using state-based conditions.

What you need

  • The @json-render/core package
  • Zod for catalog prop definitions, as shown in the examples
  • AI Gateway API key for experimental composition

Try asking

  • Define a schema and catalog for a Button component with a label prop.
  • Generate an AI system prompt from my catalog with custom rules.
  • Validate this spec and auto-fix any structural issues.

Good to know

  • Experimental composition APIs and Experimental_ types can change in any release.
  • V1 composition supports flat catalogs only, with no repeat or watch.
  • State watchers fire only on value changes, not on initial render.
  • Props are validated against initial state without applying schema defaults.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/core/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB

Alternatives to core

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

core: common questions

What is json-render core used for?

It defines schemas and catalogs, generates AI prompts, and builds JSON specs for UI or video generation.

What is SpecStream?

SpecStream is the JSONL streaming format for building a spec progressively from AI responses, handled by createSpecStreamCompiler.

Which version added experimental composition?

The experimental_composeSpec and experimental_createEvaluator APIs are available since v0.21.0, and the docs advise pinning exact versions.

How do I install core?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is core free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is core safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to core?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

Add to stack

Loading.