跳到主内容
智客 ZICQ

技能库 智客分类:文档办公 powerpoint-automation

Powerpoint Automation

Create and edit professional PowerPoint presentations from web articles, blog posts, existing PPTX files, or templates. Use when creating PPTX, converting articles to slides, translating presentations, editing open PowerPoint files, or doing COM Automation / RefURL / overflow review work. Triggers on PowerPoint, PPTX, パワポ, スライド作成, 記事をスライド化, COM自動化, RefURL.

1991 安装量

官方网址:skills.sh

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

从网络文章、博客帖子、现有的PPTX文件或模板创建和编辑专业的PowerPoint演示文稿

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:PowerPoint Automation、When to Use、Quick Start、Workflow、Core Assets、Scripts。 其中含规范建议的小节:分步指令。

文件分析

文件分析:除 SKILL.md 外,正文引用了 references/SCRIPTS.md、references/schemas/content.schema.json、assets/template.pptx、scripts/create_from_template.py、assets/template_layouts.json、references/AGENTS.md,属于带资源的技能包,这些文件按需再读。

PowerPoint AutomationWhen to UseQuick StartWorkflowCore AssetsScriptscontent.jsonTemplateAgentsOperating RulesReference MapFrequently Needed

· 许可:CC BY-NC-SA 4.0

来源分类:skills.sh agent-skill

SKILL.md 与 Agent 调用

官方规范 ↗
name
powerpoint-automation
description
Create and edit professional PowerPoint presentations from web articles, blog posts, existing PPTX files, or templates. Use when creating PPTX, converting articles to slides, translating presentations, editing open PowerPoint files, or doing COM Automation / RefURL / overflow review work. Triggers on PowerPoint, PPTX, パワポ, スライド作成, 記事をスライド化, COM自動化, RefURL.
许可
CC BY-NC-SA 4.0
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。
指令中引用的文件 · 7
  • references/SCRIPTS.md
  • references/schemas/content.schema.json
  • assets/template.pptx
  • scripts/create_from_template.py
  • assets/template_layouts.json
  • references/AGENTS.md
  • references/agents/

以下路径提取自原文;文件是否齐全请以来源仓库中的完整目录为准。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

该技能引用了附属文件,请从来源获取完整目录;仅复制 SKILL.md 可能缺少依赖。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「powerpoint-automation」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-27dd150718005b29-%E7%94%B5%E7%82%B9%E8%87%AA%E5%8A%A8%E5%8C%96.html
请存为 .cursor/skills/powerpoint-automation/SKILL.md 或 .claude/skills/powerpoint-automation/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。
该技能还带 scripts/、references/、assets/ 等文件,请从 https://github.com/aktsmm/agent-skills 取完整目录,不要只建一个 SKILL.md。

GitHub 完整包 ↗

终端安装 · Skills CLI

需要 Node.js 与 npx。先查看仓库技能列表,确认实际名称。

npx skills add 'https://github.com/aktsmm/agent-skills' --list

npx skills add 'https://github.com/aktsmm/agent-skills' --skill 'powerpoint-automation'

CLI 会交互选择目标 Agent,默认安装到项目;用户级安装使用 -g。先通过查看命令核对仓库内容,再用 npx skills list 检查已安装技能。

阅读排版

