publish-rendered-diagrams
Rewrites markdown to reference rendered DiagramForge SVGs instead of inline diagram fences, while preserving the original source when possible.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rewrites markdown to reference rendered DiagramForge SVGs instead of inline diagram fences, while preserving the original source when possible.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | publish-rendered-diagrams |
| description | Rewrites markdown to reference rendered DiagramForge SVGs instead of inline diagram fences, while preserving the original source when possible. |
| user-invocable | true |
Use this skill when a user wants to convert markdown-authored diagram fences into published SVG image references.
This is an advanced workflow. Prefer preserving the original diagram source rather than deleting it.
Recommended safe mode:
pwsh scripts/Render-MarkdownDiagrams.ps1 \
-RootPath <docs-root> \
-OutputRoot <svg-output-root> \
-RewriteMarkdown \
-SourceHandling details
More aggressive mode:
pwsh scripts/Render-MarkdownDiagrams.ps1 \
-RootPath <docs-root> \
-OutputRoot <svg-output-root> \
-RewriteMarkdown \
-SourceHandling remove
<details> block unless the user explicitly wants removal.details mode.remove only if the user explicitly wants destructive rewriting or already stores source elsewhere.Turns prose, bullets, or structured notes into DiagramForge-compatible diagram source. Prefer Mermaid for graph-native diagrams and the Conceptual DSL for slide-native layouts such as matrix, cycle, funnel, chevrons, radial, pillars, and pyramid.
Finds DiagramForge-compatible diagram fences in markdown and renders them to SVG in bulk using the repository's render workflow.