Menu
当需要根据 style-spec、storyboard 和 asset-plan 逐页生成 1280×720 HTML 幻灯片时使用。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Professional data visualization using Python (matplotlib, seaborn, plotly). Create publication-quality static charts, statistical visualizations, and interactive plots. Use when generating charts/graphs/plots from data, creating infographics with data components, or producing scientific/statistical visualizations. Supports PNG/SVG (static) and HTML (interactive) export.
将 deck_dir 中的 HTML 页面导出为可编辑的 PPTX 文件,使用 DOM 解析重建方式生成原生 PPTX 元素(文本框、图片、形状、表格等)。
Generate professional PDFs from Markdown, HTML, data, or code. Reports, invoices, contracts, and documents with best practices.
Generate, edit, and read PowerPoint presentations. Create from scratch with PptxGenJS (cover, TOC, content, section divider, summary slides), edit existing PPTX via XML workflows, or extract text with markitdown. Triggers: PPT, PPTX, PowerPoint, presentation, slide, deck, slides.
当 storyboard 中存在图片或视觉资产缺口,需要为页面或槽位生成可追踪的资产计划,并优先落地本地图片文件时使用。
当 `ppt-task-pack` 判定存在内容缺口、`task-pack.json.research_required` 为真时使用;上传报告、事实数据案例和长文档只是 `ppt-task-pack` 计算 `research_required` 的信号,不是独立入口。
根据上游工件逐页生成 HTML 幻灯片,每页一个文件,严格遵守画布尺寸、风格规格和内容预算。
为 storyboard.json 中的每一页生成对应的 pages/page_XX.html 文件。
storyboard.json
pages/page_XX.html
ppt-storyboard
ppt-asset-plan
ppt-review
task-pack.json
deck_dir
style-spec.json
payload_budget
style_variant
asset_requirements
asset-plan.json
消费前必须确认以上文件真实存在且可读,路径与 deck_dir 一致。
pages/page_01.html
page_number
1280×720
HTML 必须保留以下层级:
.wrapper #bg ← 铺满整页 #ct ← 铺满整页 #footer
#bg 和 #ct 都必须铺满整页。
#bg
#ct
可见标题必须放在 #ct 内,或放在单独的 #header 容器内。
#header
不要把 .header 当作 #bg 和 #ct 之间的裸兄弟节点,否则导出时会被内容层盖住或丢失。
.header
160×60px
<div id="footer">
position: absolute; right: 40px; bottom: 20px;
background_system
foreground_motifs
component_skins
density_rules
page_type_variants
page_type
variant_key
layout_shell
header_strategy
装饰层规则:
svg_motif_library
required_svg_motifs
装饰标记(供 review 和导出校验核对):
data-layer="bg-motif"
data-layer="fg-motif"
data-motif-key="<motif_key>"
页面差异:
必须显式消费 storyboard.json.pages[n].payload_budget:
storyboard.json.pages[n].payload_budget
claim_count
evidence_count
structure_block_count
require_comparison_or_summary
True
local_path
storyboard.json.pages[n].asset_requirements
real-photo
svg-icon
svg-illustration
ppt-page-html
display_items
layout_intent
data_requirements
storyboard.json.pages[n].display_items
data-display-id
data-atom-ids="<comma-separated-atom-ids>"
data-atom-ids
pages/
下一步
mt-auto
flex-grow
flex: 1
position: absolute + transform: translate(...)
style-spec