creating-presentations
/creating-presentations
Przetwarza pliki prezentacji PowerPoint (.pptx): tworzy slajdy, przepisuje szablony, konwertuje HTML na prezentacje, waliduje miniatury, zamienia układy i głęboko edytuje OOXML.
- Autor
- telagod ↗
- Repozytorium
- code-abyss ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 19.07.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 59
- Skrypty
- 13
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 19.07.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 13 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: ooxml/scripts/pack.py, ooxml/scripts/unpack.py, ooxml/scripts/validate.py, ooxml/scripts/validation/__init__.py, ooxml/scripts/validation/base.py, ooxml/scripts/validation/docx.py, ooxml/scripts/validation/pptx.py, ooxml/scripts/validation/redlining.py
Co robi i kiedy
Przetwarza pliki prezentacji PowerPoint (.pptx): tworzy slajdy, przepisuje szablony, konwertuje HTML na prezentacje, waliduje miniatury, zamienia układy i głęboko edytuje OOXML.
Argumenty
/creating-presentations <file.pptx | task>
Oryginalny opis (EN)
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.
Jak działa
- Workflow Decision
- Iron Rules
- Create New (without template) — html2pptx
- Create with Template
- Edit Existing Presentation
- Code Style
- Dependencies
Podgląd SKILL.md
---
name: creating-presentations
description: 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.
user-invocable: false
allowed-tools: Bash, Read, Write, Edit, Glob
argument-hint: <file.pptx | task>
---
# 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](references/thumbnails-and-conversion.md) |
| **Analyze layout / comments / theme** | unpack → raw XML | [thumbnails-and-conversion.md](references/thumbnails-and-conversion.md) |
| **Create new from scratch** | html2pptx | [html2pptx.md](html2pptx.md) + [design-patterns.md](references/design-patterns.md) |
| **Create using template** | rearrange + inventory + replace | [template-workflow.md](references/template-workflow.md) |
| **Edit existing slides** | unpack → OOXML → pack | [ooxml.md](ooxml.md) |
| **Visual review** | thumbnail grids | [thumbnails-and-conversion.md](references/thumbnails-and-conversion.md) |
## Iron Rules
- **Color choice is design** — see [palettes.md](references/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
1. **MANDATORY — READ ENTIRE FILE**: `html2pptx.md`. NEVER set range limits.
2. 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
3. Run `scripts/html2pptx.js` to convert
- `html2pptx()` per HTML file
- Charts/tables via PptxGenJS API on placeholders
- `pptx.writeFile()` to save
4. **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](references/template-workflow.md) for full 7-step workflow (extract → inventory → outline → rearrange → inventory text → generate replacements → apply).
## Edit Existing Presentation
1. **MANDATORY — READ ENTIRE FILE**: `ooxml.md` (~500 lines). NEVER set range limits.
2. `python ooxml/scripts/unpack.py <file> <dir>`
3. Edit XML (primarily `ppt/slides/slide{N}.xml`)
4. **CRITICAL** — validate after each edit: `python ooxml/scripts/validate.py <dir> --original <file>`
5. `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 |
Pliki w paczce (59)
- SKILL.md 4 KB
- html2pptx.md 19 KB
- ooxml.md 10 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd 73 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd 7 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd 50 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd 148 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd 9 KB
- ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd 14 KB
- ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd 82 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd 7 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd 6 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd 3 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd 3 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd 7 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd 23 KB
- ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd 237 KB
- ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd 26 KB
- ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd 25 KB
- ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd 1 KB
- ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd 6 KB
- ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd 4 KB
- ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd 167 KB
- ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd 5 KB
- ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd 2 KB
- ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd 2 KB
- ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd 3 KB
- ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd 1 KB
- ooxml/schemas/mce/mc.xsd 3 KB
- ooxml/schemas/microsoft/wml-2010.xsd 26 KB
- ooxml/schemas/microsoft/wml-2012.xsd 4 KB
- ooxml/schemas/microsoft/wml-2018.xsd 1 KB
- ooxml/schemas/microsoft/wml-cex-2018.xsd 2 KB
- ooxml/schemas/microsoft/wml-cid-2016.xsd 1 KB
- ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd 1 KB
- ooxml/schemas/microsoft/wml-symex-2015.xsd 1 KB
- ooxml/scripts/pack.py 5 KB
- ooxml/scripts/unpack.py 1 KB
- ooxml/scripts/validate.py 2 KB
- ooxml/scripts/validation/__init__.py 1 KB
- ooxml/scripts/validation/base.py 39 KB
- ooxml/scripts/validation/docx.py 10 KB
- ooxml/scripts/validation/pptx.py 12 KB
- ooxml/scripts/validation/redlining.py 11 KB
- references/design-patterns.md 3 KB
- references/palettes.md 2 KB
- references/template-workflow.md 6 KB
- references/thumbnails-and-conversion.md 2 KB
- scripts/html2pptx.js 37 KB
- scripts/inventory.py 37 KB
- scripts/rearrange.py 8 KB
- scripts/replace.py 13 KB
- scripts/thumbnail.py 15 KB
Wersje
W bazie nie ma innych skilli o nazwie creating-presentations.
Migawka bazy z 13.11.2026 · wersja paczki b8518d1c7fd0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 84powerpoint
Obsługuje pliki pptx: tworzy prezentacje, czyta treść, edytuje slajdy, układy, notatki i komentarze. - 90Presentations
Czyta, tworzy i edytuje prezentacje PowerPoint lub Google Slides, gdy użytkownik prosi o slajdy, deck albo plik PPTX. - 100powerpoint
Tworzy profesjonalne prezentacje PowerPoint i pliki pptx na prośbę o slajdy lub prezentację. - 100pptx-official
Tworzy, modyfikuje i analizuje prezentacje .pptx, w tym treść PowerPoint i układy slajdów. - 100pptx
Tworzy i edytuje prezentacje .pptx: slajdy tytułowe, układy z punktorami, tabele, obrazy i notatki prelegenta. - 95community-powerpoint
Obsługuje pliki .pptx: tworzy, czyta, edytuje i łączy prezentacje, z szablonami, układami i notatkami mówcy.