powerpoint-presentations

用于创建、检查、编辑和验证专业 PowerPoint 演示文稿(.pptx),包括对上传的源文件和模板的处理,支持设计系统提取、OOXML 保留式编辑、结构语法检查以及渲染视觉质量保证。

仓库最近推送
GitHub Stars
203
Forks
61
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "powerpoint-presentations":https://skillpi.com/zh/skills/deepskill-4bd0ce65741e04664003277c1cbc056b48369a988cdef9419e9270c4cea7e55a。安装前核对上游来源和版本:https://github.com/aws-samples/sample-strands-agent-with-agentcore。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

用于创建、检查、编辑和验证专业 PowerPoint 演示文稿(.pptx),包括对上传的源文件和模板的处理,支持设计系统提取、OOXML 保留式编辑、结构语法检查以及渲染视觉质量保证。

0 下载

介绍来源: third_party · aws-samples · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: powerpoint-presentations
description: Create, inspect, edit, and validate professional PowerPoint presentations (.pptx), including uploaded source decks and templates, with design-system extraction, OOXML-preserving edits, structural linting, and rendered visual QA.

PowerPoint Presentations

Use a staged workflow: classify → inspect → plan → execute → validate → render → iterate. Do not skip source verification or QA.

1. Classify the Request

Choose exactly one path:

Path Use when Primary tools
Edit source Modify an uploaded or existing deck inspect_presentation, begin_presentation_edit, edit tools
Build from template Create content in an uploaded branded deck begin_presentation_edit, duplicate_slide, update_slide_content
Create new No source/template must be preserved create_presentation
Analyze Review content, design, or structure without editing inspect_presentation, preview tools

Never use create_presentation for an edit or template request. It creates a new package and cannot preserve the source master, layouts, relationships, notes, or embedded assets.

2. Verify and Inspect the Source

For edit and template paths:

  1. Call list_my_powerpoint_presentations.
  2. Confirm the exact source filename exists.
  3. Call inspect_presentation with persist_spec=true.
  4. Call preview_presentation_montage for a deck-level visual pass.
  5. Call analyze_presentation only for slides that require detailed element IDs.

If the source cannot be loaded, stop and report the missing file. Do not recreate the deck from a description, silently switch to a new-deck workflow, or delegate the task to an environment where the source file has not been verified.

Treat the persisted deck spec as the design-system record across turns. After inspection, call begin_presentation_edit once and retain its edit_id. Re-run inspect_presentation with that edit_id after structural changes; do not rely on conversation memory for fonts, colors, layouts, or slide structure.

3. Plan Before Editing

Define:

  • Audience and decision or outcome
  • Narrative arc and one message per slide
  • Functional slide type for each slide
  • Content-density budget
  • Source slides/layouts to preserve or duplicate
  • Slides that require new visuals or data

For substantive creation, write a compact slide plan before generating code or mutating the package. Read workflow-guide.md for the planning schema and route-specific procedure.

4. Establish the Design System

For source/template work, derive tokens from deck_spec: slide size, theme colors, theme fonts, explicit fonts, layout names, and repeated visual motifs. Preserve those tokens unless the user explicitly requests a redesign.

For a new deck, define one compact design system before creating slides. Read design-guide.md. Use pptxgenjs.md only for new-deck implementation details.

5. Execute Conservatively

Edit an Existing Deck

  1. Call begin_presentation_edit once and retain its edit_id.
  2. Analyze target slides.
  3. Build one complete operation batch.
  4. Call update_slide_content with the same edit_id.
  5. Use find and replace for replace_text.

Unknown actions, empty find strings, duplicate slide batches, and unmatched text are errors. Correct the operation rather than substituting another workflow. Read editing-guide.md before editing.

Build from a Template

Prefer duplicating a representative source slide for each functional slide type. This best preserves placeholder geometry, visual chrome, and relationships.

  1. Inspect the template and identify representative slides.
  2. Duplicate the closest representative slide.
  3. Replace its text/images in one batch.
  4. Reorder slides.
  5. Delete unused example slides only after the working deck is complete.

Use add_slide only when a suitable layout exists and a blank layout-based slide is genuinely required. Never delete all examples before identifying which slide types and layouts must be preserved.

Create a New Deck

Use create_presentation with PptxGenJS. Define shared constants and helper functions in each slide snippet as needed; option objects must not be reused across calls because PptxGenJS mutates them.

6. Validate and Render

After every mutation:

  1. Call validate_presentation with presentation_name=edit_id.
  2. Fix structural errors before any further work.
  3. Review warnings for bounds, overlap, overflow risk, placeholders, and fonts.
  4. Call preview_presentation_montage for the full-deck pass.
  5. Call preview_presentation_slides only for affected slides at higher detail.
  6. Fix issues and repeat validation plus targeted rendering.
  7. Call finalize_presentation_edit once with the desired output name. For an app-generated presentation, keep the original filename unless the user requests a separate deliverable: finalization updates the existing result and preserves the previous bytes. Uploaded source files remain immutable and require a different output name.

LibreOffice rendering is an approximation of Microsoft PowerPoint. Missing fonts or complex Office features require final inspection in PowerPoint when available. Read qa-guide.md for the acceptance criteria.

Do not declare success until:

  • The package has zero structural errors.
  • No unresolved placeholder or out-of-bounds warnings remain.
  • Every changed slide has been rendered after its final edit.
  • A final montage shows coherent content, design, and narrative flow.

Non-Negotiable Rules

  • Preserve the uploaded source; edit only the hidden draft returned by begin_presentation_edit.
  • Reuse one edit_id for the complete job. Never create v2, v3, or similar intermediate presentation files.
  • Publish only once with finalize_presentation_edit.
  • Batch related edits; conditional draft writes reject stale concurrent updates.
  • Use 0-based slide indices for edit tools and 1-based numbers for preview tools.
  • Use letters, numbers, and hyphens in presentation names.
  • Do not use a generated approximation when the request requires source fidelity.
  • Do not treat successful tool execution as proof of visual correctness.

版本历史

  1. v1.0.0 GitHub ↗
    原版更新说明

    Initial release with demo video

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供专业的 PowerPoint 演示文稿全生命周期管理能力
  • 支持设计系统提取和 OOXML 保留式编辑,确保源文件保真度
  • 覆盖创建、编辑、验证、渲染等完整工作流
触发精准95/100

亮点

  • 触发描述清晰完整,涵盖多种使用场景
  • 功能边界明确,不易与其他 Skill 混淆
结构规范90/100

亮点

  • 采用分阶段工作流设计,逻辑清晰
  • 每个阶段都有详细步骤说明和最佳实践
  • 包含完整的验证和出口条件
执行可靠88/100

亮点

  • 工具使用规范明确,参数说明清晰
  • 覆盖主要异常情况处理和错误恢复机制
  • 有完整的验证和渲染流程确保输出质量
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。