with one click
ppt-template-pack
当用户提供已有模板、参考 deck 或页面样例,需要拆解其布局结构、组件规则和设计约束以供后续复用时使用。
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.
Menu
当用户提供已有模板、参考 deck 或页面样例,需要拆解其布局结构、组件规则和设计约束以供后续复用时使用。
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 中存在图片或视觉资产缺口,需要为页面或槽位生成可追踪的资产计划,并优先落地本地图片文件时使用。
当需要根据 style-spec、storyboard 和 asset-plan 逐页生成 1280×720 HTML 幻灯片时使用。
| name | ppt-template-pack |
| description | 当用户提供已有模板、参考 deck 或页面样例,需要拆解其布局结构、组件规则和设计约束以供后续复用时使用。 |
将用户提供的模板、参考 deck 或页面样例拆解为可复用的布局结构与设计约束。
template-pack.json,明确模板可复用的结构与约束。ppt-style-spec 提供模板级设计输入,为 ppt-storyboard 和 ppt-page-html 提供布局复用依据。.pptx、.pdf、截图等)。ppt-superpower 在流水线中按需调度,不是每次都必须执行。task-pack.json:必须先读取,从中取得 deck_dir 和任务上下文。${deck_dir}/template-pack.json。deck_dir。task-pack.json,确认 deck_dir。template-pack.json。ppt-style-spec 的输入信号)。ppt-style-spec 的集成template-pack.json 中的色彩、字体、装饰线索应传递给 ppt-style-spec 作为设计输入。ppt-style-spec 应优先服从模板约束,在模板未覆盖的维度上补充。ppt-style-spec 的 page_type_variants,但 template-pack 不直接替代 style-spec.json。ppt-style-spec 独立定义。class TemplatePack:
schema_version: str
source_description: str
page_patterns: list["PagePattern"]
layout_rules: list[str]
component_rules: list[str]
style_constraints: list[str]
reusable_assets: list[str]
global_vs_local: list["ScopeAnnotation"]
conflicts_with_task: list[str]
class PagePattern:
page_type: str
layout_description: str
grid_structure: str
component_slots: list[str]
reusable: bool
notes: str
class ScopeAnnotation:
element: str
scope: str # "global" | "local"
confidence: str # "high" | "medium" | "low"
notes: str
template-pack.json。下一步。style-spec.json。ppt-storyboard 和 ppt-page-html,但不负责内容研究。deck_dir,必须从 task-pack.json 读取。