fix(pptx): 回移正式发布的 1.0.12 技能

Backport the three PPTX release files from desirecore/market@fc99c4b60d (#457).
This commit is contained in:
yige committed 2026-12-05 13:10:33 -05:00
1 parent 86cbd38741
commit 0403f7b28b
3 files changed
+6 -6

No files matched your search

+4 -4
View File
@@ -2,7 +2,7 @@
license: "Anthropic Source Available License"
name: pptx
description: "For presentation creation or revision, clarify the topic, purpose, audience, length, style, or materials as needed. Clarification can come before loading the skill. Call Skill when needed with {\"skill\":\"pptx\"} and omit source. Save and reopen editable workbench presentations, review layouts, or export editable PPTX for PowerPoint delivery. Also handles existing PowerPoint files."
version: 1.0.11
version: 1.0.12
type: procedural
risk_level: low
status: enabled
@@ -35,14 +35,14 @@ metadata:
short_desc: "制作和回读工作台演示文稿,按交付需要导出可编辑 PPTX"
description: "制作或修改演示文稿时,按需要了解主题、用途、受众、篇幅、风格或材料。需要澄清时可以先问,再按需调用 Skill 加载 pptx(参数 {\"skill\":\"pptx\"},省略 source)。在工作台保存、回读可编辑源稿和预览版式,需要 PowerPoint 交付时导出可编辑 PPTX。也处理已有 PowerPoint 文件。"
body: ./SKILL.zh-CN.md
source_hash: sha256:590dbe83884ebc5c
source_hash: sha256:aa5abf759bef6a30
translated_by: human
en-US:
name: Presentation Processing
short_desc: "Create and reopen workbench presentations, and export editable PPTX"
description: "For presentation creation or revision, clarify the topic, purpose, audience, length, style, or materials as needed. Clarification can come before loading the skill. Call Skill when needed with {\"skill\":\"pptx\"} and omit source. Save and reopen editable workbench presentations, review layouts, or export editable PPTX for PowerPoint delivery. Also handles existing PowerPoint files."
body: ./SKILL.md
source_hash: sha256:590dbe83884ebc5c
source_hash: sha256:aa5abf759bef6a30
translated_by: human
market:
icon: >-
@@ -69,7 +69,7 @@ market:
## Create and deliver
Honor the requested template, method, and format. The saved workbench source (.slides.json) is already editable. If the request is to save or reopen a workbench presentation, return that source. Include an editable PPTX for PowerPoint or portable delivery when the task calls for it. Use judgment about what to clarify, including the topic, purpose, audience, length, style, and supporting material. Ask in chat when it helps and proceed once you have enough context. A short talk can use about six slides.
Honor the requested template, method, and format. For an ordinary request such as “make me a PPT,” deliver an editable .pptx by default, even if the user does not name the file format. For PowerPoint or portable delivery, provide the editable PPTX and the editable workbench source (.slides.json). If the user explicitly asks only to save or reopen the workbench source, return that source without exporting a PPTX. Use judgment about what to clarify, including the topic, purpose, audience, length, style, and supporting material. Ask in chat when it helps and proceed once you have enough context. A short talk can use about six slides.
This Skill declares the authorized slide tools and task tracking tools in the same turn. Use the declared CreateSlides contract to save the full draft with title and pages. Each page has id, title, body (empty string), template (cover/content), and objects. Common object fields are id, type (text/rect/roundRect/arrow), x/y/w/h, text, fill, textColor, and fontSize. Once you have enough context, save a short Plan covering the goal, deliverables, and checks. Put slide copy and coordinates in the draft. Then register once with TaskCreate. After registration, batch TaskUpdate(inProgress) before CreateSlides. The tools are declared. Reuse an applicable Plan or task.
+1 -1
View File
@@ -4,7 +4,7 @@
## 制作与交付
制作 PPT 时采用用户指定的模板、方式和格式。保存的工作台源稿(.slides.json)本身可编辑。任务要求在工作台保存或重新打开演示文稿时,交付这份源稿。任务需要 PowerPoint 文件或可移交的通用格式时,交付可编辑 PPTX。按任务需要了解主题、用途、受众、篇幅、风格和参考材料。需要澄清时可以先在聊天中问,信息足够即可开始。短分享可做约 6 页。
制作 PPT 时采用用户指定的模板、方式和格式。普通「帮我做个 PPT」请求即使没有指定文件格式,也默认交付可编辑的 .pptx。需要 PowerPoint 文件或可移交的通用格式时,交付可编辑 PPTX 和可继续编辑的工作台源稿(.slides.json)。用户明确只要求保存或重开工作台源稿时,只交付源稿,不额外导出 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 或任务则沿用。
+1 -1
View File
@@ -30,7 +30,7 @@
},
"release": {
"state": "known",
"version": "1.0.11",
"version": "1.0.12",
"versionScheme": "semver"
},
"timestamps": {