slides
/slides
Tworzy, edytuje, analizuje i wyjaśnia prezentacje .pptx w PptxGenJS, odtwarza slajdy ze zrzutów i PDF, dodaje wykresy i diagramy oraz diagnozuje problemy z układem i fontami.
- Autor
- ThalesGroup ↗
- Repozytorium
- agilab ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 20.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 20
- Skrypty
- 14
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 20.10.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
- 14 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: assets/pptxgenjs_helpers/code.js, assets/pptxgenjs_helpers/image.js, assets/pptxgenjs_helpers/index.js, assets/pptxgenjs_helpers/latex.js, assets/pptxgenjs_helpers/layout.js, assets/pptxgenjs_helpers/layout_builders.js, assets/pptxgenjs_helpers/svg.js, assets/pptxgenjs_helpers/text.js
Co robi i kiedy
Tworzy, edytuje, analizuje i wyjaśnia prezentacje .pptx w PptxGenJS, odtwarza slajdy ze zrzutów i PDF, dodaje wykresy i diagramy oraz diagnozuje problemy z układem i fontami.
Oryginalny opis (EN)
Create, edit, inspect, or explain presentation slide decks (`.pptx`) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying content while preserving editable output, extracting or explaining a specific slide, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.
Jak działa
- Overview
- Bundled Resources
- Workflow
- Authoring Rules
- Recreate Or Edit Existing Slides
- Inspection-Only Requests
- Validation Commands
Podgląd SKILL.md
--- name: slides description: Create, edit, inspect, or explain presentation slide decks (`.pptx`) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying content while preserving editable output, extracting or explaining a specific slide, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution. license: Apache-2.0 (see bundled LICENSE.txt) --- # Slides ## Overview Use PptxGenJS for slide authoring. Do not use `python-pptx` for deck generation unless the task is inspection-only; keep editable output in JavaScript and deliver both the `.pptx` and the source `.js`. Keep work in a task-local directory. Only copy final artifacts to the requested destination after rendering and validation pass. For AGILAB task closeout, follow the [task cleanup checkpoint](../../../.tokki/rules#task-cleanup-checkpoint); retain delivered sources, rebuild assets, requested previews, and validation evidence before moving disposable render scratch. ## Bundled Resources - `assets/pptxgenjs_helpers/`: Copy this folder into the deck workspace and import it locally instead of reimplementing helper logic. - `scripts/render_slides.py`: Rasterize a `.pptx` or `.pdf` to per-slide PNGs. - `scripts/slides_test.py`: Detect content that overflows the slide canvas. - `scripts/create_montage.py`: Build a contact-sheet style montage of rendered slides. - `scripts/detect_font.py`: Report missing or substituted fonts as LibreOffice resolves them. - `scripts/ensure_raster_image.py`: Convert SVG/EMF/HEIC/PDF-like assets into PNGs for quick inspection. - `references/pptxgenjs-helpers.md`: Load only when you need API details or dependency notes. ## Workflow 1. Inspect the request and determine whether you are creating a new deck, recreating an existing deck, or editing one. 2. Set the slide size up front. Default to 16:9 (`LAYOUT_WIDE`) unless the source material clearly uses another aspect ratio. 3. Copy `assets/pptxgenjs_helpers/` into the working directory and import the helpers from there. 4. Build the deck in JavaScript with an explicit theme font, stable spacing, and editable PowerPoint-native elements when practical. 5. Run the bundled scripts from this skill directory or copy the needed ones into the task workspace. Render the result with `render_slides.py`, review the PNGs, and fix layout issues before delivery. 6. Run `slides_test.py` for overflow checks when slide edges are tight or the deck is dense. 7. Deliver the `.pptx`, the authoring `.js`, and any generated assets that are required to rebuild the deck. ## Authoring Rules - Set theme fonts explicitly. Do not rely on PowerPoint defaults if typography matters. - Use `autoFontSize`, `calcTextBox`, and related helpers to size text boxes; do not use PptxGenJS `fit` or `autoFit`. - Use bullet options, not literal `•` characters. - Use `imageSizingCrop` or `imageSizingContain` instead of PptxGenJS built-in image sizing. - Use `latexToSvgDataUri()` for equations and `codeToRuns()` for syntax-highlighted code blocks. - Prefer native PowerPoint charts for simple bar/line/pie/histogram style visuals so reviewers can edit them later. - For charts or diagrams that PptxGenJS cannot express well, render SVG externally and place the SVG in the slide. - Include both `warnIfSlideHasOverlaps(slide, pptx)` and `warnIfSlideElementsOutOfBounds(slide, pptx)` in the submitted JavaScript whenever you generate or substantially edit slides. - Fix all unintentional overlap and out-of-bounds warnings before delivering. If an overlap is intentional, leave a short code comment near the relevant element. ## Recreate Or Edit Existing Slides - Render the source deck or reference PDF first so you can compare slide geometry visually. - Match the original aspect ratio before rebuilding layout. - Preserve editability where possible: text should stay text, and simple charts should stay native charts. - If a reference slide uses raster artwork, use `ensure_raster_image.py` to generate debug PNGs from vector or odd image formats before placing them. ## Inspection-Only Requests Use inspection-only mode when the user asks to explain, summarize, translate, or review a specific slide without asking for edits. - Do not modify the deck. - If the deck is not named and multiple plausible `.pptx` files exist, inspect the most likely local candidates and say which one you used. Ask for clarification only when the choice remains materially ambiguous. - For a request such as "slide 17, explain the last sentence", extract the actual slide text from the `.pptx` package instead of relying on memory or filenames. - Report whether the requested slide number exists. If it does not, name the deck and slide count. - Keep the answer anchored to the exact sentence or phrase being explained, then explain it in the user's language. - Use `python-pptx` or direct OOXML/ZIP inspection only for read-only extraction. Do not use `python-pptx` to generate replacement decks. ## Validation Commands Examples below assume you copied the needed scripts into the working directory. If not, invoke the same script paths relative to this skill folder. ```bash # Render slides to PNGs for review python3 scripts/render_slides.py deck.pptx --output_dir rendered # Build a montage for quick scanning python3 scripts/create_montage.py --input_dir rendered --output_file montage.png # Check for overflow beyond the original slide canvas python3 scripts/slides_test.py deck.pptx # Detect missing or substituted fonts python3 scripts/detect_font.py deck.pptx --json ``` Load `references/pptxgenjs-helpers.md` if you need the helper API summary or dependency details.
Pliki w paczce (20)
- LICENSE.txt 11 KB
- SKILL.md 6 KB
- agents/openai.yaml 1 KB
- assets/slides-small.svg 2 KB
- assets/slides.png 2 KB
- assets/pptxgenjs_helpers/code.js 2 KB
- assets/pptxgenjs_helpers/image.js 9 KB
- assets/pptxgenjs_helpers/index.js 1 KB
- assets/pptxgenjs_helpers/latex.js 2 KB
- assets/pptxgenjs_helpers/layout.js 22 KB
- assets/pptxgenjs_helpers/layout_builders.js 11 KB
- assets/pptxgenjs_helpers/svg.js 1 KB
- assets/pptxgenjs_helpers/text.js 27 KB
- assets/pptxgenjs_helpers/util.js 1 KB
- references/pptxgenjs-helpers.md 3 KB
- scripts/create_montage.py 10 KB
- scripts/detect_font.py 34 KB
- scripts/ensure_raster_image.py 6 KB
- scripts/render_slides.py 9 KB
- scripts/slides_test.py 6 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ThalesGroup/agilab | 100 | BSD-3-Clause |
| decocms/studio | 100 | MIT |
| fcakyon/claude-codex-settings | 100 | Apache-2.0 |
| mohdkhatab/prime-ai-agent-skills | 100 | MIT |
| JuwonHwang/drive-project-forward | 100 | MIT |
| t0mtaylor/peepshow | 100 | MIT |
| marswaveai/skills | 100 | MIT |
| dwmkerr/claude-toolkit | 100 | MIT |
| majiayu000/spellbook | 96 | MIT |
Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.
Migawka bazy z 13.11.2026 · wersja paczki 4f079ad626a2 (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
- 100powerpoint
Tworzy edytowalne prezentacje .pptx z PptxGenJS: nowe decki, aktualizacje i inspekcja istniejących plików ze slajdami. - 90Presentations
Czyta, tworzy i edytuje prezentacje PowerPoint lub Google Slides, gdy użytkownik prosi o slajdy, deck albo plik PPTX. - 100pptx
Czyta, tworzy i edytuje prezentacje .pptx: buduje slajdy z konspektu, wyciąga tekst i notatki, edytuje kształty, tabele i wykresy, podmienia obrazy oraz eksportuje do PDF i obrazów. - 93pptx
Tworzy, edytuje i odczytuje prezentacje .pptx, a także renderuje je do PDF lub obrazów PNG do podglądu. - 100pptx-official
Generuje prezentacje PowerPoint w Node.js przez pptxgenjs, na przykład automatyczne decki, pitch decki i raporty .pptx z danych. - 90ppt-fast
Tworzy, edytuje, sprawdza i renderuje prezentacje: nowe decki w edytowalnym HTML, a na życzenie także plik PPTX.