بنقرة واحدة
ppt-style-spec
当需要为整套 PPT 建立统一而不单调的设计语言,并把用户要求、风格参考和模板约束收束为可复用的样式规格时使用。
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
当需要为整套 PPT 建立统一而不单调的设计语言,并把用户要求、风格参考和模板约束收束为可复用的样式规格时使用。
التثبيت باستخدام 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-style-spec |
| description | 当需要为整套 PPT 建立统一而不单调的设计语言,并把用户要求、风格参考和模板约束收束为可复用的样式规格时使用。 |
style-spec.json 是默认必产工件,也是整套 deck 的设计控制面。
ppt-storyboard 和 ppt-page-html 提供统一的视觉控制规则。style-spec.json,覆盖色彩、字体、背景、前景装饰、组件皮肤、信息密度、页面类型变体等完整设计语言。ppt-task-pack 完成后,进入风格规格阶段。style-spec.json 都是必产工件。task-pack.json:必须先读取,从中取得 deck_dir、风格意图(style_intent)、content_density_profile。template-pack.json(可选):如果 ppt-template-pack 已执行,从中取得模板约束。${deck_dir}/style-spec.json。task-pack.json 缺失、不可读或没有 deck_dir,先补齐上游工件,不要猜测输出路径。task-pack.json 中的 风格意图,结合主题、场景、受众、行业语境和参考材料推断主风格。task-pack.json 中的 content_density_profile,把它解释为正文页的承载策略,再落到 density_rules 和页面类型原则。商务 或 海报,不能把它们误当成默认唯一风格。content_density_profile 表示正文页的承载策略,不是单纯视觉风格切换。analysis-heavy:分析 / 汇报 / 评估类 deck,可承载更高论点密度、证据密度和结构密度。balanced:普通汇报 / 培训 / 项目介绍类 deck,在信息量、视觉承载与留白之间取中位策略。showcase-light:品牌 / 展示 / 活动 / 发布类 deck,采用更克制的正文承载,把重心让给主视觉、节奏和记忆点。style-spec 在这一轮只负责解释 profile 对 density_rules、页面壳子和组件承载的影响,不负责重算默认 profile,也不要提前展开其他预算字段。以下字段全部必须在 style-spec.json 中明确定义:
design_theme)design_keywords)visual_archetype)fallback_archetype)color_roles)typography)background_system)foreground_motifs)svg_motif_library)component_skins)density_rules)page_type_principles)page_type_variants)component_tone)diversity_rules)anti_patterns)visual_archetype 与 fallback_archetypevisual_archetype 要表达根据用户需求推断出的主风格。fallback_archetype 才能取 商务 或 海报。color_rolestypographybackground_systemforeground_motifssvg_motif_librarymotif_key、usage_layer、drawing_hint、palette_binding。component_skins插画感、手作感 这类风格词,默认只增强装饰层与组件皮肤;不要把它们误用成"所有视觉都改成插画、无需真实图片"。density_rulesanalysis-heavy、balanced、showcase-light 的承载语义一致。content_density_profile 对正文页承载方式的影响,不要把它误写成颜色或装饰风格切换。page_type_variantspage_type 粗分;要能覆盖 style_variant,让后续页面可以直接映射到具体壳子。variant_key、layout_shell、header_strategy 等字段,避免只剩"科技感 / 高级感"这类空泛描述。required_svg_motifs,让 ppt-page-html 知道这一页至少要画哪些装饰或插画元素。background_motif_recipe 与 foreground_motif_recipe,明确 motif 放在哪、疏密如何、透明度如何。background_motif_recipe 与 foreground_motif_recipe 不能同时为空;至少一侧要提供可感知的装饰配方。background_motif_recipe 留空。full-screen、edge-band、corner-cluster、side-panel、top-ribbon。page_type_principlesanti_patternsclass StyleSpec:
schema_version: str
design_theme: str
design_keywords: list[str]
visual_archetype: str
fallback_archetype: str
color_roles: list["ColorRole"]
typography: "TypographySpec"
background_system: list[str]
foreground_motifs: list[str]
svg_motif_library: list["SvgMotif"]
component_skins: list[str]
density_rules: list[str]
page_type_variants: list["PageTypeVariant"]
page_type_principles: list["PageTypePrinciple"]
component_tone: list[str]
diversity_rules: list[str]
anti_patterns: list[str]
class PageTypeVariant:
variant_key: str
page_type: str
layout_shell: str
header_strategy: str
background_strategy: str
foreground_strategy: str
required_svg_motifs: list[str]
background_motif_recipe: list["MotifPlacement"]
foreground_motif_recipe: list["MotifPlacement"]
component_strategy: str
class SvgMotif:
motif_key: str
usage_layer: str
drawing_hint: str
palette_binding: list[str]
class MotifPlacement:
motif_key: str
placement_hint: str
density_hint: str
opacity_hint: str
style-spec.json。下一步。style-spec.json 为默认必产。content_density_profile 误写成颜色或装饰风格切换。插画感、手作感 这类风格词误用成"所有视觉都改成插画、无需真实图片"。