Renders json-render specs as native chat cards (Slack Block Kit, Teams Adaptive Cards, Discord). Use when building bots that post rich messages with tables, charts, fields, or buttons.
Ships in vercel-labs-json-render-1. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Renders json-render specs as Chat SDK CardElement objects. Each Chat SDK adapter converts the card to its platform format.
import { defineCatalog } from "@json-render/core";
import {
schema,
standardComponentDefinitions,
streamCard,
} from "@json-render/chat";
import { streamText } from "ai";
const catalog = defineCatalog(schema, {
components: standardComponentDefinitions,
});
chat.onNewMention(async (thread, message) => {
const result = streamText({
model: "anthropic/claude-haiku-4.5",
system: catalog.prompt(),
prompt: message.text,
});
await streamCard(thread, result.textStream);
});
streamCard(target, textStream, options) posts the card once the root exists, edits it every updateIntervalMs (default 500) as elements arrive, and finishes with a validated card. toCard(spec, options) converts a complete spec. toPartialCard(spec) returns a best-effort card for a streaming spec, or null before the root exists.
Same flat tree as other renderers: root plus elements, with optional state. The root must be a Card. An inner Card renders as a titled section, because chat cards cannot nest.
Standard components: Card, Section, Text (markdown), Fields with Field, Table, Chart (pie with segments, or bar, line, area with categories and series[].values), Divider, Image, and Actions with Button and LinkButton.
{
"root": "card",
"elements": {
"card": {
"type": "Card",
"props": { "title": "Weekly deploys" },
"children": ["kpis", "chart"]
},
"kpis": { "type": "Fields", "props": {}, "children": ["total"] },
"total": {
"type": "Field",
"props": { "label": "Deploys", "value": "985" },
"children": []
},
"chart": {
"type": "Chart",
"props": {
"title": "Deploys per day",
"chart": {
"type": "bar",
"categories": ["Mon", "Tue"],
"series": [{ "name": "Deploys", "values": [180, 210] }]
}
},
"children": []
}
}
}
$state, $item, $index, and $template resolve against spec.state. visible conditions drop elements. repeat renders an element's children once per item. A repeated Table expands its rows as a template, and object rows map to headers by key name. $bindState and $bindItem have no effect because posted messages have no inputs. Expansion stops at maxElements (default 1000 elements and table rows); toCard throws past it.
toCard throws CardSpecError with an issues array (one entry per problem). Send the issues back to the model to repair the spec. Pass limits to reject specs that a platform would degrade, for example { tables: 1, charts: 2 } for Slack. Available limits: tables, charts, fields, tableRows, tableColumns, chartTitle, chartLabel, chartSeries, chartPoints.
The renderer imports chat for types only, so it runs in the browser and on the server. Convert a card for a specific platform with the adapter, for example cardToSlackBlocks from @chat-adapter/slack/blocks or cardToAdaptiveCard from @chat-adapter/teams/cards.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
chat-sdk, slack-block-kit, adaptive-cards, json-render, bot-messages
32 skills in this plugin
/codegenCode generation utilities for json-render. Use when generating code from UI specs, building custom code exporters, traversing specs, or serializing props for @json-render/codegen./coreCore package for defining schemas, catalogs, and AI prompt generation for json-render. Use when working with @json-render/core, defining schemas, creating catalogs, or building JSON specs for UI/video generation./devtoolsDrop-in inspector panel for any json-render app. Use when the user wants to debug a generative UI, inspect the spec tree, edit state at runtime, see dispatched actions, follow stream patches live, browse a catalog, or pick DOM elements to find their spec keys. Triggers include "add devtools", "debug json-render", "inspect the spec", "why is this element not rendering", "see the state at runtime", or requests to tap streams / capture action logs for `@json-render/devtools`./vercel-labs-json-render-1:chatfrom vercel-labs-json-render-1
vercel-labs-json-render-1@cascade-content-creation-misc-1 is listed by joshuarweaver/cascade-content-creation-misc-1 — review the source before installing
npx claudepluginhub joshuarweaver/cascade-content-creation-misc-1 --plugin vercel-labs-json-render-1Other plugins' skills for the same job