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: optimize shared-standards.md loading and document advanced SVG effects
hugohe3301b5795d06e
diff --git a/skills/ppt-master/SKILL.md b/skills/ppt-master/SKILL.mdindex 5b3a8131..0fc2e45d 100644--- a/skills/ppt-master/SKILL.md+++ b/skills/ppt-master/SKILL.md@@ -159,10 +159,9 @@ After the user confirms option B, proceed directly to Step 4.🚧 **GATE**: Step 3 complete; user has confirmed template selection.-First, read the role definitions:+First, read the role definition:```Read references/strategist.md-Read references/shared-standards.md```**Must complete the Eight Confirmations** (refer to `templates/design_spec_reference.md` for the template structure):diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex 696af658..f17b9ea7 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -51,6 +51,7 @@ Must output confirmation including: canvas dimensions, body font size, color sch1. **Visual Construction Phase**: Generate all SVG pages continuously in sequential page order, ensuring high consistency in design style and layout coordinates (Visual Consistency)2. **Logic Construction Phase**: After all SVGs are finalized, batch-generate speaker notes to ensure narrative coherence (Narrative Continuity)- **Technical specifications**: See [shared-standards.md](shared-standards.md) for SVG technical constraints and PPT compatibility rules+- **Visual depth**: Use filter shadows, glow effects, gradient fills, dashed strokes, and gradient overlays from shared-standards.md to create layered depth — flat pages without elevation or emphasis look unfinished### SVG File Naming Conventiondiff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.mdindex 2bfd9fca..159526f3 100644--- a/skills/ppt-master/references/shared-standards.md+++ b/skills/ppt-master/references/shared-standards.md@@ -273,7 +273,26 @@ Best for: slides needing strong visual brand identity.----## 7. Stroke & Text Decoration+## 7. Stroke, Text & Shape Effects++### stroke-dasharray — Dashed / Dotted Lines++Converts to native PPTX `<a:prstDash>`. Use preset patterns for best results:++| SVG Value | PPTX Preset | Best For |+|-----------|-------------|----------|+| `4,4` | Dash | General dashed lines, separators |+| `2,2` | Dot (sysDot) | Subtle dotted borders, placeholder outlines |+| `8,4` | Long dash | Timeline connectors, flow arrows |+| `8,4,2,4` | Long dash-dot | Technical drawings, dimension lines |++```xml+<rect x="60" y="60" width="400" height="240" rx="12"+ fill="none" stroke="#999999" stroke-width="2" stroke-dasharray="4,4"/>++<line x1="100" y1="360" x2="1180" y2="360"+ stroke="#CCCCCC" stroke-width="1" stroke-dasharray="2,2"/>+```### stroke-linejoin@@ -308,6 +327,50 @@ Supported text decorations convert to native PPTX text formatting:</text>```+### Gradient Fill — linearGradient & radialGradient++Gradients defined in `<defs>` and referenced via `fill="url(#id)"` convert to native PPTX `<a:gradFill>`. Use them as shape fills (not just overlays) for polished surfaces.++**Linear gradient** — best for buttons, header bars, background panels:++```xml+<defs>+ <linearGradient id="btnGrad" x1="0" y1="0" x2="1" y2="0">+ <stop offset="0%" stop-color="#1A73E8"/>+ <stop offset="100%" stop-color="#0D47A1"/>+ </linearGradient>+</defs>+<rect x="540" y="600" width="200" height="48" rx="24" fill="url(#btnGrad)"/>+```++**Radial gradient** — best for spotlight backgrounds, circular accents:++```xml+<defs>+ <radialGradient id="spotBg" cx="50%" cy="50%" r="70%">+ <stop offset="0%" stop-color="#1A73E8" stop-opacity="0.15"/>+ <stop offset="100%" stop-color="#1A73E8" stop-opacity="0"/>+ </radialGradient>+</defs>+<circle cx="640" cy="360" r="300" fill="url(#spotBg)"/>+```++### transform: rotate — Element Rotation++Rotation converts to native PPTX `<a:xfrm rot="...">`. Supported on shapes, paths, and text.++```xml+<!-- Rotated decorative element -->+<rect x="100" y="100" width="60" height="60" fill="#1A73E8" fill-opacity="0.1"+ transform="rotate(45, 130, 130)"/>++<!-- Rotated text label -->+<text x="50" y="400" font-size="14" fill="#999999"+ transform="rotate(-90, 50, 400)">Y-Axis Label</text>+```++**Syntax**: `rotate(angle)` or `rotate(angle, cx, cy)` where `cx,cy` is the rotation center. Positive angles rotate clockwise.+---## 8. Project Directory Structurediff --git a/skills/ppt-master/references/strategist.md b/skills/ppt-master/references/strategist.mdindex 7691cce8..2f198aa2 100644--- a/skills/ppt-master/references/strategist.md+++ b/skills/ppt-master/references/strategist.md@@ -10,7 +10,33 @@ As a top-tier AI presentation strategist, receive source documents, perform cont|--------------|---------|-----------|| Project creation + Template option confirmed | **Strategist**: Eight Confirmations + Design Spec | Image_Generator or Executor |-> See shared-standards.md for SVG technical constraints, PPT compatibility rules, canvas format table, and post-processing commands.+---++## Canvas Format Quick Reference++### Presentations++| Format | viewBox | Dimensions | Ratio |+|--------|---------|------------|-------|+| PPT 16:9 | `0 0 1280 720` | 1280x720 | 16:9 |+| PPT 4:3 | `0 0 1024 768` | 1024x768 | 4:3 |++### Social Media++| Format | viewBox | Dimensions | Ratio |+|--------|---------|------------|-------|+| Xiaohongshu (RED) | `0 0 1242 1660` | 1242x1660 | 3:4 |+| WeChat Moments / Instagram Post | `0 0 1080 1080` | 1080x1080 | 1:1 |+| Story / TikTok Vertical | `0 0 1080 1920` | 1080x1920 | 9:16 |++### Marketing Materials++| Format | viewBox | Dimensions | Ratio |+|--------|---------|------------|-------|+| WeChat Article Header | `0 0 900 383` | 900x383 | 2.35:1 |+| Landscape Banner | `0 0 1920 1080` | 1920x1080 | 16:9 |+| Portrait Poster | `0 0 1080 1920` | 1080x1920 | 9:16 |+| A4 Print (150dpi) | `0 0 1240 1754` | 1240x1754 | 1:1.414 |---@@ -22,7 +48,7 @@ As a top-tier AI presentation strategist, receive source documents, perform cont### a. Canvas Format Confirmation-Recommend format based on scenario (see canvas format quick reference in shared-standards.md).+Recommend format based on scenario (see Canvas Format Quick Reference above).### b. Page Count Confirmation