creating-presentations
Skill242 starsChanged 5 months agoMITView on GitHub
Processes PowerPoint presentation files (.pptx). Creates slides, rewrites templates, converts HTML to presentations, validates thumbnails, swaps layouts, and performs deep OOXML editing. Use when working with presentation files or slide decks. Do NOT use for Word documents, spreadsheets, or PDF files.
- Installs packages
In this repository39 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyzing-changesSkill
- analyzing-securitySkill
- analyzing-spreadsheetsSkill
- applying-ui-design-systemSkill
- architecting-securitySkill
- automating-devopsSkill
- building-agent-systemsSkill
- checking-code-qualitySkill
- cultivating-personasSkill
- cultivating-skillsSkill
- defending-applicationsSkill
- designing-architecturesSkill
- designing-hardware-productsSkill
- detecting-and-respondingSkill
- developing-mobile-appsSkill
- developing-softwareSkill
- engineering-data-pipelinesSkill
- generating-docsSkill
- indexing-codeSkill
- backendSkill
- characterSkill
- doctrineSkill
- frontendSkill
- hardwareSkill
- loop-engineeringSkill
- methodsSkill
- mlSkill
- securitySkill
- operating-kicad-edaSkill
- orchestrating-adversarial-reviewsSkill
- processing-docxSkill
- processing-pdfsSkill
- provisioning-infrastructureSkill
- reducing-aigc-detectionSkill
- securing-cloud-and-supply-chainSkill
- securing-systemsSkill
- shipping-changesSkill
- verifying-modulesSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
Create HTML per slide (e.g., 720pt × 405pt for 16:9)
- Very specific: line 35
Use <p>, <h1>–<h6>, <ul>, <ol>
- Distinctive: line 38
Use full-slide or two-column layout for charts/tables — never vertical stack
- Very specific: line 39
Run scripts/html2pptx.js to convert
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
PPTX Processing
.pptx is a ZIP archive of XML and resources. Choose workflow by intent.
Workflow Decision
| Intent | Workflow | Reference |
| Read text | markitdown → markdown | thumbnails-and-conversion.md |
| Analyze layout / comments / theme | unpack → raw XML | thumbnails-and-conversion.md |
| Create new from scratch | html2pptx | html2pptx.md + design-patterns.md |
| Create using template | rearrange + inventory + replace | template-workflow.md |
| Edit existing slides | unpack → OOXML → pack | ooxml.md |
| Visual review | thumbnail grids | thumbnails-and-conversion.md |
Iron Rules
- Color choice is design — see palettes.md, state your approach BEFORE code.
- Web-safe fonts only — Arial, Helvetica, Times New Roman, Georgia, Courier New, Verdana, Tahoma, Trebuchet MS, Impact.
- Layout matches content count — 2 items → 2 columns; 3 → 3; never force.
- Validate visually — always generate thumbnails after creation, inspect for cutoff/overlap/contrast.
Create New (without template) — html2pptx
- MANDATORY — READ ENTIRE FILE:
html2pptx.md. NEVER set range limits. - Create HTML per slide (e.g., 720pt × 405pt for 16:9)
- Use
<p>,<h1>–<h6>,<ul>,<ol> class="placeholder"for chart/table areas (gray bg for visibility)- CRITICAL: Rasterize gradients & icons as PNG via Sharp first, then reference in HTML
- Use full-slide or two-column layout for charts/tables — never vertical stack
- Use
- Run
scripts/html2pptx.jsto converthtml2pptx()per HTML file- Charts/tables via PptxGenJS API on placeholders
pptx.writeFile()to save
- Visual validation —
python scripts/thumbnail.py output.pptx workspace/thumbnails --cols 4- Inspect for: text cutoff, overlap, positioning, contrast
- Adjust HTML margins/spacing/colors, regenerate, repeat
Create with Template
See template-workflow.md for full 7-step workflow (extract → inventory → outline → rearrange → inventory text → generate replacements → apply).
Edit Existing Presentation
- MANDATORY — READ ENTIRE FILE:
ooxml.md(~500 lines). NEVER set range limits. python ooxml/scripts/unpack.py <file> <dir>- Edit XML (primarily
ppt/slides/slide{N}.xml) - CRITICAL — validate after each edit:
python ooxml/scripts/validate.py <dir> --original <file> python ooxml/scripts/pack.py <dir> <file>
Code Style
Concise code, no verbose names, no unnecessary print statements.
Dependencies
| Package | Install | Purpose |
| markitdown | pip install "markitdown[pptx]" | Text extraction |
| pptxgenjs | npm i -g pptxgenjs | Create via html2pptx |
| playwright | npm i -g playwright | HTML rendering |
| react-icons | npm i -g react-icons react react-dom | Icons |
| sharp | npm i -g sharp | SVG rasterization |
| LibreOffice | apt install libreoffice | PDF conversion |
| Poppler | apt install poppler-utils | pdftoppm |
| defusedxml | pip install defusedxml | Secure XML |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

