## Summary - Update the built-in `pptx` skill to guide editable presentation authoring in DesireCore. Keep the short catalog entry and load the bilingual workbench instructions on demand. - Use the existing Skill tool disclosure to make authorized presentation and progress tools available in the same turn. Keep existing PPTX extraction, conversion, and template workflows as separate references. - Retain the existing upstream attribution and source-available license. The workbench path uses DesireCore tools. Existing file-processing dependencies are documented in the bundled references. ## Verification - Checked Market catalog validation and translation freshness. - Tested the locally installed candidate in an isolated DesireCore desktop instance. Verified one successful Skill call, all-page HTML/SVG preview, live source editing, and editable PPTX output in PowerPoint. ## 中文摘要 - 更新内置 `pptx` 技能,由模型按需加载双语工作台制作指引。通过现有声明机制提供已授权的制稿工具,保留已有 PPTX 处理指南。 - 已通过目录与翻译校验,并在隔离桌面实例验证工作台预览编辑与原生 PPTX 导出。 Co-authored-by: Yige <6657330+yi-ge@users.noreply.github.com>
2.7 KiB
演示文稿工作台
制作与交付
制作 PPT 时采用用户指定的模板、方式和格式。默认交付工作台源稿与可编辑 PPTX。缺主题时用普通消息只问一个主题或用途问题,材料可选。短分享可做约 6 页。已有主题或资料时直接开始。
本 Skill 同轮声明已授权的制稿工具和任务记录工具。直接用 CreateSlides 的声明一次保存初稿:传 title 和 pages,每页含 id、title、body(空字符串)、template(cover/content)和 objects。常用对象字段为 id、type(text/rect/roundRect/arrow)、x/y/w/h、text、fill、textColor、fontSize。主题确定即开始,只有主题也足够。先按通用协议保存简短 Plan,再用 TaskCreate 登记一次。登记后将 TaskUpdate(inProgress) 和 CreateSlides 放在同一批,先更新状态。工具已声明,无需搜索文件或查常用字段。已有 Plan 或任务则沿用。
版式与预览
全稿统一网格、配色和字号,每页一个焦点。培训稿用大字封面、分行清单、原生流程卡、示范对照和按列对齐的行动表。数据稿用原生图表。标题只由 title 绘制。副标题与正文都用原生对象,18–24 磅起,长例移入备注。形状直接承载 text。未经用户提供的时间、地点和团队规定,用示例或待替换提示。
画布 13.33 × 7.50 英寸。给标题保留上方空间。封面右侧摘要放在标题下方(如 x=7.8、y=3.8,宽 4.6、高 2.55)。四个流程卡用 x=0.7、3.85、7、10.15,宽 2.45,箭头放在间隔。短标签,按词意显式换行。形状宽高至少 0.15 英寸,颜色为不带 # 的六位 RGB。
用 RenderSlides(path=源稿路径, etag=保存版本, mode=workbench, include_images=true) 覆盖全稿。每批最多 4 页;同版本多批可以在同一次工具调用批次提交,例如六页发 [1,2,3] 和 [4,5,6],等图齐后统一审阅。检查标题遮挡、断字、对齐和 object_outside_canvas。发现问题时,用一次 EditSlides({file_ref,etag,operations:[{op:"upsertObject",slideId,object}]}) 合并修订,复看变动页。用最后的 file_ref、source_etag(作 etag)和只换 path 的 output_ref 导出。导出成功后,将任务结项和附源稿与 PPTX 的交付放在同一批。自建稿沿用回执,只有遇版本冲突才重读。工作台宿主缺失时可用 PowerPoint 导出预览并说明。
已有 PowerPoint 文件
仅提取、转换、修改已有 PPTX,或用户要求直接处理现有模板时,按需要阅读同目录的 PowerPoint 文件处理指南。用 Skill 回执中的技能目录定位附属文件。