ppt-editing-skill
できること
このスキルは、テンプレートに新しい内容を入れることを含め、既存のPowerPointファイルの変更を進めます。レイアウトを壊さずに資料を更新したい人向けです。
使う場面
- ✓PowerPointのテンプレートがあり、自分の内容を入れたいとき。
- ✓既存の資料でスライドの並べ替え、コピー、削除が必要なとき。
- ✓既存のプレゼン資料の文字を、安全に更新したいとき。
スキルのリンク
https://github.com/MiniMax-AI/skills/blob/main/plugins/pptx-plugin/skills/ppt-editing-skill/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“会社のテンプレートを使って、第3四半期の業績に関する10枚のスライドを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、テンプレートのレイアウトを確認し、各セクションに合うスライドを計画します。そのあとスライドのファイルを慎重に編集し、有効なPowerPointファイルとしてまとめ直します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Editing Presentations
Template-Based Workflow
When using an existing presentation as a template:
Copy and analyze:
cp /path/to/user-provided.pptx template.pptx python -m markitdown template.pptx > template.mdReview
template.mdto see placeholder text and slide structure.Plan slide mapping: For each content section, choose a template slide.
⚠️ USE VARIED LAYOUTS — monotonous presentations are a common failure mode. Don't default to basic title + bullet slides. Actively seek out:
- Multi-column layouts (2-column, 3-column)
- Image + text combinations
- Full-bleed images with text overlay
- Quote or callout slides
- Section dividers
- Stat/number callouts
- Icon grids or icon + text rows
Avoid: Repeating the same text-heavy layout for every slide.
Match content type to layout style (e.g., key points → bullet slide, team info → multi-column, testimonials → quote slide).
Unpack
Build presentation (do this yourself, not with subagents):
- Delete unwanted slides (remove from
<p:sldIdLst>) - Duplicate slides you want to reuse (
add_slide.py) - Reorder slides in
<p:sldIdLst> - Complete all structural changes before step 5
- Delete unwanted slides (remove from
Edit content: Update text in each
slide{N}.xml. Use subagents here if available — slides are separate XML files, so subagents can edit in parallel.Clean
Pack
Output Structure
Copy the user-provided file to template.pptx in cwd. This preserves the original and gives a predictable name for all downstream scripts.
cp /path/to/user-provided.pptx template.pptx
./
├── template.pptx # Copy of user-provided file (never modified)
├── template.md # markitdown extraction
├── unpacked/ # Editable XML tree
└── edited.pptx # Final repacked deck
Minimum expected deliverable: edited.pptx.
Scripts
| Script | Purpose |
|---|---|
unpack.py |
Extract and pretty-print PPTX |
add_slide.py |
Duplicate slide or create from layout |
clean.py |
Remove orphaned files |
pack.py |
Repack with validation |
Removes slides not in <p:sldIdLst>, unreferenced media, orphaned rels.
Always write to /tmp/ first, then copy to the final path. Python's zipfile module uses seek internally, which fails on some volume mounts (e.g. Docker bind mounts). Writing to a local temp path avoids this.
Validates, repairs, condenses XML, re-encodes smart quotes.
Slide Operations
Slide order is in ppt/presentation.xml → <p:sldIdLst>.
Reorder: Rearrange <p:sldId> elements.
Delete: Remove <p:sldId>, then run clean.py.
Add: Use add_slide.py. Never manually copy slide files—the script handles notes references, Content_Types.xml, and relationship IDs that manual copying misses.
Editing Content
Subagents: If available, use them here (after completing step 4). Each slide is a separate XML file, so subagents can edit in parallel. In your prompt to subagents, include:
- The slide file path(s) to edit
- "Use the Edit tool for all changes"
- The formatting rules and common pitfalls below
For each slide:
- Read the slide's XML
- Identify ALL placeholder content—text, images, charts, icons, captions
- Replace each placeholder with final content
Use the Edit tool, not sed or Python scripts. The Edit tool forces specificity about what to replace and where, yielding better reliability.
Formatting Rules
- Bold all headers, subheadings, and inline labels: Use
b="1"on<a:rPr>. This includes:- Slide titles
- Section headers within a slide
- Inline labels like (e.g.: "Status:", "Description:") at the start of a line
- Never use unicode bullets (•): Use proper list formatting with
<a:buChar>or<a:buAutoNum> - Bullet consistency: Let bullets inherit from the layout. Only specify
<a:buChar>or<a:buNone>.
Common Pitfalls
Template Adaptation
When source content has fewer items than the template:
- Remove excess elements entirely (images, shapes, text boxes), don't just clear text
- Check for orphaned visuals after clearing text content
- Run content QA with
markitdownto catch mismatched counts
When replacing text with different length content:
- Shorter replacements: Usually safe
- Longer replacements: May overflow or wrap unexpectedly
- Verify w
よくある質問
テンプレートのレイアウトは残りますか?
既存のテンプレートのレイアウトをもとに作業し、その中の文字を慎重に編集します。
スライドのレイアウトは変化をつけますか?
はい。文字の多い同じレイアウトを、すべてのスライドで繰り返さないよう注意します。
使われなくなったファイルは片付けますか?
はい。編集後に、使われていない素材を削除する手順が含まれています。
詳細
作者による元の説明
Edit existing PowerPoint files or templates with XML-safe workflows. Use for template-based deck updates: analyze layouts, map content to slides, duplicate/reorder/delete slides safely, edit slide XML in parallel, clean orphaned assets, and repack validated PPTX output.
repo: MiniMax-AI/skills
人気
- GitHubのスター
- 14k
- ランキング
- #11283
- ライセンス
- MIT
- 更新日
- 2026/4/18
コメント
- …
このリポジトリの他のスキル
design-style-skill
14kエージェントが、スライドの見た目を一つの統一されたスタイルに決められるよう支援します。シャープで引き締まったものから、やわらかく丸みのあるもの、ゆったりしたものまで選べます。
ppt-orchestra-skill
14kエージェントが、PowerPointの資料全体を作る前に計画できるよう支援します。各スライドを標準的なページの種類に分け、種類のばらつきと文章の品質を確認します。
slide-making-skill
14kエージェントが、PptxGenJSを使ったJavaScriptで一枚のPowerPointスライドを作れるよう支援します。レイアウト、文字、画像、グラフ、フォントを扱い、ネイティブの.pptxファイルを作ります。
android-native-dev
14kエージェントが、ComposeとMaterial Design 3を使ったAndroidアプリをKotlinで作れるよう支援します。プロジェクトの設定、アクセシビリティ、ビルドの修正を含みます。
似ているスキル
feishu-doc
394kテキスト、画像、表を含むFeishuのクラウドドキュメントを、ドキュメントツールを使って読み、作成し、編集するようエージェントを支援します。
feishu-drive
394kボットと共有されたFeishuのクラウドフォルダ内のファイルを閲覧、整理、コメントできるようエージェントを支援します。
feishu-perm
394kFeishuのファイルにアクセスできる人を確認し、変更するようエージェントを支援します。依頼を満たす最小の権限を選びます。