Files
market/skills/pptx/SKILL.md
T
yigeandYige 1edcef49b0 fix: load PPTX workbench guidance and tools on demand (#387)
## 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>
2026-11-29 03:32:49 +08:00

5.5 KiB
Raw Blame History

license, name, description, version, type, risk_level, status, disable-model-invocation, provides, tags, metadata, market
license name description version type risk_level status disable-model-invocation provides tags metadata market
Anthropic Source Available License pptx For presentation creation or revision, first call Skill with {"skill":"pptx"} and omit source, even if the topic is missing. Preview in the workbench and deliver an editable PPTX. Also use for existing PowerPoint files. 1.0.7 procedural low enabled true
tools
CreateSlides
EditSlides
RenderSlides
ExportSlides
TaskCreate
pptx
powerpoint
slides
presentation
office
author updated_at i18n
anthropic 2026-11-29
default_locale source_locale locales zh-CN en-US
en-US zh-CN
zh-CN
en-US
name short_desc description body source_hash translated_by
演示文稿处理 在工作台制作演示文稿并导出可编辑 PPTX 用户要制作或修改演示文稿时,先调用 Skill 工具加载 pptx(参数 {"skill":"pptx"},省略 source),包括只说要做 PPT。用工作台预览并交付可编辑 PPTX。也处理已有 PowerPoint 文件。 ./SKILL.zh-CN.md sha256:b4fef3573cb9b510 human
name short_desc description body source_hash translated_by
Presentation Processing Create presentations in the workbench and export an editable PPTX For presentation creation or revision, first call Skill with {"skill":"pptx"} and omit source, even if the topic is missing. Preview in the workbench and deliver an editable PPTX. Also use for existing PowerPoint files. ./SKILL.md sha256:b4fef3573cb9b510 human
icon category maintainer channel
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><defs><linearGradient id="pp-a" x1="2" y1="3" x2="22" y2="21" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9500"/><stop offset="1" stop-color="#34C759"/></linearGradient></defs><rect x="2" y="3" width="20" height="15" rx="2" fill="url(#pp-a)" fill-opacity="0.1" stroke="url(#pp-a)" stroke-width="1.5"/><path d="M12 18v3M8 21h8" stroke="url(#pp-a)" stroke-width="1.5" stroke-linecap="round"/><rect x="5" y="6.5" width="5.5" height="1.5" rx="0.5" fill="url(#pp-a)" fill-opacity="0.4"/><path d="M5 10h9M5 12.5h6" stroke="url(#pp-a)" stroke-width="1.2" stroke-linecap="round"/><circle cx="17" cy="10" r="3" fill="#FF9500" fill-opacity="0.15"/><path d="M15.8 8.5v3l2.6-1.5z" fill="#FF9500" fill-opacity="0.85"/></svg> productivity
name verified
DesireCore Official true
latest

Presentation workbench

Create and deliver

Honor the requested template, method, and format. Default to the workbench source and an editable PPTX. If the topic is missing, ask one topic or purpose question in chat and make supporting material optional. A short talk can use about six slides. Proceed once the topic or material is available.

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. Start once the topic is known. Save a short Plan under the normal protocol, then register once with TaskCreate. After registration, batch TaskUpdate(inProgress) before CreateSlides. The tools are declared. Reuse an applicable Plan or task.

Layout and preview

Use a consistent grid, palette, and type scale with one focal point per page. For training use a large cover title, checklist rows, native process cards, a concrete example comparison, and an aligned action table. Use native charts for data. Render titles through title only. Put subtitles and body content in editable objects, starting at 18–24 pt. Put long examples in notes. Give shapes their own text. Label example dates, locations, and team practices as examples when the user supplied none.

The canvas is 13.33 × 7.50 inches. Keep the upper area clear for the title. Position the right-hand summary below the cover title (for example x=7.8, y=3.8, width 4.6, height 2.55). For four process cards use x=0.7, 3.85, 7, and 10.15 with width 2.45 and arrows in the gaps. Use short labels and wrap at meaningful boundaries. Shape width and height are at least 0.15 inches. Use six-digit RGB without #.

Preview the entire deck with RenderSlides(path=source path, etag=saved revision, mode=workbench, include_images=true). Each call handles up to four pages. Submit batches for the same revision together in one tool-call batch, such as [1,2,3] and [4,5,6], then review the images together. Check obscured titles, broken words, alignment, and object_outside_canvas. If needed, combine corrections in one EditSlides({file_ref,etag,operations:[{op:"upsertObject",slideId,object}]}) and preview the changed pages. Export with the latest file_ref, source_etag as etag, and output_ref copied with a new path, then batch task completion with delivery of the source and the PPTX. Reuse receipts for new drafts and reread on revision conflict. If the workbench host is unavailable, use the PowerPoint export preview and tell the user.

Existing PowerPoint files

For extraction, conversion, or editing an existing PPTX or template directly, open the PowerPoint file workflows next to this skill as needed. Resolve bundled files relative to the skill directory from the tool receipt.