slidemuse
将书籍、PDF、论文、报告或文字制作成视觉统一的图片版 PPT,适用于竞赛、答辩、路演、课程展示和读书分享;按需还原可编辑 PPTX,也支持直接还原已有图片、PDF 或图片版 PPTX。不用于普通修改已有可编辑 PPTX。
The English summary is being prepared. Showing the original description.
Files included (200)
- SKILL.md9.2 KB
- .github/ISSUE_TEMPLATE/bug_report.yml1.8 KB
- .github/ISSUE_TEMPLATE/config.yml224 B
- .github/ISSUE_TEMPLATE/feature_request.yml816 B
- .github/pull_request_template.md664 B
- .github/workflows/ci.yml3.9 KB
- .github/workflows/optimize-showcase.yml3.6 KB
- .github/workflows/release.yml4.1 KB
- .gitignore89 B
- agents/openai.yaml401 B
- CHANGELOG.md36.2 KB
- CONTRIBUTING.md5.1 KB
- docs/acceptance-2026-09-18.md3.3 KB
- docs/acceptance-2026-09-30.md2.8 KB
- docs/acceptance-2026-10-01-benchmark.md2.2 KB
- docs/acceptance-2026-10-01.md3.5 KB
- docs/acceptance-2026-10-02.md3.0 KB
- docs/assets/hero.svg5.4 KB
- docs/assets/hero.webp1.4 MB
- docs/cli.en.md6.1 KB
- docs/cli.md5.0 KB
- docs/competition-portfolio.md4.0 KB
- docs/editable-sample.en.md2.6 KB
- docs/editable-sample.md2.6 KB
- docs/guide.en.md20.6 KB
- docs/guide.md20.5 KB
- docs/open-source-improvements-2026-10-08.md6.0 KB
- docs/style-showcase.md2.0 KB
- examples/data-update/data-bindings.json5.4 KB
- examples/data-update/grouped-bar.layout.json338 B
- examples/data-update/grouped-column.layout.json338 B
- examples/data-update/job.json182 B
- examples/data-update/page-spec.json3.8 KB
- examples/data-update/README.md2.0 KB
- examples/data-update/scene.json4.1 KB
- examples/generation-content.example.json1.2 KB
- examples/merged-table.scene.json1.3 KB
- examples/overlay-spec.example.json1.5 KB
- examples/page-spec.example.json2.6 KB
- install.py12.6 KB
- LICENSE1.0 KB
- manifest.yaml13.2 KB
- README.en.md28.5 KB
- README.md26.7 KB
- references/benchmark.md6.0 KB
- references/chart-reliability.md7.0 KB
- references/content-density.md6.4 KB
- references/content-outline.md9.7 KB
- references/data-bindings.md3.9 KB
- references/deck-spec-template.md7.8 KB
- references/editable-backend.md7.5 KB
- references/evaluation.md6.3 KB
- references/evidence-assets.md4.7 KB
- references/generate-backend.md7.5 KB
- references/material-reading.md3.0 KB
- references/models.md3.2 KB
- references/page-production.md4.3 KB
- references/page-spec.md7.7 KB
- references/page-spec.schema.json9.3 KB
- references/pipeline.md9.2 KB
- references/production-metrics.md3.8 KB
- references/prompts.md11.6 KB
- references/reconstruction.md5.4 KB
- references/research.md7.2 KB
- references/review-panel.md3.7 KB
- references/scene-format.md7.6 KB
- references/scene.schema.json20.0 KB
- references/speaker-notes.md3.0 KB
- references/style-library.md3.8 KB
- references/style-options.md6.1 KB
- references/text-layout.md3.1 KB
- references/upstream-editable.md4.1 KB
- references/workflow-updates.md7.1 KB
- requirements-dev.txt88 B
- requirements-editable.txt166 B
- requirements-generate.txt143 B
- requirements.txt47 B
- ruff.toml127 B
- scripts/audit_chart_geometry.py9.6 KB
- scripts/audit_editability.py19.8 KB
- scripts/audit_page_content.py7.6 KB
- scripts/audit_speaker_notes.py2.3 KB
- scripts/build_chart_image.py9.7 KB
- scripts/build_editable_ppt.py13.2 KB
- scripts/build_image_ppt.py10.7 KB
- scripts/build_style_overview.py7.3 KB
- scripts/chart_style.py6.3 KB
- scripts/cleanup_powerpoint.ps1503 B
- scripts/content_density.py5.7 KB
- scripts/deck_diagnostics.py7.8 KB
- scripts/doctor.py6.8 KB
- scripts/editable_backend.py9.0 KB
- scripts/evaluate_benchmark.py35.7 KB
- scripts/evaluate_delivery.py14.8 KB
- scripts/export_speaker_notes.py2.8 KB
- scripts/extract_assets.py4.4 KB
- scripts/generate_backend.py9.3 KB
- scripts/generation_delivery.py12.1 KB
- scripts/init_deck.py2.9 KB
- scripts/json_io.py242 B
- scripts/measured_layout.py2.6 KB
- scripts/overlay_text.py7.9 KB
- scripts/page_production.py17.8 KB
- scripts/plan_deck_update.py6.9 KB
- scripts/preserved_assets.py3.4 KB
- scripts/record_work.py8.3 KB
- scripts/render_deck.py11.7 KB
- scripts/render_environment.py4.0 KB
- scripts/render_powerpoint.ps14.8 KB
- scripts/render_process.py3.6 KB
- scripts/review_panel.html18.6 KB
- scripts/review_panel.py11.5 KB
- scripts/run_deck.py32.6 KB
- scripts/runtime_environment.py1.2 KB
- scripts/scene.py8.0 KB
- scripts/speaker_notes.py2.0 KB
- scripts/table_layout.py3.3 KB
- scripts/text_layout.py7.9 KB
- scripts/update_data_bindings.py16.4 KB
- scripts/validate_page_spec.py5.8 KB
- scripts/validate_style_options.py8.9 KB
- scripts/verify_render_backend.py5.9 KB
- showcase/competition-portfolio/assets/junction/01.webp376.3 KB
- showcase/competition-portfolio/assets/junction/02.webp323.3 KB
- showcase/competition-portfolio/assets/junction/03.webp424.5 KB
- showcase/competition-portfolio/assets/junction/04.webp389.8 KB
- showcase/competition-portfolio/assets/junction/05.webp264.4 KB
- showcase/competition-portfolio/assets/junction/06.webp242.9 KB
- showcase/competition-portfolio/assets/junction/07.webp408.4 KB
- showcase/competition-portfolio/assets/junction/08.webp291.9 KB
- showcase/competition-portfolio/assets/neighbor/01.webp290.5 KB
- showcase/competition-portfolio/assets/neighbor/02.webp254.7 KB
- showcase/competition-portfolio/assets/neighbor/03.webp299.9 KB
- showcase/competition-portfolio/assets/neighbor/04.webp287.1 KB
- showcase/competition-portfolio/assets/neighbor/05.webp253.0 KB
- showcase/competition-portfolio/assets/neighbor/06.webp238.8 KB
- showcase/competition-portfolio/assets/neighbor/07.webp289.3 KB
- showcase/competition-portfolio/assets/neighbor/08.webp276.8 KB
- showcase/competition-portfolio/assets/weld/01.webp299.6 KB
- showcase/competition-portfolio/assets/weld/02.webp309.4 KB
- showcase/competition-portfolio/assets/weld/03.webp313.3 KB
- showcase/competition-portfolio/assets/weld/04.webp290.9 KB
- showcase/competition-portfolio/assets/weld/05.webp343.8 KB
- showcase/competition-portfolio/assets/weld/06.webp258.9 KB
- showcase/competition-portfolio/assets/weld/07.webp326.5 KB
- showcase/competition-portfolio/assets/weld/08.webp310.0 KB
- showcase/competition-portfolio/decks/junction.pptx14.9 MB
- showcase/competition-portfolio/decks/neighbor.pptx13.1 MB
- showcase/competition-portfolio/decks/weld.pptx13.8 MB
- showcase/competition-portfolio/index.html20.1 KB
- showcase/competition-portfolio/LICENSE.lucide3.1 KB
- showcase/editable-irena/.gitattributes98 B
- showcase/editable-irena/decks/chart-edit.pptx71.7 KB
- showcase/editable-irena/decks/editable.pptx71.6 KB
- showcase/editable-irena/decks/image.pptx7.6 MB
- showcase/editable-irena/decks/object-move.pptx71.6 KB
- showcase/editable-irena/decks/table-edit.pptx71.6 KB
- showcase/editable-irena/decks/text-edit.pptx71.7 KB
- showcase/editable-irena/demo.mp41.1 MB
- showcase/editable-irena/evidence/historical-limitations.md1.6 KB
- showcase/editable-irena/evidence/historical-review.md7.2 KB
- showcase/editable-irena/evidence/verification.json16.9 KB
- showcase/editable-irena/index.html9.4 KB
- showcase/editable-irena/manifest.json7.5 KB
- showcase/editable-irena/NOTICE.md951 B
- showcase/editable-irena/page-spec-chart-edit.json39.8 KB
- showcase/editable-irena/page-spec-object-move.json39.9 KB
- showcase/editable-irena/page-spec-table-edit.json39.9 KB
- showcase/editable-irena/page-spec-text-edit.json40.0 KB
- showcase/editable-irena/page-spec.json39.9 KB
- showcase/editable-irena/previews/chart-edit.webp113.2 KB
- showcase/editable-irena/previews/editable-01.webp166.3 KB
- showcase/editable-irena/previews/editable-02.webp118.9 KB
- showcase/editable-irena/previews/editable-03.webp105.9 KB
- showcase/editable-irena/previews/editable-04.webp114.5 KB
- showcase/editable-irena/previews/editable-05.webp128.9 KB
- showcase/editable-irena/previews/editable-06.webp151.5 KB
- showcase/editable-irena/previews/object-move.webp103.8 KB
- showcase/editable-irena/previews/table-edit.webp125.7 KB
- showcase/editable-irena/previews/text-edit.webp151.3 KB
- showcase/editable-irena/previews/video-cover.webp133.0 KB
- showcase/editable-irena/README.en.md4.7 KB
- showcase/editable-irena/README.md5.0 KB
- showcase/editable-irena/reproduce.py6.0 KB
- showcase/editable-irena/sample.zip21.2 MB
- showcase/editable-irena/scene-chart-edit.json45.2 KB
- showcase/editable-irena/scene-object-move.json45.1 KB
- showcase/editable-irena/scene-table-edit.json45.2 KB
- showcase/editable-irena/scene-text-edit.json45.2 KB
- showcase/editable-irena/scene.json45.1 KB
- showcase/editable-irena/SHA256SUMS.txt77 B
- showcase/editable-irena/slides/01-page.png1.4 MB
- showcase/editable-irena/slides/02-page.png1.3 MB
- showcase/editable-irena/slides/03-word-repair.png1.3 MB
- showcase/editable-irena/slides/04-repair.png1.3 MB
- showcase/editable-irena/slides/05-exact-v2.png1.1 MB
- showcase/editable-irena/slides/06-page.png1.3 MB
- showcase/editable-irena/source/IRENA_Renewable_Capacity_Statistics_2025.pdf2.6 MB
- showcase/editable-irena/source/source.json1.0 KB
- showcase/editable-irena/speaker-notes.md3.2 KB
SKILL.md (original)
Review the instructions the agent will receive before you install.
SlideMuse · 2.23.0
新材料按 内容提炼 → 图片 PPT → 按需可编辑还原 制作。已有页面要求还原时直接进入重建。内容与视觉应准确、清楚、统一;检查服务于这几个结果。
开始任务
先检查用户已给的材料和上下文,必要时阅读材料来判断篇幅与用途。只询问会实质改变结果、又无法合理推断的信息,并一次问完;不要为了填满五个字段阻止阅读。
- 源材料不可访问、受众/任务存在相互冲突的解释、关键事实缺失时询问。
- 未指定风格:按无参考处理;未指定页数:根据材料推荐并随内容稿展示;未指定交付:先做图片版;默认 16:9、沿用材料语言。使用场景可从上下文判断,无法判断且影响内容取舍时再问。把采用的默认值简要告诉用户,不额外等待确认默认值。
- 用户已要求可编辑版,即已授权最后的重建阶段,不在图片版完成后重复询问。
- 默认只在内容方案和风格选择处请用户决策。已有“你来定”“按这个做”“其余由你决定”等对应授权时继续执行,记录授权范围即可。明确修改也是该范围的授权。
- 状态码、哈希、日志与检查文件由 Agent 管理,不要求用户理解或填写。进度只说明当前成果、需要选择的内容和实际阻塞项。
任务文件放到独立工作目录。用 deck-spec.md 保存内容稿、采用的需求、用户授权和当前进度;规格模板可按任务规模选用,保留实际信息,不机械填满无关栏目。恢复旧任务或修改已有交付时再读变更与恢复。
1. 内容方案
读取 Prompt 1A、内容深度与密度规则。论文、政策或长报告再按需读材料审阅。
先明确受众需要理解的问题和整套回答,再写逐页内容:页面作用、结论、实际展示文案、证据/数据及必要解释。内容页按其用途安排信息密度;图表能表达的关系不重复堆正文。封面和过渡页按作用简化。
核对材料事实、推断、计算和建议,修正无支撑结论、错误口径、缺失关键解释及篇幅问题。来源不够时缩小结论或询问必要事实,不编造数据。地图、实验截图等证据按证据素材决定保留原图或可靠数据重绘。
向用户展示整套叙事和逐页实际内容;长稿可分段呈现,不能只给标题表或文件链接。没有内容授权时在这里等待;已有对应授权时展示后继续。内容确定后再创建 Page Spec、风格图片和成品,不提前消耗生图调用。
2. 风格和图片版
读取 Prompt 1B / 2与风格总览。默认给四套使用相同内容的独立缩略图总览,让用户选择。沿用用户明确指定的模板,或按其明确的跳过/代选授权执行;已有选择不再询问。代选时仍生成四套并记录选择理由,跳过预览时记录 skipped。
总览使用任务指定页面比例;最多八页时展示全部,更多页时选同一组六至八个代表页。每套一次生图,保留方案编号。纯尺寸、网格或边距问题用 build_style_overview.py 修正;内容或视觉问题才重试生图。实际生成四套时运行 validate_style_options.py 并看图核对,只展示每套最新有效候选。
内容与风格确定后,按 Page Spec 创建 page-spec.json,保留准确文案、数据、来源、稳定 ID、风格和授权。已有用户授权可直接记录为内容确认,不另索要固定口令。
python "<skill-dir>/slidemuse.py" validate "<work>/page-spec.json" --strict
按 Prompt 2逐页生成。用 produce归档原图、合成精确证据并记录逐页审阅;需要完整生成后端时再读生成后端。未记录在 Page Spec 的数据视觉不得装饰性添加。每页检查文字、数字、图表关系、可读性与整体风格,只返修有问题的页面。
同一文字或图表问题连续两次无效时停止同类生图重试,按 Prompt 2A或图表可靠性使用允许的准确区域/文字兜底。程序改图遵守宿主工具的实际授权;未解决的问题不能自动标为通过。
合并图片版并实际渲染、查看结果:
python "<skill-dir>/scripts/build_image_ppt.py" "<work>/page-spec.json" "<work>/output/image-deck.pptx"
python "<skill-dir>/slidemuse.py" render "<work>/output/image-deck.pptx" "<work>/output/image-review" --page-spec "<work>/page-spec.json"
用户要求可编辑版时直接继续,否则交付。没有渲染器时说明仅完成结构验证,不声称视觉验收通过。
3. 按需还原可编辑版
读取 Prompt 3、重建与分层和 Scene 协议。已有图片/PDF直接还原、复杂曲线/表格/公式、文字测量或逐页恢复需求,按需选择完整重建后端,保留其 Manifest,不混用 Scene 格式。
以 Page Spec 为语义来源、已批准页面为视觉基准。已知文字、数据、来源与稳定 ID 直接复用,不重新 OCR 或改写;只核验未确定项。用户已授权的差异记录后采用,不当作新冲突反复询问。
文字、简单形状、表格和有可靠数据的图表用原生对象;照片、人物及复杂插画用可独立移动的图片。从背景移除原生化文字和已拆主体,避免重影。整页截图不能充当可编辑底图。合并单元格和不等行高见表格适配。
python "<skill-dir>/scripts/build_editable_ppt.py" "<work>/scene.json" "<work>/output/editable.pptx" --page-spec "<work>/page-spec.json"
python "<skill-dir>/slidemuse.py" audit "<work>/output/editable.pptx" --scene "<work>/scene.json" --output "<work>/output/editability.json"
python "<skill-dir>/slidemuse.py" render "<work>/output/editable.pptx" "<work>/output/editable-review" --page-spec "<work>/page-spec.json"
查看实际渲染,核对原生对象、文字、图表和背景;抽查用户需要的编辑操作。数据修改时同步相关占比、差额、结论和讲稿,数据依赖可辅助;依赖未声明时仍需实际核对。局部修改复用有效页面,保留原版与失败记录。讲稿需求见演讲备注。
检查与交付
按任务范围验证,不把跨材料评测变成普通制作门槛:
- 普通制作:来源与内容核对、逐页看图、导出后真实渲染;可编辑版增加对象检查。
- 局部修改:核对受影响页、数据依赖和导出结果,复用仍有效的检查;不重新选风格或审查未变内容。
- 需要可复跑评分卡时才读交付评测;跨材料质量比较时才读多材料评测。保留原批次和首次/最终结果,不能把结构检查或样板复现称作生成质量提升。
自动保存已有工具产生的记录即可,不为每个小改动另造证据链或要求用户确认检查文件。完整新制作可用制作日志记录实际调用、返修与耗时;缺失历史标为未知。准备好规格后的自动编译/恢复见流水线,集中人工查看见审阅面板,溢出诊断见文字布局。
交付时优先展示成品链接、一个有效预览和实际限制。图片版附有序图片及 Page Spec;Scene 重建附 Scene、素材和对象检查结果;完整后端附对应 Manifest、任务记录和预览。辅助文件保存在任务目录,无需逐项向用户解释。默认不重复嵌入工具已展示的图片、初稿或修复稿。保留原文件,写入失败时可恢复;不改旧封存记录来制造通过。
运行工具
统一入口为 slidemuse.py,详见命令指南。入口优先使用安装目录的 .venv;直接运行脚本时使用该环境或可用的 Python 3.10+。doctor --json 诊断环境,不能替代实际渲染。默认安装不携带 IRENA 演示,获取方式见样板说明。
生图使用宿主实际提供的能力,模型选择按需读取;没有生图工具时报告阻塞,不用占位图冒充。基本 Scene 工具离线,外部 OCR/图像服务仅按用户所选后端和宿主规则使用,不寻找密钥或静默切换服务。复用已有风格库时读风格库。
Reviews
No reviews yet. Tell others what you thought.
Comments
No login needed. Share how it worked for you, ask a question, or note where it did not run.
No comments yet. Be the first to write one.