pptx

GitHub

用于创建、编辑和审查可编辑的Microsoft PowerPoint (.pptx)演示文稿。支持基于模板或源文件的生成、幻灯片修改、图表处理及格式验证,不涉及HTML或Google Slides。

skills/pptx/SKILL.md OpenBMB/PilotDeck

Trigger Scenarios

需要生成新的PPTX演示文稿 对现有PPTX文件进行内容或格式编辑 检查PPTX文件的兼容性和完整性

Install

npx skills add OpenBMB/PilotDeck --skill pptx -g -y
More Options

Use without installing

npx skills use OpenBMB/PilotDeck@pptx

指定 Agent (Claude Code)

npx skills add OpenBMB/PilotDeck --skill pptx -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenBMB/PilotDeck --all -g -y

预览 repo 内 skill

npx skills add OpenBMB/PilotDeck --list

SKILL.md

Frontmatter
{
    "name": "pptx",
    "description": "Create, edit, review, and finalize editable Microsoft PowerPoint .pptx presentations. Use for new decks, source- or template-based presentations, targeted slide edits, charts, tables, images, speaker notes, visual QA, and legacy .ppt conversion. Do not use for HTML\/browser presentations, Google Slides, or live Microsoft PowerPoint control."
}

PPTX presentations

Use four stages as a reasoning framework, not a fixed tool pipeline:

  1. Understand the request and source materials.
  2. Build or edit the presentation using the approach best suited to the task.
  3. Review the actual result with evidence proportionate to the risk.
  4. Deliver the chosen candidate safely.

The user's explicit requirements are the primary acceptance criteria. Adapt the implementation and review depth to the task rather than optimizing for a template, style rule, or tool verdict from this skill.

Understand

Determine the audience, purpose, intended takeaway, authoritative sources, expected form, and what must remain unchanged. Distinguish factual sources from templates and visual references.

  • Preserve source files unless replacement is explicitly requested.
  • Do not invent unsupported facts, quotations, dates, names, values, or citations.
  • When editing, preserve content, structure, formatting, notes, and package features the user did not ask to change.
  • Inspect only the material and package features relevant to the requested outcome. Use direct Python, python-pptx, ZIP/XML inspection, LibreOffice, or another suitable approach as useful.

Resolve the mechanical CLI only when one of its commands helps:

SKILL_ROOT={{SKILL_ROOT_SHELL}}
PPTX="$SKILL_ROOT/scripts/pptx.sh"
WORKSPACE="${PILOTDECK_WORK_DIR:?PILOTDECK_WORK_DIR is required}/pptx"
mkdir -p "$WORKSPACE/tmp" "$WORKSPACE/review"

Build

Use the approach best suited to the task. python-pptx, PptxGenJS, direct OOXML editing, LibreOffice, other libraries, or a combination are all valid. Do not switch languages or adopt a wrapper merely to use this skill.

Keep task scripts, candidates, extracted media, reports, renders, and debugging output under PILOTDECK_WORK_DIR. Put only the requested final deliverable in the project workspace.

Prefer localized edits to reconstruction when modifying an existing presentation. Inspect package-sensitive features before round-tripping speaker notes, masters, layouts, themes, charts, animations, embedded workbooks, OLE objects, macros, signatures, or uncommon media. Choose a preservation strategy based on the actual presentation and report limitations honestly.

Follow supplied templates, brand guidance, and explicit art direction. Otherwise choose a coherent visual language appropriate to the audience and content.

For PowerPoint-specific package and compatibility behavior, read powerpoint-specifics.md only when relevant.

Review

Judge the presentation against the user's requested outcome, not whether a tool ran successfully. Directly rereading the final content may be enough for a simple task. When additional evidence would materially improve confidence, choose any appropriate combination of:

  • reconcile facts, values, quotations, and sources;
  • inspect relevant slides, notes, relationships, or package parts directly;
  • validate for package, XML, relationship, and active-slide diagnostics;
  • render for slide images and visual evidence;
  • compare for factual differences after editing an existing presentation;
  • a small task-specific checking script for requirements unique to the request.

