← スキル一覧に戻る

pptx
by Holo00
⭐ 0🍴 0📅 2025年11月28日
SKILL.md
name: pptx description: Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks.
PPTX Processing
Overview
Work with PowerPoint presentations (.pptx files) for creation, editing, and analysis.
Reading & Analysis
Text Extraction
# Convert to markdown
pandoc presentation.pptx -t markdown -o output.md
Raw XML Access
# Unpack for direct access
unzip presentation.pptx -d presentation_unpacked/
Access comments, speaker notes, layouts, and design elements in the unpacked XML.
Creating New Presentations
Using pptxgenjs (JavaScript)
import pptxgen from 'pptxgenjs';
const pptx = new pptxgen();
const slide = pptx.addSlide();
slide.addText('Hello World', {
x: 1, y: 1,
fontSize: 24,
color: '363636'
});
pptx.writeFile({ fileName: 'presentation.pptx' });
Using python-pptx (Python)
from pptx import Presentation
from pptx.util import Inches, Pt
prs = Presentation()
slide_layout = prs.slide_layouts[0] # Title slide
slide = prs.slides.add_slide(slide_layout)
title = slide.shapes.title
title.text = "Hello World"
prs.save('presentation.pptx')
Editing Existing Presentations
Workflow
- Unpack PPTX file
- Modify XML content directly
- Validate changes
- Repack presentation
Python Approach
from pptx import Presentation
prs = Presentation('input.pptx')
for slide in prs.slides:
for shape in slide.shapes:
if shape.has_text_frame:
for paragraph in shape.text_frame.paragraphs:
for run in paragraph.runs:
run.text = run.text.replace('old', 'new')
prs.save('output.pptx')
Design Guidelines
Color Palettes
- Use consistent brand colors throughout
- Ensure sufficient contrast for readability
- Limit to 3-5 colors per presentation
Typography
- Headlines: Bold, larger font (24-44pt)
- Body text: Regular weight (18-24pt)
- Use consistent font family
Layout Patterns
- Title + content
- Two-column comparison
- Image with caption
- Quote/highlight slide
- Data visualization
Visual Hierarchy
- Most important content largest/boldest
- Use whitespace effectively
- Guide viewer's eye with alignment
Document Conversion
PPTX to PDF
libreoffice --headless --convert-to pdf presentation.pptx
Slide Thumbnails
pdftoppm -jpeg -r 150 presentation.pdf slide
Dependencies
- pptxgenjs (JavaScript)
- python-pptx (Python)
- LibreOffice (conversion)
- Poppler utilities (thumbnails)
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です