بنقرة واحدة
ppt-storyboard
当需要把任务包、研究结果、风格规格和模板约束转换成固定 schema 的分页叙事结果,并供前端展示和后续页面生成直接消费时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
当需要把任务包、研究结果、风格规格和模板约束转换成固定 schema 的分页叙事结果,并供前端展示和后续页面生成直接消费时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
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-storyboard |
| description | 当需要把任务包、研究结果、风格规格和模板约束转换成固定 schema 的分页叙事结果,并供前端展示和后续页面生成直接消费时使用。 |
storyboard.json 是默认必产工件,也是前端契约。将上游所有工件收束为固定 schema 的分页叙事,供前端展示和 ppt-page-html 直接消费。
同时满足三件事:
ppt-page-html 可以直接消费。task-pack.json、info-pack.json 和 style-spec.json 已产出。research_required 为真,research-pack.json 也必须已产出。ppt-superpower 在流水线中调度进入。task-pack.json:任务边界、页数、deck_dir、content_density_profile。info-pack.json:分页前的唯一信息来源,包含所有可见信息的 InfoAtom。style-spec.json:设计控制面、density_rules、page_type_variants。research-pack.json(按需):结构化内容池。template-pack.json(按需):模板约束。消费前必须先确认以上工件真实存在且可读。如果目标文件不存在、路径不一致或关键字段缺失,先返回缺失依赖并补齐上游工件,不要猜测。
${deck_dir}/storyboard.json。deck_dir。storyboard.json 为默认必产。task-pack.json 要求。payload_budget 规则task-pack.json.content_density_profile,结合 page_type、narrative_role 和 style-spec.json 中已声明的 density_rules,把 content_density_profile 转成可执行的 payload_budget。payload_budget,不要只停在 deck 级 profile 描述。payload_budget 至少要写出 claim_count、evidence_count、structure_block_count 和 require_comparison_or_summary,供后续 ppt-page-html 直接消费。analysis-heavy 下的分析类页应给更高预算:允许更多 claim / evidence,并且优先要求 2 块以上结构块,必要时要求对比或摘要。balanced 采用中位预算,让正文页既不空也不过载。showcase-light 下的展示类页预算可以更轻,但仍要明确最低承载,不要把内容责任完全让给主视觉。content_blocks 与 source ID 引用content_blocks[n] 都必须显式填写 source_claim_ids 与 source_evidence_ids,引用 research-pack 中实际存在的条目,而不是写模糊主题词。ppt-research-pack 时,source_claim_ids 与 source_evidence_ids 应保留为空列表;这是合法状态,不要伪造引用。unresolved_gaps,不要假装内容已经闭环。info-pack 与可见信息回指info-pack.json 是分页前的唯一信息来源。storyboard.json 中显式出现,不要把页面上的次级文案、数值或图表数据留到 ppt-page-html 再现场补编。title_atom_ids,指向 info-pack.json 中实际存在的 InfoAtom。display_items,覆盖标题之外的正文、数值、图表数据、标签、caption、脚注等可见信息。DisplayItem 都必须填写 atom_ids,引用 info-pack.json 中实际存在的条目;不要只写自然语言主题词。display_items,并在 payload 中保留结构化字段。display_item,然后把真正的图表系列和值留给 ppt-page-html 去猜。layout_intent 和 data_requirements 不能替代显式图表数据;前者只描述布局意图,后者只描述仍需补齐或核验的数据缺口。display_items 只需要轻量记录用户可见信息与引用 ID,不要把整段来源全文复制进 storyboard。info-pack.json 中缺少某页所需的信息,应在 display_items 或 unresolved_gaps / unresolved_issues 中显式留下缺口,不要补编。style_variant 映射style_variant 必须直接引用 style-spec.json 中已声明的 variant 映射,不要重新发明一套名字。style_variant 不要把它写成宽泛形容词;它必须是后续 ppt-page-html 可直接按 variant 落地的键。asset_requirements 规则svg-illustration、svg-icon、real-photo、qr-placeholder。real-photo,必要时可叠加 svg-illustration 或 svg-icon 做装饰。asset_requirements 必须拆成多个可追踪槽位,不要只写一个泛化的 real-photo。real-photo 要求;否则后续 ppt-asset-plan 和 ppt-review 无法判断是否缺图。插画感 只影响装饰语法、背景氛围和前景点缀,不等于把证据型图片全部改成 svg-illustration。svg-illustration。unresolved_gaps 只承接块级内容 / 证据 / claim 缺口。unresolved_issues 只承接页级问题,例如布局、资产、待确认页级约束。asset_requirements 与 unresolved_issues,便于后续局部修复。presenter_intent 只表达讲述意图,不承担完整讲稿。from typing import Any, Literal
Json = dict[str, Any]
Mode = Literal["fast", "guided", "surgical"]
class Storyboard:
schema_version: str
ppt_title: str
language: str
total_pages: int
mode: Mode
pages: list["StoryboardPage"]
class StoryboardPage:
page_id: str
page_number: int
title: str
title_atom_ids: list[str]
page_type: str
section: str
narrative_role: str
audience_takeaway: str
layout_intent: str
style_variant: str
payload_budget: "PayloadBudget"
content_blocks: list["ContentBlock"]
display_items: list["DisplayItem"]
visual_requirements: list[str]
data_requirements: list[str]
asset_requirements: list[str]
unresolved_issues: list[str]
presenter_intent: str
class PayloadBudget:
claim_count: int
evidence_count: int
structure_block_count: int
require_comparison_or_summary: bool
class ContentBlock:
block_id: str
heading: str
summary: str
source_claim_ids: list[str]
source_evidence_ids: list[str]
unresolved_gaps: list[str]
class DisplayItem:
item_id: str
kind: str
text: str
payload: Json | None
atom_ids: list[str]
block_id: str | None
info-pack、research 条目和风格规格转成分页叙事,并指出会产出 storyboard.json。下一步。guided 模式,完成反馈必须明确提示用户现在可以先审阅 storyboard.json,不要只返回一段自由文本大纲。info-pack.json 是 storyboard 的唯一信息来源。storyboard.json 为默认必产。payload_budget。content_blocks[n] 都必须有可追溯的 source ID。info-pack.json 中的 atom_id。data_requirements 驱动;系列名、标签、数值、图例必须显式进入 display_items。style_variant 必须映射到 style-spec.json 中已声明的 variant。asset_requirements 必须拆到可追踪粒度。outline 的松散结构。storyboard.json。source_claim_ids / source_evidence_ids 引用。storyboard.json。ppt-page-html 再现场补编。display_item,再让 ppt-page-html 根据 layout_intent 或 data_requirements 自行推断系列数据。svg-illustration。real-photo 要求。