不是把 Markdown 塞进幻灯片。
这是一个让 Codex 像真正的 PPT 设计师一样工作的 skill:先定主题和故事,再选视觉风格,最后交付可编辑的 PowerPoint。
visual-ppt-deck-builder 是一个面向 Codex 的视觉型 PPTX skill。它的目标很明确:把一个主题变成一套能继续编辑、能商务交付、能保留设计感的 PowerPoint,而不是一组看起来还行但无法修改的整页截图。
它特别适合:
- 商业计划书、融资路演、咨询汇报
- AI 产品发布会、趋势报告、行业研究
- 课程课件、品牌故事、公开演讲
- SaaS / App / 工具类产品演示
- 需要透明素材、图表、背景和文案共同排版的 PPT
很多 AI PPT 工具会走两条歪路:
- 像文档转 PPT:内容是可编辑的,但页面像模板填空。
- 像海报生成器:视觉很好看,但整页变成图片,标题、数字、图表都不能改。
这个 skill 选择第三条路:
- 先用图片能力生成完整视觉母稿,判断风格、字体气质、排版密度和整体氛围。
- 再把母稿反拆成 clean background、透明素材、坐标蓝图和可编辑 PPT 层。
- 最后用 PowerPoint 原生文本、形状、图表和图片层重建页面。
结果是:看起来像认真设计过,交付时又能继续改。
- 8 套默认风格库:简约高级、活泼动漫、数据分析、国潮东方、未来科技、编辑杂志、SaaS 产品、投资人叙事。
- 风格不是换皮:默认要求至少 6 种不同版式变体,并用表达系统门禁检查标题锚点、正文结构、证明对象和指标呈现是否真的不同。
- 主动设计 brief:每套样张先写设计意图、字体系统、配色策略、图表语言和版面节奏,再生成 PPTX。
- 可编辑 PPTX 样板:每套风格都有真实
.pptx样板和从 PPTX 导出的 PNG 预览。 - 效果图母稿优先:先出完整效果图,再反拆干净背景和可编辑层,避免“样张很好看,最终做不出来”。
- 模板优先仿制:如果用户提供高质量 PPTX,先把它当成风格母本,提取版式、字体、色板、留白和图表语言,再生成新主题内容。
- 真实背景素材门禁:正式候选必须使用 Codex imagegen、Skywork Design、用户模板反拆或用户提供的 raster 背景;程序画的背景只允许做测试夹具,不能进入展示或商业交付。
- 无框融合式排版:禁止用大白框、大图表框、小指标框糊住背景;文本和图表要嵌入背景预留区。
- 坐标蓝图:每页按
13.333 x 7.5inches 规划标题区、正文区、图表区、指标区、视觉焦点区和保护留白区。 - 按风格调字色和图表色:深色科技、浅色商务、国潮纸纹、活泼动漫不能硬套同一套文字和图表样式。
- 质量门禁:检查页数、布局数、claim、source、模板词、可读性和可编辑对象。
- 设计总监 QA:检查每套风格内部是否一致协调,以及多套风格之间是否真的多样。
查看仓库里的 skill:
npx skills add DwDestiny/codex-visual-ppt-deck-builder --list安装到 Codex 全局:
npx skills add DwDestiny/codex-visual-ppt-deck-builder --skill visual-ppt-deck-builder -g -a codex -yUse $visual-ppt-deck-builder to create an editable PPTX deck about 2026 AI application trends.
或者中文:
用 $visual-ppt-deck-builder 做一套《2026 AI 应用趋势调研》的可编辑 PPT,先给我 8 套风格样张,再确认大纲和页数。
- 确认主题:主题、受众、场景、语气、品牌约束。
- 确认大纲:先定故事线,不直接做页面。
- 确认风格:输出 8 套独立风格样张,每套都是可编辑 PPTX 样板导出的 PNG。
- 如果有现成好模板,优先走模板仿制;没有模板才生成 8 套候选。
- 正式候选必须先准备真实生图/用户素材背景,再组装可编辑 PPTX。
- 确认页数与每页内容:每页写清标题、核心 claim、素材、图表和证据口径。
- 逐页生成素材:背景、透明 PNG、图表、文案和版式分层生成。
- 组合 PPTX:正文、图表、标签和数字必须可编辑。
- 质量验收:跑 deck spec 检查和页面预览,没过不交付。
商业级 8 风格样张 v4:
- 样张目录:
effect-tests/multi-style-pptx-v4/ - clean backgrounds:
effect-tests/multi-style-pptx-v4-clean-backgrounds/ - 8 套可编辑 PPTX:
effect-tests/multi-style-pptx-v4/samples/ - 8 张 PPTX 导出预览:
effect-tests/multi-style-pptx-v4/previews/ - 风格 spec:
effect-tests/multi-style-pptx-v4/style-candidate-spec.json - 可读性 QA:
effect-tests/multi-style-pptx-v4/style-visual-qa.json - 主视觉 QA:
effect-tests/multi-style-pptx-v4/style-design-qa.json - 设计总监 QA:
effect-tests/multi-style-pptx-v4/design-director-qa.json
v4 是当前推荐展示版。它使用 Codex imagegen 生成真实 raster clean background,再用 PPT 可编辑层叠加标题、正文、指标和图表。8 套风格不是同一版式换皮:数据分析是深色仪表盘柱图,编辑杂志是证据轴,SaaS 产品是增长路径,投资人叙事改成左侧主视觉、右侧增长逻辑和增长线。三道门禁均为通过:visual_qa_ok=true、design_qa_ok=true、director_qa_ok=true。
真实生图商务样张:
- PNG 预览:
effect-tests/real-imagegen-business-v1/previews/business-ai-editable-sample.pptx.png - PPTX:
effect-tests/real-imagegen-business-v1/business-ai-editable-sample.pptx - Deck spec:
effect-tests/real-imagegen-business-v1/deck_spec.json - 背景图:
effect-tests/real-imagegen-business-v1/assets/background-business-ai-research.png
这张样张使用真实 Codex imagegen 背景,标题、正文、指标、图表、坐标标签全部是可编辑 PPT 对象;页面不使用大白框、大图表框或指标描边框。
多风格成品 PPTX 样张:
这 4 套样张都使用真实 raster 背景,标题、正文、指标、图表柱体、趋势线、坐标标签和数值全部由 PPT 可编辑层生成。v2 不再只是换色和换背景,而是拆成 4 套表达系统:
- 简约商务:左上董事会报告标题、左侧 KPI 梯子、右侧象限矩阵、底部三段洞察。
- 未来科技:左上发布会标题、中央舞台柱图、右侧遥测数据栈、底部横向 ticker。
- 国潮东方:右上东方题签、左侧卷轴分栏、右侧印章指标、底部路径时间线。
- 编辑杂志:左上杂志头版、左侧专题短文、右上横向条形叙事图、右下 pull-quote 指标。
表达系统 QA:effect-tests/multi-style-pptx-v2/reports/editable-layer-qa.json。报告会检查 layout_variant、expression_system 和标题/正文/指标/证明对象的角色落点签名,防止风格库退化成同一版式换皮。
设计总监 QA:effect-tests/multi-style-pptx-v2/reports/design-director-qa.json。报告会检查 style_intent、typography_system、color_strategy、chart_language、layout_rhythm、consistency_score、harmony_score 和 diversity_signature,防止样张看起来“能生成”,但审美上不协调或多样性不足。
风格库 v1:
- 总览图:
effect-tests/style-library-v1/style-library-contact-sheet.png - 8 套 PPTX 样板:
effect-tests/style-library-v1/samples/ - 8 张 PNG 预览:
effect-tests/style-library-v1/previews/ - 风格 spec:
effect-tests/style-library-v1/style-candidate-spec.json - 视觉 QA:
effect-tests/style-library-v1/style-visual-qa.json
注意:正式展示版必须由真实生图/用户素材背景生成。测试用程序背景只用于结构验证,不代表商业成品质感。
母稿反拆可编辑样张:
- PPTX:
effect-tests/reference-first-approved/anime-editable-sample.pptx - Deck spec:
effect-tests/reference-first-approved/deck_spec.json
基础 demo:
- PPTX:
demos/visual-ppt-deck-builder/sample-visual-ppt-deck.pptx - Spec:
demos/visual-ppt-deck-builder/sample-deck-spec.json
python -m unittest discover -s tests -p 'test_visual_ppt_deck_builder.py'
node --check skills/visual-ppt-deck-builder/scripts/build_style_candidates.js
node --check skills/visual-ppt-deck-builder/scripts/build_visual_pptx.js
node --check skills/visual-ppt-deck-builder/scripts/design_director_qa.js
node --check skills/visual-ppt-deck-builder/scripts/validate_deck_quality.js
node --check skills/visual-ppt-deck-builder/scripts/build_deck_preview.jsskills/
visual-ppt-deck-builder/
SKILL.md
agents/openai.yaml
scripts/
build_style_candidates.js
build_visual_pptx.js
design_director_qa.js
validate_deck_quality.js
build_deck_preview.js
references/
deck-spec-schema.md
research-notes.md
tests/
test_visual_ppt_deck_builder.py
demos/
visual-ppt-deck-builder/
preview/
effect-tests/
style-library-v1/
reference-first-approved/
multi-style-pptx-v1/
multi-style-pptx-v2/
multi-style-pptx-v4/
multi-style-pptx-v4-clean-backgrounds/
这个仓库只做 PPT。透明背景素材和连续动画素材已经拆到另一个仓库:
transparent-visual-assetssprite-animation-assets
如果你要做网站、PPT、App 里用的透明 PNG,应该去素材仓库;如果你要做一套可编辑、可交付的视觉 PPT,才用这个仓库。
visual-ppt-deck-builder is a Codex skill for creating visual, editable PowerPoint decks. It is not a Markdown-to-slides converter and not a full-page image generator. Its job is to help Codex work like a real presentation designer: define the story, choose the visual direction, generate design assets, then rebuild the deck as editable PPTX layers.
Use it for:
- Business plans, investor decks, consulting reports
- AI product launches, trend reports, industry research
- Course decks, brand stories, keynote presentations
- SaaS / app / product walkthroughs
- Decks that need backgrounds, transparent assets, charts, and editable copy to work together
Most AI presentation workflows fall into one of two traps:
- Document-to-slide output: editable, but visually generic.
- Poster-like image output: visually attractive, but impossible to edit.
This skill takes a third path:
- Generate a full-page visual reference first, so the user can judge style, typography, density, and composition.
- Decompose the approved reference into a clean background, transparent assets, coordinate blueprint, and editable PPT layers.
- Rebuild the slide with native PowerPoint text, shapes, charts, and image layers.
The result: slides that look designed, but still behave like PowerPoint.
- 8 default visual directions: Minimal Premium, Playful Anime, Data Analytics, Oriental Heritage, Future Tech, Editorial Magazine, SaaS Product, Investor Narrative.
- Style is not a skin swap: candidates are checked as expression systems, including title anchor, body pattern, proof object, and metric pattern.
- Design-director brief first: every sample declares intent, typography, color strategy, chart language, and layout rhythm before PPTX assembly.
- Editable PPTX samples: every style candidate includes a real
.pptxsample and a PNG preview exported from that PPTX. - Reference-first workflow: create the desired visual effect first, then decompose it into editable production layers.
- Template-first imitation: when the user provides a strong PPTX template, treat it as the style source and extract its layout, typography, palette, whitespace, and chart language before generating new content.
- Real raster background gate: commercial candidates must use Codex imagegen, Skywork Design, user-template decomposition, or user-provided raster backgrounds. Programmatically drawn backgrounds are test fixtures only.
- No-box composition rule: no large white text boxes, no large chart containers, no framed metric tiles. Text and charts must sit inside planned safe zones.
- Coordinate blueprints: every candidate plans title, copy, chart, metrics, visual focus, and protected empty zones on a
13.333 x 7.5inch slide. - Style-aware overlay colors: dark tech, light business, oriental paper textures, and playful anime styles should not reuse the same typography and chart colors.
- Quality gates: validates slide count, layout diversity, claims, sources, placeholder text, readability, and editable object structure.
- Design Director QA: validates intra-style consistency/harmony and cross-style diversity.
List available skills:
npx skills add DwDestiny/codex-visual-ppt-deck-builder --listInstall globally for Codex:
npx skills add DwDestiny/codex-visual-ppt-deck-builder --skill visual-ppt-deck-builder -g -a codex -yUse $visual-ppt-deck-builder to create an editable PPTX deck about 2026 AI application trends.
- Confirm the topic: audience, use case, tone, brand constraints.
- Confirm the outline: define the story before designing slides.
- Confirm the visual direction: generate 8 separate editable PPTX style samples and PNG previews.
- If a good PPTX template is provided, imitate the template first.
- Commercial candidates must use real generated/user-provided raster backgrounds before assembling editable PPTX samples.
- Confirm slide count and slide content: define title, claim, assets, chart, and evidence for each page.
- Generate assets per slide: backgrounds, transparent PNGs, charts, copy, and layout.
- Assemble PPTX: copy, charts, labels, and numbers stay editable.
- Run quality gates: validate the deck and preview pages before delivery.
Commercial 8-style sample pack v4:
- Sample directory:
effect-tests/multi-style-pptx-v4/ - Clean backgrounds:
effect-tests/multi-style-pptx-v4-clean-backgrounds/ - 8 editable PPTX samples:
effect-tests/multi-style-pptx-v4/samples/ - 8 PPTX-rendered previews:
effect-tests/multi-style-pptx-v4/previews/ - Style spec:
effect-tests/multi-style-pptx-v4/style-candidate-spec.json - Readability QA:
effect-tests/multi-style-pptx-v4/style-visual-qa.json - Visual richness QA:
effect-tests/multi-style-pptx-v4/style-design-qa.json - Design Director QA:
effect-tests/multi-style-pptx-v4/design-director-qa.json
v4 is the recommended showcase pack. It uses Codex imagegen raster clean backgrounds and overlays editable PowerPoint text, metrics, and charts. The eight directions use different expression systems rather than one layout with different colors: data analytics uses a dark dashboard chart, editorial magazine uses an evidence axis, SaaS product uses a growth path, and investor narrative uses a left-side hero visual with right-side growth logic. All three gates pass: visual_qa_ok=true, design_qa_ok=true, and director_qa_ok=true.
Real image-generated business sample:
- PNG preview:
effect-tests/real-imagegen-business-v1/previews/business-ai-editable-sample.pptx.png - PPTX:
effect-tests/real-imagegen-business-v1/business-ai-editable-sample.pptx - Deck spec:
effect-tests/real-imagegen-business-v1/deck_spec.json - Background:
effect-tests/real-imagegen-business-v1/assets/background-business-ai-research.png
This sample uses a real Codex imagegen background. The title, body copy, metrics, chart, and labels are editable PowerPoint objects. It does not use large text boxes, large chart containers, or framed metric tiles.
Multi-style finished PPTX samples:
All four samples use real raster backgrounds. Titles, body copy, metrics, bar charts, trend lines, axis labels, and values are generated as editable PowerPoint layers. v2 uses four different expression systems instead of one layout with different colors:
- Minimal Business: boardroom title, left KPI ladder, right matrix proof object, bottom insight brief.
- Future Tech: launch title, central stage chart, right telemetry stack, bottom ticker.
- Oriental Heritage: right-side title seal, left scroll columns, right metric seals, bottom path timeline.
- Editorial Magazine: magazine headline, left feature story, top-right horizontal bar narrative, bottom-right pull-quote metrics.
Expression QA report: effect-tests/multi-style-pptx-v2/reports/editable-layer-qa.json. It checks layout_variant, expression_system, and the role-position signature of title, body, metrics, and proof object so the library cannot regress into same-layout skin swaps.
Design Director QA report: effect-tests/multi-style-pptx-v2/reports/design-director-qa.json. It checks style_intent, typography_system, color_strategy, chart_language, layout_rhythm, consistency_score, harmony_score, and diversity_signature.
Style library v1:
- Contact sheet:
effect-tests/style-library-v1/style-library-contact-sheet.png - 8 PPTX samples:
effect-tests/style-library-v1/samples/ - 8 PNG previews:
effect-tests/style-library-v1/previews/ - Style spec:
effect-tests/style-library-v1/style-candidate-spec.json - Visual QA:
effect-tests/style-library-v1/style-visual-qa.json
Note: commercial showcase samples must be backed by real generated or user-provided raster backgrounds. Test fixture backgrounds are for structural validation only.
Reference-first editable sample:
- PPTX:
effect-tests/reference-first-approved/anime-editable-sample.pptx - Deck spec:
effect-tests/reference-first-approved/deck_spec.json
Basic demo:
- PPTX:
demos/visual-ppt-deck-builder/sample-visual-ppt-deck.pptx - Spec:
demos/visual-ppt-deck-builder/sample-deck-spec.json
python -m unittest discover -s tests -p 'test_visual_ppt_deck_builder.py'
node --check skills/visual-ppt-deck-builder/scripts/build_style_candidates.js
node --check skills/visual-ppt-deck-builder/scripts/build_visual_pptx.js
node --check skills/visual-ppt-deck-builder/scripts/design_director_qa.js
node --check skills/visual-ppt-deck-builder/scripts/validate_deck_quality.js
node --check skills/visual-ppt-deck-builder/scripts/build_deck_preview.jsThis repository is only for visual PPTX deck generation. Transparent PNG assets and sprite animation assets live in the separate visual asset skills repository.
MIT





