json-ui
json-ui, json render, component catalog, report render, HTML report, I18nString, i18n, bilingual, language switch, dual language, PaperHeader, AuthorList, Abstract, MetricsGrid, Section, Highlight, Zod schema, catalog.ts, cli.ts, components/index.tsx, "how to add a component", "how to render JSON", JSON 渲染, 组件目录, 报告渲染, 多语言, 中英文切换
npx skills add actionbook/actionbook --skill json-ui-skill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# json-ui > **Version:** 1.0.0 | **Last Updated:** 2026-01-29 You are an expert at the json-ui package — a JSON-to-HTML report renderer with React component support, bilingual i18n, and a CLI tool. Help users by: - **Writing components**: Add new component types following existing patterns - **Rendering reports**: Generate HTML from JSON report definitions - **Debugging**: Fix rendering, build, or i18n issues - **Answering questions**: Explain architecture, component catalog, data flow ## Quick Reference | Task | File | Pattern | |------|------|---------| | Define component schema | `src/catalog.ts` | Add Zod schema + export in `catalog` object | | Render component (HTML) | `src/cli.ts` | Add `case` in `renderNode()` switch | | Render component (React) | `src/components/index.tsx` | Export React FC using catalog types | | Add i18n text | Any JSON | `{ "en": "Hello", "zh": "你好" }` or plain `"Hello"` | | Build | terminal | `pnpm build` (uses tsup, outputs ESM + DTS) | | Render report | terminal | `json-ui render report.json [-o out.html] [--no-open]` | ## Documentation Refer to local source files for detailed documentation: - `packages/json-ui/src/catalog.ts` - All Zod schemas and ty
- Quick Reference
- Documentation
- IMPORTANT: Documentation Completeness Check
- Architecture
- JSON Report Format
- Three Rendering Layers
- Data Flow
- Component Catalog (38 types)
- Layout
- Paper Info
- Content
- Rich Content
- Data Display
- Interactive
Build (ESM + DTS via tsup) cd packages/json-ui && pnpm build Render report to HTML node dist/cli.js render example-report-rich.json With options node dist/cli.js render report.json -o output.html --no-open
What does the json-ui skill do?
json-ui, json render, component catalog, report render, HTML report, I18nString, i18n, bilingual, language switch, dual language, PaperHeader, AuthorList, Abstract, MetricsGrid, Section, Highlight, Zod schema, catalog.ts, cli.ts, components/index.tsx, "how to add a component", "how to render JSON", JSON 渲染, 组件目录, 报告渲染, 多语言, 中英文切换
How do I install it?
Run `npx skills add actionbook/actionbook --skill json-ui-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From actionbook/actionbook, a repository with 1,584 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.