name: powerpoint-automation description: Create and edit professional PowerPoint presentations from web articles, blog posts, existing PPTX files, or templates. Use when creating PPTX, converting articles to slides, translating presentations, editing open PowerPoint files, or doing COM Automation / RefURL / overflow review work. Triggers on PowerPoint, PPTX, パワポ, スライド作成, 記事をスライド化, COM自動化, RefURL. argument-hint: "変換したい URL・PPTX・テンプレート、または編集内容" user-invocable: true license: CC BY-NC-SA 4.0 metadata: author: yamapan (https://github.com/aktsmm)

PowerPoint Automation

AI-powered PPTX generation using Orchestrator-Workers pattern.

When to Use

  • Web 記事やブログをスライド化したいとき
  • 既存 PPTX を翻訳・再構成したいとき
  • 開いている PPTX を COM Automation で直接編集したいとき
  • テンプレートベースで PPTX を生成したいとき
  • content.json を SSOT にして、抽出・翻訳・生成・レビューを分離したいとき

Quick Start

From Web Article

Create a 15-slide presentation from: https://zenn.dev/example/article

From Existing PPTX

Translate this presentation to Japanese: input/presentation.pptx

Edit Open PPTX with COM

Edit the currently open PowerPoint deck with COM Automation and verify RefURL, notes, overflow, and hyperlinks.

Workflow

TRIAGE → PLAN → PREPARE_TEMPLATE → EXTRACT → TRANSLATE → BUILD → REVIEW → DONE

| Phase | Main Actor | Purpose | | ------- | ------------------------- | -------------------------------- | | EXTRACT | extract_images.py | Source -> content.json | | BUILD | create_from_template.py | content.json -> PPTX | | REVIEW | PPTX Reviewer | Overflow / consistency / quality |

Core Assets

Scripts

Script selection, arguments, and validation entry points are defined in references/SCRIPTS.md.

content.json

content.json はこの skill の SSOT。抽出、翻訳、生成、レビューの間は常にこれを基準にする。

{
  "slides": [
    { "type": "title", "title": "Title", "subtitle": "Sub" },
    { "type": "content", "title": "Topic", "items": ["Point 1"] }
  ]
}

スキーマ詳細は references/schemas/content.schema.json を参照。

Template

標準テンプレートは assets/template.pptx。レイアウトや用途の詳細は template 側で管理し、main SKILL には最小限だけ残す。

python scripts/create_from_template.py assets/template.pptx content.json output.pptx --config assets/template_layouts.json

Agents

Role definitions and handoffs are in references/AGENTS.md and references/agents/.

Operating Rules

  • SSOT: Derive content.json from the approved manuscript and retain stable topic/question-to-slide mappings. Reuse approval for unchanged content; changed claims or explicit scope constraints need confirmation. Compress related Q&A for the presentation format, not by dropping qualifying conditions.
  • One phase, one purpose: 抽出・翻訳・生成・レビューを混ぜない
  • Fail fast: 問題が出たら次フェーズへ無理に進めない
  • Human in loop: PLAN でユーザー確認を入れる
  • Technical content is verified content: Azure / Microsoft の内容は MCP で一次情報確認してから入れる
  • PowerPoint lock first: 開いている PPTX に対して python-pptx で上書きしない。読み取りも PermissionError になるので、Copy-Item で %TEMP% へ複製してから読む。markitdown の出力を PowerShell でパイプすると文字化けするため -o でファイルへ書かせる
  • COM for open decks: 開いている PPTX や既存 deck の直接編集は references/instructions/com-automation.instructions.md を参照する
  • Leave it open or close it fully: COM 作業の最後は「ユーザーに見せるので開いたまま」か「完全に終了」かを必ず決める。中身のない PowerPoint ウィンドウを残さない。内部処理だけなら Presentation.Close() の後に Presentations.Count が 0 であることを確認して Application.Quit() し、それでも残る POWERPNT は MainWindowTitle が空またはファイル名なしのプロセスだけ 停止する(ファイル名入りはユーザー作業中)
  • Know how the deck was opened: Invoke-Item / エクスプローラー経由で開いた OneDrive・SharePoint 上の PPTX は Presentation.FullName が https:// になり、SaveCopyAs が %TEMP% へも書かずに例外なしで失敗する。PDF 書き出し前に FullName を確認し、URL なら一度 Close してローカル絶対パスで Presentations.Open() し直してから SaveAs($tmp, 32) する
  • Notes are distributable content: Put presenter guidance in notes, but exclude material the recipient may not receive from the entire deliverable, including hidden slides, notes and embedded sources. Use a separate restricted file; NDA labels and hidden flags do not grant sharing permission.
  • Audience context first: Introduce each topic's purpose or trigger, current situation and unresolved concern before answers and next actions. Keep this context on main slides, not only in notes; reserve notes for permitted presenter guidance and implementation detail.
  • Template means template: ユーザー指定テンプレートがある場合、特に表紙はテンプレートの既存プレースホルダー/レイアウトを使い、上から別図形を重ねて隠さない
  • Reusable template means slide master: 「テンプレートを作る」と言われたら、表紙・本文・Ending の再利用デザインはスライド直置きではなく SlideMaster.CustomLayouts に置き、編集する文字は placeholder / text shape として残す
  • PPTX asset metadata gate: テンプレートや配布用 PPTX を skill asset / public artifact に含める前に scripts/clean_template.py で docProps/custom.xml(MIP ラベル、tenant、SharePoint フィールド、同僚メール)と docProps/core.xml(cp:lastModifiedBy / cp:revision)を sanitize する。PowerPoint は OneDrive / SharePoint から開くたびに MIP を再付与するので、check-in 直前に毎回実行する。詳細は references/instructions/template.instructions.md。スライド本文検索だけで安全判定しない
  • JP template font default: 日本語の再利用テンプレートでは master/layout の既定和文フォントを BIZ UDPゴシック に揃え、生成スライド側の後処理で毎回フォントを直す設計にしない
  • Rendered QA before handoff: COM で開いている deck を直接 touch-up した後も、対象 deck から実レンダー画像を書き出し、重なり・フォントばらつき・表の可読性を個別 slide で確認する
  • Review like a critic, not a generator: ユーザーに見せる前に、レンダー画像で「スカスカ・文字が小さい・アイコンが雑・テンプレ踏襲不足・旧文言残り」を自分で探して直す。詳しくは references/instructions/deck-iteration-review.instructions.md
  • Media restore gate: slide insertion/deletion/recovery after a user review must re-check expected slide count and embedded video/media positions before continuing
  • Template base-slide gate: テンプレートを複製して生成する場合は、保持する sample slide を先に明示し、不要な contact / next-event 等を構造編集で削除する。完了前に content manifest から導いた期待枚数、残存 placeholder、slide order を検証する
  • Architecture diagrams use shapes: ASCII art ではなく図形で組む
  • Appendix URLs use Title - URL: 参考 URL の表示形式は統一する
  • Review content and visuals separately: 生成後は見た目レビューだけでなく、公式情報との正確性レビュー、URL hyperlink 数、notes 数、placeholder/internal wording を確認する

Reference Map

Frequently Needed

Use Implementation Patterns for shape diagrams, template XML, SlideMaster edits, visual QA, hyperlinks, RefURL, locks, centering, corruption recovery, and media embedding.

Done Criteria

  • source と goal が固定されている
  • content.json を正として各フェーズが分離されている
  • template / layout の前提が確認できている
  • technical content は一次情報確認が済んでいる
  • operational text がスライド面に出ていない
  • template 利用時は単調な同一レイアウト反復と余剰 placeholder を確認している
  • テンプレートの保持/削除対象を含む期待スライド数と実際の slide set が一致している
  • visual QA はレンダー画像で行い、修正後に該当スライドを再確認している
  • 表は本文 16pt 以上を原則とし、header は中央揃え・中段揃えで視認性を確認している
  • build 後に overflow / consistency / hyperlink をレビューできている

相关技能

文档办公

Ontology

为结构化的代理内存和可堆肥技能所打入的知识图. 在创建/征服实体(Person, project, Task, Evention, Document)时使用,链接相关对象,强制约束,规划多步动作作为图变,或技能需要共享状态时使用. 触发到"记住","我知道什么","链接X到Y",…

文档办公

Nano Pdf

使用纳米-pdf CLI编辑带有自然语言指令的PDF.

文档办公

Word / DOCX

创建,检查,并编辑有可靠样式的Microsoft Word文档和DOCX文件,编号,跟踪更改,表格,章节,并进行相容性检查. 当 (1) 任务涉及 Word 或 ".docx " 时使用; (2) 文件包括跟踪的更改,评论,字段,表格,模板,或页面布局限制; (3) 文档必须在不…

文档办公

Api Gateway

通过 Maton 网关调用第三方 API, 它为用户已经连接的应用程序注入证书 。 当用户命名一个连接的应用程序和其中的具体行动时使用此技能——读取一个邮箱,查询一个CMM,归档一个问题,更新一个电子表格,通过一个连接的搜索或刮取提供者运行一个查询. 每一次通话都到用户连接的应用…