AI turns documents or topics into real, native PowerPoint decks—with native shapes, transitions and animations, data-backed charts and tables on demand, audio narration from speaker notes, and support for your own .pptx templates. · by Hugo He
docs(icons): clarify icon library distinction and enforce single-library rule
hugohe370e4df3a2b98
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex ff75d5a3..ee0f1b37 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -71,55 +71,63 @@ Four approaches: **A: Emoji** (`<text>🚀</text>`) | **B: AI-generated** (SVG b**Built-in icons — Placeholder method (recommended)**:```xml-<!-- tabler-filled library (fill, 24px) -->+<!-- chunk (default — straight-line geometry, sharp corners, structured) -->+<use data-icon="chunk/home" x="100" y="200" width="48" height="48" fill="#005587"/>++<!-- tabler-filled (bezier-curve forms, smooth & rounded contours) --><use data-icon="tabler-filled/home" x="100" y="200" width="48" height="48" fill="#005587"/>-<!-- tabler-outline library (stroke, 24px) -->++<!-- tabler-outline (light, line-art style — screen-only decks) --><use data-icon="tabler-outline/home" x="100" y="200" width="48" height="48" fill="#005587"/>```> No need to manually run `embed_icons.py`; `finalize_svg.py` post-processing tool will auto-embed icons.-**Two icon libraries**:+**Three icon libraries**:| Library | Style | Count | Prefix | When to use ||---------|-------|-------|--------|-------------|-| `tabler-filled` | fill/solid | 1000+ | `tabler-filled/` | ✅ **Default** — projection / presentation / most scenarios |+| `chunk` | fill · straight-line geometry (sharp corners, rectilinear) | 640 | `chunk/` | ✅ **Default** — most scenarios |+| `tabler-filled` | fill · bezier-curve forms (smooth, rounded contours) | 1000+ | `tabler-filled/` | When design calls for smooth, rounded, organic icon forms || `tabler-outline` | stroke/line | 5000+ | `tabler-outline/` | Screen-only decks needing a light, elegant aesthetic |+> ⚠️ **One presentation = one library.** Never mix icons from different libraries. If the chosen library lacks an exact icon, find the closest available alternative **within that same library** — do not cross into another library to fill the gap.+**Searching for icons** — use terminal, zero token cost:```bash+ls skills/ppt-master/templates/icons/chunk/ | grep homels skills/ppt-master/templates/icons/tabler-filled/ | grep homels skills/ppt-master/templates/icons/tabler-outline/ | grep chart```-**Abstract concept → icon name** (icon names are identical across both libraries; add the library prefix when using):--| Concept | Icon Name |-|---------|-----------|-| Growth / Increase | `arrow-trend-up` |-| Decline / Decrease | `arrow-trend-down` |-| Success / Complete | `circle-check` |-| Warning / Risk | `alert-triangle` |-| Innovation / Idea | `bulb` |-| Strategy / Goal | `target` |-| Efficiency / Speed | `bolt` |-| Collaboration / Team | `users` |-| Settings / Config | `settings` |-| Security / Trust | `shield` |-| Money / Finance | `currency-dollar` |-| Time / Deadline | `clock` |-| Location / Region | `map-pin` |-| Communication | `message` |-| Analysis / Data | `chart-bar` |-| Process / Flow | `refresh` |-| Global / World | `world` |-| Excellence / Award | `star` |-| Expand / Scale | `maximize` |-| Problem / Issue | `bug` |--> For self-evident names (home, user, file, search, arrow, etc.) — just `grep` directly without consulting the table.--> ⚠️ **Icon validation rule**: If the Design Specification includes an icon inventory list, Executor may **only** use icons from that approved list. Before using any icon, verify it exists via `ls | grep` search. **Mixing fill and outline icons in the same presentation is FORBIDDEN** — use only the style specified in the Design Spec.+**Abstract concept → icon name** (names for `chunk`; tabler libraries use their own equivalents — verify with `ls | grep`):++| Concept | chunk | tabler-filled / tabler-outline |+|---------|-------|-------------------------------|+| Growth / Increase | `arrow-trend-up` | same |+| Decline / Decrease | `arrow-trend-down` | same |+| Success / Complete | `circle-checkmark` | `circle-check` |+| Warning / Risk | `triangle-exclamation` | `alert-triangle` |+| Innovation / Idea | `lightbulb` | `bulb` |+| Strategy / Goal | `target` | same |+| Efficiency / Speed | `bolt` | same |+| Collaboration / Team | `users` | same |+| Settings / Config | `cog` | `settings` |+| Security / Trust | `shield` | same |+| Money / Finance | `dollar` | `currency-dollar` |+| Time / Deadline | `clock` | same |+| Location / Region | `map-pin` | same |+| Communication | `comment` | `message` |+| Analysis / Data | `chart-bar` | same |+| Process / Flow | `arrows-rotate-clockwise` | `refresh` |+| Global / World | `globe` | `world` |+| Excellence / Award | `star` | same |+| Expand / Scale | `maximize` | same |+| Problem / Issue | `bug` | same |++> For self-evident names (home, user, file, search, arrow, etc.) — just `grep chunk/` directly without consulting the table.++> ⚠️ **Icon validation rule**: If the Design Specification includes an icon inventory list, Executor may **only** use icons from that approved list. Before using any icon, verify it exists via `ls | grep` search. **Mixing icons from different libraries in the same presentation is FORBIDDEN** — use only the library specified in the Design Spec.---diff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.mdindex 95152008..f608ad9f 100644--- a/skills/ppt-master/references/shared-standards.md+++ b/skills/ppt-master/references/shared-standards.md@@ -76,7 +76,7 @@ The following features are **absolutely forbidden** when generating SVGs — PPT- **Styles**: Use inline styles only (`fill="..."` `font-size="..."`); `<style>` / `class` are FORBIDDEN (`id` inside `<defs>` is legitimate)- **Colors**: Use HEX values; for transparency use `fill-opacity` / `stroke-opacity`- **Image references**: `<image href="../images/xxx.png" preserveAspectRatio="xMidYMid slice"/>`-- **Icon placeholders**: `<use data-icon="tabler-filled/name" x="" y="" width="48" height="48" fill="#HEX"/>` or `<use data-icon="tabler-outline/name" .../>` (auto-embedded during post-processing). Always include the library prefix.+- **Icon placeholders**: `<use data-icon="chunk/name" x="" y="" width="48" height="48" fill="#HEX"/>` (default library); or `tabler-filled/name` / `tabler-outline/name` when that library is chosen for the deck. (auto-embedded during post-processing). Always include the library prefix. **One presentation = one library — never mix libraries.**### Element Grouping (Mandatory)diff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.mdindex b9c33379..336c5154 100644--- a/skills/ppt-master/references/strategist.md+++ b/skills/ppt-master/references/strategist.md@@ -104,22 +104,25 @@ Proactively provide a color scheme (HEX values) based on content characteristics| **C** | Built-in icon library | Professional scenarios (recommended) || **D** | Custom icons | Has brand assets |-Built-in library contains 6000+ icons across two libraries:+Built-in library contains 7000+ icons across three libraries:| Library | Style | Count | Prefix | When to use ||---------|-------|-------|--------|-------------|-| `tabler-filled` | fill/solid | 1000+ | `tabler-filled/` | ✅ **Default** — projection / presentation / most scenarios |+| `chunk` | fill · straight-line geometry (sharp corners, rectilinear) | 640 | `chunk/` | ✅ **Default** — most scenarios |+| `tabler-filled` | fill · bezier-curve forms (smooth, rounded contours) | 1000+ | `tabler-filled/` | When design calls for smooth, rounded, organic icon forms || `tabler-outline` | stroke/line | 5000+ | `tabler-outline/` | Screen-only decks needing a light, elegant aesthetic |> **Mandatory rules when choosing C**:-> 1. **Lock icon style first** — default to `tabler-filled`; only switch to `tabler-outline` when the design explicitly calls for a light, line-art style and the deck will be viewed on-screen (not projected):-> - **Fill/Solid style** (default): use `tabler-filled`+> 1. **Lock icon library first** — default to `chunk`; switch to `tabler-filled` only when the design calls for smooth, rounded, organic icon forms; use `tabler-outline` only for screen-only light aesthetic decks:+> - **Sharp, rectilinear geometry** (default): use `chunk` — all paths use straight-line commands only (M/L/H/V/Z)+> - **Smooth, rounded forms**: use `tabler-filled` — all contours built with bezier curves and arcs (C/A)> - **Outline/Stroke style** (screen-only, light aesthetic): use `tabler-outline`-> - ⚠️ Mixing fill and outline icons in the same presentation is FORBIDDEN-> 2. Search for icon availability: `ls skills/ppt-master/templates/icons/<library>/ | grep <keyword>`+> - **Outline/Stroke style** (screen-only, light aesthetic): use `tabler-outline`+> - ⚠️ **One presentation = one library.** Mixing icons from different libraries is FORBIDDEN. If a chosen library lacks an exact icon, find the closest alternative **within that same library**.+> 2. Search for icon availability: `ls skills/ppt-master/templates/icons/<chosen-library>/ | grep <keyword>`> 3. Use the verified filename (without `.svg`) as the icon name-> 4. Always include the library prefix (e.g., `tabler-filled/home` or `tabler-outline/home`)-> 5. List the final icon inventory and chosen style in the Design Spec; Executor may only use icons from this list+> 4. Always include the library prefix (e.g., `chunk/home` or `tabler-filled/home`)+> 5. List the final icon inventory and chosen library in the Design Spec; Executor may only use icons from this list>> **Do NOT preload any index file** — use `ls | grep` to search on demand with zero token cost.diff --git a/skills/ppt-master/scripts/docs/svg-pipeline.md b/skills/ppt-master/scripts/docs/svg-pipeline.mdindex 6eb56690..cca86c65 100644--- a/skills/ppt-master/scripts/docs/svg-pipeline.md+++ b/skills/ppt-master/scripts/docs/svg-pipeline.md@@ -143,7 +143,7 @@ python3 scripts/svg_finalize/embed_icons.py svg_output/*.svgpython3 scripts/svg_finalize/embed_icons.py --dry-run svg_output/*.svg```-Replaces `<use data-icon="tabler-filled/name" .../>` and `<use data-icon="tabler-outline/name" .../>` placeholders with actual SVG path elements. Use for manual icon embedding checks outside `finalize_svg.py`.+Replaces `<use data-icon="chunk/name" .../>`, `<use data-icon="tabler-filled/name" .../>` and `<use data-icon="tabler-outline/name" .../>` placeholders with actual SVG path elements. Use for manual icon embedding checks outside `finalize_svg.py`.## PPT Compatibility Rulesdiff --git a/skills/ppt-master/templates/icons/README.md b/skills/ppt-master/templates/icons/README.mdindex 3db0f70c..68ca3e13 100644--- a/skills/ppt-master/templates/icons/README.md+++ b/skills/ppt-master/templates/icons/README.md@@ -1,16 +1,15 @@# SVG Icon Library-This directory provides **6000+ high-quality SVG icons** from [Tabler Icons](https://tabler.io/icons) that can be directly embedded into SVG files generated by PPT Master.+This directory provides **7000+ high-quality SVG icons** across three libraries that can be directly embedded into SVG files generated by PPT Master.## Libraries| Library | Style | Count | viewBox | Prefix ||---------|-------|-------|---------|--------|-| `tabler-filled` | fill / solid | 1000+ | `0 0 24 24` | `tabler-filled/` |+| `chunk` | fill · straight-line geometry (sharp corners, rectilinear) | 640 | `0 0 16 16` | `chunk/` |+| `tabler-filled` | fill · bezier-curve forms (smooth, rounded contours) | 1000+ | `0 0 24 24` | `tabler-filled/` || `tabler-outline` | stroke / line | 5000+ | `0 0 24 24` | `tabler-outline/` |-> `chunk/` exists only for backward compatibility with older projects. Do **not** use it in new work.----## Usage@@ -18,17 +17,20 @@ This directory provides **6000+ high-quality SVG icons** from [Tabler Icons](httUse placeholder syntax **during SVG generation**:```xml-<!-- tabler-filled (solid style) -->+<!-- chunk (default — solid, geometric, minimal) -->+<use data-icon="chunk/home" x="100" y="200" width="48" height="48" fill="#0076A8"/>++<!-- tabler-filled (fallback when chunk doesn't have the icon) --><use data-icon="tabler-filled/home" x="100" y="200" width="48" height="48" fill="#0076A8"/>-<!-- tabler-outline (line style) -->+<!-- tabler-outline (light, line-art style — screen-only decks) --><use data-icon="tabler-outline/home" x="100" y="200" width="48" height="48" fill="#0076A8"/>```**Attributes**:- `data-icon` — `<library>/<icon-name>` (filename without `.svg`)- `x`, `y` — Position-- `width`, `height` — Size (base 24px; `width=48` → `scale(2)`)+- `width`, `height` — Size (recommend 32–48px for legibility)- `fill` — Color`finalize_svg.py` auto-embeds all placeholders during post-processing. To run manually:@@ -44,6 +46,7 @@ python3 scripts/svg_finalize/embed_icons.py svg_output/*.svgUse `ls | grep` — zero token cost:```bash+ls skills/ppt-master/templates/icons/chunk/ | grep homels skills/ppt-master/templates/icons/tabler-filled/ | grep homels skills/ppt-master/templates/icons/tabler-outline/ | grep chart```@@ -52,13 +55,16 @@ ls skills/ppt-master/templates/icons/tabler-outline/ | grep chart## Style Rules-**Default: use `tabler-filled`** — PPT is a projection medium (bright rooms, projector washes out contrast, audience sits 3–10 m away). Solid filled icons remain clearly legible under these conditions.+**Default: use `chunk`** — all paths built from straight-line commands only (M/L/H/V/Z), producing sharp, precise angles; structured and highly legible at any scale.++**`tabler-filled`** uses bezier curves and arcs (C/A commands) throughout, giving every contour a smooth, rounded, organic quality — warmer and softer in tone.-Use `tabler-outline` only when the design explicitly calls for a light, minimal, line-art style — and only when the presentation will be viewed on-screen at close range rather than projected.+**One presentation = one library.** Pick a library at the start and use it exclusively throughout. If the chosen library doesn't have an exact icon, find the closest available alternative within that same library — never cross libraries to fill a gap.| Library | When to use ||---------|-------------|-| `tabler-filled` ✅ **(default)** | Projection / presentation / most scenarios |+| `chunk` ✅ **(default)** | Most scenarios — sharp geometry, structured, highly legible |+| `tabler-filled` | When design calls for smooth, rounded, organic icon forms || `tabler-outline` | Screen-only decks needing a light, elegant aesthetic |-⚠️ Do **not** mix fill and outline icons in the same presentation — pick one style and use it consistently throughout.+⚠️ Do **not** mix icons from different libraries in the same presentation — pick one and use it consistently throughout.