What problem does it solve?
Generating consistent, preview-ready HTML from agent-designed document models can be error-prone without a unified renderer. This skill provides a common HTML renderer that translates a document model into a verifiable HTML bundle, validates structure, and presents a session-scoped preview URL.
Core Features & Use Cases
- Common HTML rendering surface for outputs derived from document models, including diagrams, code blocks, and images.
- Offloads heavy work to scripts/html_review_workbench while this skill manages input checks, call order, and safety gates.
- End-to-end preview lifecycle via the renderer CLI (build-model, attach-image, check-model, render, validate, preview), returning a usable preview URL.
- Supports diagram blocks (Mermaid) and image attachments with semantic HTML blocks and validation.
- Ensures final HTML integrity by validating HTML, assets, and schemas before presenting to users.
Quick Start
Provide a document-model.json and instruct the renderer to generate an HTML bundle and start a preview.