Use when the user asks to "render to PNG", "convert to PDF", "export Mermaid diagrams", "generate printable deliverables", "create branded exports", or mentions rendering engine, Mermaid-to-PNG, markdown-to-PDF, format rendering, export engine, visual format conversion.
TL;DR: Converts project deliverables between formats: Mermaid diagrams to PNG/SVG images, Markdown to styled PDF with APEX branding, and HTML to print-ready PDF. Ensures visual fidelity across format conversions while maintaining brand consistency.
El formato de entrega debe ser el que el receptor puede consumir. No todos los stakeholders pueden renderizar Mermaid o leer Markdown. El rendering engine es el puente entre el formato de trabajo (Markdown + Mermaid) y el formato de distribución (PDF, PNG, HTML). La fidelidad visual en la conversión es no negociable.
references/ontology/canonical-tokens.md [PLAN]# Render Mermaid diagram to PNG
/pm:rendering-engine $ARGUMENTS="--source diagram.mmd --target PNG --resolution 300dpi"
# Convert Markdown deliverable to branded PDF
/pm:rendering-engine --type md-to-pdf --source charter.md --branding apex
# Batch render all Mermaid files in project
/pm:rendering-engine --type batch --glob "**/*.mmd" --target SVGParameters:
| Parameter | Required | Description |
|---|---|---|
$ARGUMENTS | Yes | Path to source file |
--type | No | mermaid-to-png (default), md-to-pdf, html-to-pdf, batch |
--target | No | PNG, SVG, PDF |
--resolution | No | Image resolution (default 150dpi) |
--branding | No | apex (default), none |
--glob | No | Pattern for batch rendering |
{TIPO_PROYECTO}: All project types need format rendering. Executive deliverables typically need PDF; dashboard elements need PNG/SVG; working documents stay in Markdown.
references/ontology/canonical-tokens.md to load APEX brand tokens for styling [PLAN]Good example — High-fidelity rendering:
| Attribute | Value |
|---|---|
| Source | Mermaid Gantt chart with 30 activities |
| Target | PNG at 300dpi + PDF with branded header |
| Brand compliance | APEX blue #2563EB and amber #F59E0B verified |
| Fidelity | All text readable, no truncation, correct encoding |
| File size | PNG 2.1MB (web-optimized), PDF 450KB |
| Accessibility | Alt text included for PNG, tagged PDF structure |
Bad example — Broken rendering: PNG exported at 72dpi with text too small to read, brand colors replaced with default Mermaid theme, and Spanish characters showing as encoding artifacts. Low-resolution exports fail the professional standard test and damage credibility.
| Resource | When to read | Location |
|---|---|---|
| Body of Knowledge | Before starting to understand standards and frameworks | references/body-of-knowledge.md |
| State of the Art | When benchmarking against industry trends | references/state-of-the-art.md |
| Knowledge Graph | To understand skill dependencies and data flow | references/knowledge-graph.mmd |
| Use Case Prompts | For specific scenarios and prompt templates | prompts/use-case-prompts.md |
| Metaprompts | To enhance output quality and reduce bias | prompts/metaprompts.md |
| Sample Output | Reference for deliverable format and structure | examples/sample-output.md |
Converts markdown to styled HTML with design tokens. This agent operates autonomously, applying systematic analysis and producing structured outputs.
Renders Mermaid diagrams to PNG/SVG images. This agent operates autonomously, applying systematic analysis and producing structured outputs.
Exports HTML deliverables to print-ready PDF format. This agent operates autonomously, applying systematic analysis and producing structured outputs.
Processes document templates with variable substitution. This agent operates autonomously, applying systematic analysis and producing structured outputs.
15f6e4a
Also appears in
since Aug 28, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.