structured-renderers/SKILL.md
Native Web UI structured renderer schemas for compose-block drafts, search-results cards, dataframe tables, chart-json charts, and diff output
npx skillsauth add lidge-jun/cli-jaw-skills structured-renderersInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill before emitting native Web UI structured fences:
compose-blocksearch-resultsdataframechart-jsondiffThese are final-answer-only renderer contracts. Emit complete JSON only in the final assistant response, never partial JSON during streaming, and never include secrets, hidden chain-of-thought, credentials, local-only URLs, or internal state.
Use the smallest native renderer that matches the answer:
| Intent | Fence |
|---|---|
| Search results, source cards, citations with URLs | search-results |
| Editable email, message, or document drafts | compose-block |
| Filterable/sortable/pageable row data | dataframe |
| Simple single-series bar, line, or pie chart | chart-json |
| File patch or unified diff display | diff or raw unified diff |
If the current channel cannot render Web UI widgets, fall back to clear Markdown.
Before emitting a structured fence, read references/schemas.md and match the exact schema for the fence.
Important drift guards:
compose-block requires schemaVersion: "compose-block-v1", kind, and variants[].compose-block objects such as { "type": "...", "title": "...", "body": "..." }.variants[].body, variants[].paragraphs, or variants[].bodyLines; top-level body is not the editable draft body.\\n or \\n\\n inside variants[].body.variants[].paragraphs: string[] (joined with blank lines) or variants[].bodyLines: string[] (joined with single line breaks) so no newline escape is needed inside JSON strings.JSON.stringify or compact JSON so every newline inside string content is escaped.search-results, dataframe, and chart-json also require their *-v1 schemaVersion.diagram-html instead of chart-json for multi-series charts, maps, advanced chart types, external libraries, or custom JavaScript.diagram owns SVG, Mermaid, maps, advanced chart widgets, interactive visualizations, and diagram-html.
This skill owns native non-diagram Web UI renderer schemas. For simple charts, prefer chart-json; for advanced charts or custom interaction, load diagram and use diagram-html.
tools
Use only on the Codex CLI for native image generation or image editing without an API key. Save final PNG files under ~/.cli-jaw/uploads, report web-ready absolute-path markdown, and send to Telegram or Discord only when explicitly requested.
tools
Ranked repository structure map via `cli-jaw map`. Use for codebase overview, structure map, symbol overview, unfamiliar codebase exploration, architecture orientation. Triggers: repo map, structure map, codebase overview, 와꾸, project structure, unfamiliar code.
tools
cli-jaw Design workspace: create, preview, run, and export design pages from the right sidebar. Covers panel UX, direct-write workflow, artifact lifecycle, wireframe generation, design system, and Open Design adapter.
development
MUST USE for infrastructure and delivery work — container builds, deploy pipelines, Kubernetes, Infrastructure as Code, SRE foundations, edge/serverless, ML infrastructure. Triggers: Dockerfile, K8s manifests, CI/CD pipeline, Terraform/IaC, release/deploy, devops/infra/deploy or release_cd task_tags.