Creating presentations
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.From its SKILL.md
npx -y skills add telagod/code-abyss --skill creating-presentationsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- runs commandsInstructs the agent to run 8 commands, including `scripts/html2pptx.js` and 7 more.
SKILL.md
3.8 KB, 904 tokens by cl100k_base, as published. Nobody here has run it
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 |
What ships with it: 58 files
1188.5 KB alongside SKILL.md, 13 of them executable
ooxml/
- schemas/ecma/fouth-edition/opc-contentTypes.xsd1.9 KB
- schemas/ecma/fouth-edition/opc-coreProperties.xsd2.5 KB
- schemas/ecma/fouth-edition/opc-digSig.xsd2.8 KB
- schemas/ecma/fouth-edition/opc-relationships.xsd1.3 KB
- schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd6.8 KB
- schemas/ISO-IEC29500-4_2016/dml-chart.xsd73.2 KB
- schemas/ISO-IEC29500-4_2016/dml-diagram.xsd50.1 KB
- schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd624 B
- schemas/ISO-IEC29500-4_2016/dml-main.xsd148.5 KB
- schemas/ISO-IEC29500-4_2016/dml-picture.xsd1.2 KB
- schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd8.7 KB
- schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd14.4 KB
- schemas/ISO-IEC29500-4_2016/pml.xsd81.7 KB
- schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd1.2 KB
- schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd7.2 KB
- schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd6.2 KB
- schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd1.2 KB
- schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd880 B
- schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd2.5 KB
- schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd3.4 KB
- schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd7.3 KB
- schemas/ISO-IEC29500-4_2016/shared-math.xsd22.8 KB
- schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd1.3 KB
- schemas/ISO-IEC29500-4_2016/sml.xsd236.6 KB
- schemas/ISO-IEC29500-4_2016/vml-main.xsd25.5 KB
- schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd24.7 KB
- schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd535 B
- schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd5.6 KB
- schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd3.9 KB
- schemas/ISO-IEC29500-4_2016/wml.xsd167.4 KB
- schemas/ISO-IEC29500-4_2016/xml.xsd4.5 KB
- schemas/mce/mc.xsd3.1 KB
- schemas/microsoft/wml-2010.xsd25.9 KB
- schemas/microsoft/wml-2012.xsd3.7 KB
- schemas/microsoft/wml-2018.xsd901 B
- schemas/microsoft/wml-cex-2018.xsd1.7 KB
- schemas/microsoft/wml-cid-2016.xsd1002 B
- schemas/microsoft/wml-sdtdatahash-2020.xsd600 B
- html2pptx.md19.4 KB
- ooxml.md10.1 KB
18 more files not listed here. See all 58 in the repository.
Gives 0 of the 12 instructions most pdf office docs skills give in 904 tokens
Counted across 569 of the 585 authors here whose files we hold, read 2026-09-06
- Ensure every slide fits inside one viewportin 20 of 569, across 11 files
- Check for product marketing context firstin 15 of 569, across 5 files
- Ask for the minimum neededin 15 of 569, across 5 files
- Set the API key environment variablein 15 of 569, across 10 files
- Support keyboard and touch navigationin 14 of 569, across 5 files
- Match the buyer stagein 13 of 569, across 3 files
- Split overflowing content into multiple slidesin 12 of 569, across 3 files
- Set page size explicitly for consistent resultsin 12 of 569, across 5 files
- Convert documents to markdown using pandocin 12 of 569, across 6 files
- Read STYLE_PRESETS.md before generatingin 12 of 569, across 7 files
- Send multipart POST requests to the APIin 12 of 569, across 7 files
- Use smart quotes for new contentin 11 of 569, across 4 files
Said here and by no other author read
- Choose workflow by intent
- State your color approach before code
- Validate visually using thumbnails
- Run html2pptx script to convert
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.