Skip to content

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(charts): tighten Strategist/Executor visualization prompts and add read-audit

hugohe3b1496d75c445
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.md
index 0ce41464..3224bb09 100644
--- a/skills/ppt-master/references/executor-base.md
+++ b/skills/ppt-master/references/executor-base.md
@@ -172,11 +172,10 @@ ls skills/ppt-master/templates/icons/tabler-outline/ | grep chart
When the Design Spec includes a **VII. Visualization Reference List**, read the referenced SVG templates from `templates/charts/` before drawing pages that use those visualization types. The path remains `templates/charts/` for backward compatibility.
-🚧 **GATE — Mandatory read before first use**: When Executor encounters a visualization type listed in Section VII of the Design Spec for the first time, Executor **MUST** `read_file templates/charts/<chart_name>.svg` **before** generating that page. Extract the layout coordinates, card structure, spacing rhythm, and visual logic from the template as **creative reference and inspiration** — not as a strict copy. Then design the page independently using the project's own color scheme, typography, and content.
+**Reading is mandatory; copying is not.** On first use of any visualization type listed in section VII, read `templates/charts/<chart_name>.svg` before generating that page. Do not improvise from memory. Use the template as reference for layout, card structure, spacing, and visual logic — apply the project's color scheme, typography, and content; do not replicate verbatim.
-> **Workflow**: read template SVG → understand structure & spacing → design original SVG informed by the reference → do NOT replicate the template verbatim.
-> **Reuse**: Once a visualization type has been read and understood, there is no need to re-read for subsequent pages of the same type.
-> **Change**: Read the new template when the visualization type changes or the structure needs re-reference.
+> **Reuse**: no re-read for subsequent pages of the same type.
+> **Change**: re-read when the visualization type changes.
**Adaptation rules**:
- **Must preserve**: Visualization type (bar/line/pie/timeline/process/framework etc.) as specified in the Design Spec
@@ -184,7 +183,7 @@ When the Design Spec includes a **VII. Visualization Reference List**, read the
- **May adjust freely**: Visual composition, axis ranges, grid lines, legend position, spacing, decorative elements — creative freedom is encouraged as long as the chart remains accurate and readable
- **Must NOT**: Change visualization type without Design Spec justification, or omit data points / structural elements specified in the outline
-> Visualization templates: `templates/charts/` (57 types). Index: `templates/charts/charts_index.json`
+> Visualization templates: `templates/charts/` (70 types). Index: `templates/charts/charts_index.json`
---
diff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.md
index 9ab1e7e8..321ac53b 100644
--- a/skills/ppt-master/references/strategist.md
+++ b/skills/ppt-master/references/strategist.md
@@ -284,26 +284,27 @@ Core logic (side-by-side only): the container's aspect ratio must closely match
When content outline pages involve **data visualization or infographic-style structured information design** (comparisons, trends, proportions, KPIs, flows, timelines, org structures, strategic frameworks, etc.), Strategist should select appropriate visualization types from the built-in template library.
-> **Mandatory first step**: At the beginning of content planning, **read the full `templates/charts/charts_index.json`** file. This index contains all available visualization templates (57 types across 9 categories), including each template's `label`, `summary`, and `keywords`. Strategist must internalize the full catalog before making selections — do NOT rely on memory or partial lists.
-
-> **Selection workflow**:
-> 1. Read and internalize the complete `templates/charts/charts_index.json`
-> 2. For each page in the content outline, determine whether it needs visualization based on its information structure
-> 3. Match page content against the `summary` / `keywords` fields across all 57 templates to find the best fit
-> 4. Use `quickLookup` as a secondary cross-reference when multiple candidates seem suitable
-> 5. List all selected visualizations in Design Spec **section VII (Visualization Reference List)** as a centralized reference; in section IX Content Outline, each page only needs to note the visualization type name
+> **Reading is mandatory; using is per-page judgment.**
+> - Fully read `templates/charts/charts_index.json` before content planning. Each `summary` is a selection rule (`"Pick for … Skip if …"`), not a description.
+> - Not every page needs a chart. But when a page's information structure matches a catalog entry, design with that template as reference — do not improvise.
>
-> **Rules**:
-> - Strategist is responsible for **semantic selection** (which type fits the content), not detailed SVG styling
-> - One page may use at most one primary visualization type; complex pages may combine a chart with a supporting layout
-> - Prefer specificity: if `vertical_list` fits better than generic `numbered_steps`, choose the more specific template
-> - **Fallback when no template clearly fits**:
-> 1. First re-check: scan `categories` groups (not just keywords) and `quickLookup` — many chart concepts live under non-obvious category labels (e.g. "causal chain" is under `process` as `process_flow` / `sankey_chart`)
-> 2. If still no fit, pick by content nature:
-> - **Data-driven content** (numbers, comparisons, proportions): fall back to a table layout — never force a near-miss chart that misrepresents the data
-> - **Conceptual / illustrative content** (metaphor, scene, emotion): note "AI-generated image" and let Image_Generator handle it
-> - **Structural content** (hierarchy, flow, grouping) without a matching template: note "custom layout"
-> 3. In Design Spec section VII, explicitly mark the page as `no-template-match` and state which fallback was chosen and why — do NOT silently substitute a close-but-wrong chart
+> **Workflow**:
+> 1. Match each page against `summary` / `keywords` across all entries; use `quickLookup` for cross-check.
+> 2. Prefer specificity (`vertical_list` over generic `numbered_steps`).
+> 3. One primary visualization per page; a supporting layout may accompany it.
+> 4. List selections in Design Spec section VII; section IX only notes the visualization type name per page.
+>
+> **Read-audit (mandatory, written at the top of section VII)**:
+> ```
+> Catalog read: <N> templates / <M> categories
+> Runners-up considered: <key_A> (rejected: <reason>), <key_B> (rejected: <reason>), <key_C> (rejected: <reason>)
+> ```
+> Runners-up must be templates that were genuinely the second-best match for some page in this deck. If fewer than 3 visualization pages exist, list what exists and note "fewer than 3 viz pages".
+>
+> **Fallback when no template fits**:
+> 1. Re-scan `categories` and `quickLookup` — concepts often live under non-obvious labels (e.g. "causal chain" → `process_flow` / `sankey_chart` under `process`).
+> 2. If still no fit: data-driven content → table layout; conceptual/illustrative → "AI-generated image" (Image_Generator handles); structural → "custom layout".
+> 3. Mark the page `no-template-match` in section VII with the fallback chosen and why. Do NOT silently substitute a close-but-wrong chart.
### Speaker Notes Requirements (Default — no discussion needed)
diff --git a/skills/ppt-master/templates/design_spec_reference.md b/skills/ppt-master/templates/design_spec_reference.md
index 17e72c97..5e9b6671 100644
--- a/skills/ppt-master/templates/design_spec_reference.md
+++ b/skills/ppt-master/templates/design_spec_reference.md
@@ -215,6 +215,15 @@ Two views on the same font decisions — fill both, keep them consistent:
> When the presentation includes data visualization or infographic-style structured information design, Strategist selects visualization types from `templates/charts/charts_index.json` and lists them here for the Executor to reference. The path remains under `templates/charts/` for backward compatibility.
+**Read-audit** (mandatory):
+
+```
+Catalog read: <N> templates / <M> categories
+Runners-up considered: <key_A> (rejected: <reason>), <key_B> (rejected: <reason>), <key_C> (rejected: <reason>)
+```
+
+Runners-up must be templates that were genuinely the second-best match for a page in this deck. If fewer than 3 visualization pages exist, list what exists and note "fewer than 3 viz pages".
+
| Visualization Type | Reference Template | Used In |
| ------------------ | ------------------ | ------- |
| [e.g. grouped_bar_chart] | `templates/charts/grouped_bar_chart.svg` | Slide 05 |