These tools are independent, not a required pipeline. They provide facts and evidence, never a content- or design-quality verdict.

bash "$PPTX" validate --input "$WORKSPACE/tmp/candidate.pptx"
bash "$PPTX" render \
  --input "$WORKSPACE/tmp/candidate.pptx" \
  --out-dir "$WORKSPACE/review/latest"
bash "$PPTX" compare \
  --source "$INPUT_PPTX" \
  --candidate "$WORKSPACE/tmp/candidate.pptx" \
  --out "$WORKSPACE/review/comparison.json"

Open relevant full-size slide images before making visual claims. After changing the candidate, prior images no longer describe the current presentation. LibreOffice rendering is a compatibility baseline and may substitute fonts, wrap text, or render effects differently from Microsoft PowerPoint.

Specialized operation

For legacy PowerPoint 97–2003 input, preserve the source and convert it to an internal .pptx candidate before editing:

bash "$PPTX" convert-legacy \
  --input "$SOURCE_PPT" \
  --out "$WORKSPACE/tmp/source-converted.pptx"

Read legacy-ppt-conversion.md when handling .ppt. Conversion is not a guarantee of lossless migration; use render or another targeted check when conversion fidelity matters.

Deliver

Publish the chosen internal candidate through the delivery command:

bash "$PPTX" deliver \
  --input "$WORKSPACE/tmp/candidate.pptx" \
  --out "$FINAL_PPTX"

For an edit, add --source "$INPUT_PPTX". Replace that exact source only when explicitly requested, using --source "$INPUT_PPTX" --out "$INPUT_PPTX" --replace-source; a recovery copy remains internal.

deliver checks package validity, protects the source, and publishes the exact candidate atomically. It does not run validate, render, or compare, and it does not decide whether the content, facts, design, or requested outcome are good enough; those judgments belong to the model's review.

Version History

  • 2626c07 Current 2026-08-27 15:18

    重构文档以简化流程,移除过时文件并更新描述,强调适应用户需求的工作流。

  • 98a0edf 2026-08-19 17:29

    增强模板演示功能,支持添加演讲者备注和可编辑元素;引入 PPTX 编辑的回退修补机制;优化审查命令输出细节。

  • a3d1f7c 2026-07-23 06:12

Same Skill Collection

skills/1password/SKILL.md
skills/apple-notes/SKILL.md
skills/apple-reminders/SKILL.md
skills/audio-transcription/SKILL.md
skills/bear-notes/SKILL.md
skills/blogwatcher/SKILL.md
skills/browser-use/SKILL.md
skills/diagram-maker/SKILL.md
skills/docx/SKILL.md
skills/frontend-slides/SKILL.md
skills/github/SKILL.md
skills/gog/SKILL.md
skills/himalaya/SKILL.md
skills/karpathy-guidelines/SKILL.md
skills/meeting-recorder-assistant/SKILL.md
skills/notion/SKILL.md
skills/obsidian/SKILL.md
skills/pdf/SKILL.md
skills/pilotdeck-skills-migration/SKILL.md
skills/powershell/SKILL.md
skills/react-next-best-practices/SKILL.md
skills/skill-creator/SKILL.md
skills/spike/SKILL.md
skills/spreadsheets/SKILL.md
skills/summarize/SKILL.md
skills/tmux/SKILL.md
skills/trello/SKILL.md
skills/weather/SKILL.md
skills/find-skills/SKILL.md
skills/frontend-design/SKILL.md
skills/minimax-pdf/SKILL.md
skills/web-design-guidelines/SKILL.md

Metadata

Files
0
Version
2626c07
Hash
215c3bdb
Indexed
2026-07-23 06:12

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-28 01:07
浙ICP备14020137号-1 $Carte des visiteurs$