/cogni-publishing:design-renderfrom cogni-publishing
Renders a validated publishing composition into a branded HTML page or editable PPTX deck, delegating PPTX to the host presentation skill and gating handover through design-verify.
Ships in cogni-publishing. 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.
Read when SKILL.md points to them.
Turn a validated semantic-composition@2 into a client-grade deliverable and hand back its files. The platform route delegates PPTX creation to the host presentation skill; HTML follows this plugin's DOM contract. On every route, design-verify independently gates handover. Never edit a rendered page, deck or composition to make a check pass: frozen copy, unit order and source lineage are exactly what they protect.
Every delivery contains the native artifact, platform provenance, independent verification and visual review.
data of a successful publishing-validate normalize run, saved as its own JSON file.data of a successful design-compose compose run whose targets include the target to render.theme_path from the manage-themes selection handoff, or a theme directory. Its directory name must equal the composition's design_system.name, and it must ship the authoritative tokens/*.json carrying the token roles listed in ${CLAUDE_PLUGIN_ROOT}/references/design-render.md; the pptx target also needs its colour tokens in hex. Every bundled theme qualifies; a tier-0 theme (theme.md only) derives its tokens through manage-themes Operation 7. A theme may also ship licensed faces, one per weight of a family, declared in its assets/fonts/faces.json beside each face's licence; the html target embeds every face of the copy family, each under its declared weight (declaration fields: design-render.md §Fonts). The bundled cogni-work theme ships DM Sans Regular and Bold.--language for a direct brief that does not state one (for example --language de).Resolve by host, in this order. On Codex, select the bundled presentations:Presentations skill even when document-skills:pptx is installed. On an Anthropic host, select its installed anthropic-skills:pptx or document-skills:pptx capability. On another host, select an installed skill whose description explicitly claims .pptx creation. Rely on the host's normal description-based skill triggering; do not create or consult a renderer registry. Load the selected theme as the design system. Its token files under tokens/, their compiled tokens.resolved.json when present, assets/fonts/faces.json when shipped, and theme.md are authoritative when another brand skill disagrees. Resolve semantic dark-surface roles to existing theme colors: use explicit bg-dark / text-on-dark tokens when present; otherwise map them to the theme's existing primary / bg colors and record that mapping in provenance and visual review. Invent no color.
When no presentation skill is available, return exactly {"success": false, "error": "platform_renderer_unavailable"}. Write no artifacts and install nothing.
sources last. When the normalized brief has a document title or subtitle, prepend exactly one slide named document carrying those frozen fields as copy:document#title and copy:document#subtitle; this is the cover the verifier expects. Otherwise the first composition unit is slide 1. Add no invented cover copy.visual_intent into the relationship and focal point it names; avoid decorative icons, stock imagery, arbitrary metaphors, repeated card grids, pills, and template monoculture.key_figures item as a hero figure. Render design.dark_slides and the climax unit on bg-dark with text-on-dark. Render evidence_status as a quiet uppercase tag and put talk_track in speaker notes.Pass these clauses, the normalized brief, the composition, and the theme directory to the resolved skill:
copy:<record-id>#<field> through the presentation skill's object-name option. Keep a multi-item text binding in that one object as separate paragraphs. For system entities that require distinct native shapes, expand the list binding to one object per frozen item named copy:<record-id>#<field>#<zero-based-index>, preserving item order; do not also emit the whole-list object. Never split an individual copy key across shapes or render copy as a picture.talk_track through the presentation skill's notes API, complete and verbatim.Run design-verify.py verify --target pptx against the normalized brief, composition, theme, and delivered deck. Do not pass a pptx-manifest.json: platform decks are inventoried from the package. Review every slide at full resolution under references/visual-qa.md and fold the record into verification.
If verification fails, re-invoke that same selected presentation skill, not a different renderer, with every finding returned verbatim and an instruction to change nothing else. Count each re-invocation as one repair attempt. The repair budget defaults to 3 and is never more than 10. Never make more re-invocations than the budget. When the budget is spent, report a bounded failure carrying the last attempt's findings verbatim; never report success or hand over those files.
Run design-verify.py preserve before handover and require an empty frozen-copy diff. Check the brief content fingerprint before the first attempt and after the last; any change is a defect, not a repair.
Write provenance.json beside the deck with renderer: {"kind": "platform", "name": <resolved skill>, "version": <skill version or marketplace commit>} and reproducible: false. Record the host and run identity, frozen brief/composition/theme inputs, every attempt and its findings, per-attempt preserve result, before/after content fingerprint and ordered unit ids, applicable theme/font/runtime evidence, review record digest, and every output digest. Report the deck path, slide count, theme, renderer identity, substitutions, verify verdict, and review coverage. Never present an outline, PDF, or image sequence as the deck.
Author one section[data-unit][data-pattern] per composition unit in order. Put slot content in data-slot elements in reading order, every frozen field in one data-copy element, dataset values in data-value, and citations and source-register entries in data-source elements whose links equal the source URL. Use only theme custom properties for color and type. Include no hidden, clamped, clipped, scripted, remote, or file-referenced content. Gate the page with design-verify.py verify --target html and the same bounded loop and fingerprint rules.
Never rewrite, shorten, add, drop or reorder copy or units to make a unit fit, and never hand a finding to a copywriting skill.
After every render, run design-verify on the output and report success only when its verdict passes. When verification fails, repair within the budget and report the findings and repair history of a bounded failure, never a success.
For an automated host integration, pass an explicit JSON argv array as --platform-command to design-verify.py render-verified. The command forwards the frozen inputs and previous findings to the same host bridge on every attempt. It does not discover skills, install dependencies or select a fallback. Without a bridge it returns platform_renderer_unavailable and writes nothing. The skill-driven route above invokes the selected host capability directly.
Report the native artifact path, renderer identity, theme, font substitutions, preservation result, verification verdict and review coverage. Describe any non-editable fallback and its reason. Browser evidence is collected separately with design-render.py measure; its pinned runtime must already be provisioned.
| File | Read it when |
|---|---|
${CLAUDE_PLUGIN_ROOT}/skills/design-render/references/visual-qa.md | reviewing a platform render and mapping each hand-off clause to its falsifier |
${CLAUDE_PLUGIN_ROOT}/skills/design-render/agents/openai.yaml | checking the Codex discovery prompt for $design-render |
${CLAUDE_PLUGIN_ROOT}/references/layout-contract.md | implementing or checking the HTML DOM contract |
${CLAUDE_PLUGIN_ROOT}/references/design-render.md | the host bridge contract, provenance admission and measurement runtime |
${CLAUDE_PLUGIN_ROOT}/references/font-fallbacks-v1.json | checking the order in which a theme-shipped face, a bundled face and a generic chain resolve, and which Office typeface a deck uses |
${CLAUDE_PLUGIN_ROOT}/references/render-provenance-v1.schema.json | checking the provenance record's exact shape |
${CLAUDE_PLUGIN_ROOT}/references/artifact-contracts.md | the version compatibility matrix and the shared finding codes |
${CLAUDE_PLUGIN_ROOT}/references/design-verify.md | verifying a rendered output after the render, the repair budget, and the findings verify and render-verified report |
measure command starts the provisioned, lockfile-pinned browser runtime. Rendering never installs it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub cogni-work/insight-wave --plugin cogni-publishing7 skills in this plugin
/copywriterPolish, rewrite, or create business documents (memos, briefs, reports, proposals, one-pagers, executive summaries, emails, blog posts, business letters) using professional messaging frameworks (BLUF, McKinsey Pyramid, SCQA, STAR, PSB, FAB) and persuasion techniques (number plays, power words, rhetorical devices). Use this skill when the user asks to polish a document, improve writing, make something more readable, restructure a brief, apply BLUF or Pyramid Principle, rewrite for executives, strengthen messaging, create a proposal, write a one-pager, clean up a report, compress a document to minimum length without losing facts, shorten a synthesis for circulation, tighten a document while keeping every citation and number, or apply any named messaging framework. Handles German documents (Wolf Schneider style), arc-aware narrative polishing (story arcs with arc_id), and IS/DOES/MEANS sales messaging. Simple requests like "make this better" about a markdown file should trigger this skill./design-composeThis skill should be used when the user wants to bind a validated publishing brief to reusable visual patterns before any renderer lays it out — "design-compose", "compose this brief", "pick visual patterns for this brief", "which pattern fits this slide", "build the semantic composition", "why was this composition rejected", "repair this composition", or "propose a new visual pattern". It binds every frozen record once, in order, to the library's accepted proof patterns as a copy-free, geometry-free semantic-composition@2, and applies whenever a normalized brief needs visual structure before HTML or PPTX rendering, even when the user does not name the skill. It fills an unpatterned metric unit's pattern from the brief's own key figures and only from accepted patterns, never overwrites a choice the draft carries, and never renders. Standalone — no model API, no renderer, no network, and no cogni-workspace installation required.Other plugins' skills for the same job