Update PowerPoint templates with new content while preserving formatting, structure, and layout. Uses semantic analysis to understand template structure and intelligently map new content (from meeting transcripts, summaries, reports) to appropriate shapes. Use when the user asks to update a PowerPoint presentation, fill in a PPTX template, update slides with new data, or refresh a presentation with new content. Handles business reports, sales decks, status updates, and other template-based presentations.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pptx-template-updater:pptx-template-updaterThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Update PowerPoint templates by intelligently mapping new content to existing shapes while preserving all formatting, bullet structures, and layout.
Update PowerPoint templates by intelligently mapping new content to existing shapes while preserving all formatting, bullet structures, and layout.
This skill enables semantic template updates: instead of rigid placeholders, it analyzes the template structure to understand what each shape contains, then intelligently updates text with new content from sources like meeting transcripts, summaries, or structured data.
Key capabilities:
Prerequisites:
Setup:
cd pptx-template-updater
./setup.sh
This will:
.venv directory with an isolated Python environmentNote: The setup only needs to be run once. All scripts will automatically use the isolated environment.
First, understand the template you're working with:
./scripts/run_extract.sh template.pptx --output structure.json
This produces a JSON file with:
Review the structure to understand:
Use heuristics to infer what each shape represents:
Consult semantic-analysis.md for detailed guidance on:
Key inference signals:
Parse the new content source (transcript, summary, data file):
# Example: Extract structured data from a meeting transcript
new_data = {
"date": "Q4 2024",
"metrics": [
{"label": "Revenue", "value": "$2.5M"},
{"label": "Users", "value": "10,000"}
],
"key_points": [
"Launched new feature X",
"Expanded to 3 new markets",
"Customer satisfaction up 15%"
]
}
Match extracted data to template shapes based on semantic analysis:
Critical: Text must fit within existing shapes.
For each update:
See semantic-analysis.md for text fitting strategies.
Build a JSON file with update instructions:
{
"updates": [
{
"slide": 1,
"shape": 2,
"text": "Q4 2024 Results",
"preserve_bullets": false
},
{
"slide": 2,
"shape": 5,
"text": "Launched new feature X\nExpanded to 3 new markets\nCustomer satisfaction up 15%",
"preserve_bullets": true
}
]
}
./scripts/run_update.sh template.pptx updates.json output.pptx
The script will:
Review the output presentation to ensure:
User request: "Update this quarterly report with data from our team meeting notes"
# 1. Extract template structure
./scripts/run_extract.sh quarterly_report.pptx -o structure.json
# 2. Analyze the structure.json to understand slide types and shape purposes
# Identify: Slide 1 = title slide, Slide 2 = metrics, Slide 3 = key achievements
# 3. Parse meeting notes to extract:
# - Current quarter/date
# - Key metrics (revenue, users, growth)
# - Achievement bullet points
# 4. Create updates.json mapping content to shapes:
{
"updates": [
{"slide": 1, "shape": 2, "text": "Q4 2024 Quarterly Report"},
{"slide": 2, "shape": 3, "text": "$2.5M"},
{"slide": 2, "shape": 4, "text": "10,000"},
{"slide": 3, "shape": 2, "text": "Launched feature X\nExpanded to 3 markets\n15% satisfaction increase", "preserve_bullets": true}
]
}
# 5. Apply updates
./scripts/run_update.sh quarterly_report.pptx updates.json updated_report.pptx
For detailed technical guidance:
python-pptx-guide.md: Complete reference for working with python-pptx library
semantic-analysis.md: Comprehensive guide to inferring meaning from templates
extract_template_structure.py before updating to understand constraintsScenario 1: Weekly status update from meeting transcript
Scenario 2: Quarterly business review from data export
Scenario 3: Sales deck customization
Scenario 4: Event presentation from event details
npx claudepluginhub fenrirlabsnl/claude-skills --plugin pptx-template-updaterCreates and modifies PowerPoint PPTX presentations via direct XML manipulation with Node.js scripts. Supports adding/editing slides, layouts, images, shapes, POTX templates. Activates on 'presentation', 'slides', 'deck', '.pptx'.
Creates, edits, and analyzes PPTX presentations using markdown conversion for text and Python unpack for XML access to slides, layouts, notes, comments, themes.