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
refactor: remove design-guidelines.md and redistribute content
hugohe35480d1d79c62
diff --git a/README.md b/README.mdindex 69a3fdeb..f5d3afee 100644--- a/README.md+++ b/README.md@@ -84,7 +84,6 @@ If optimized: re-run post-processing and export|----------|-------------|| 🧭 [AGENTS.md](./AGENTS.md) | Repository-level entry overview for general AI agents || 📖 [SKILL.md](./skills/ppt-master/SKILL.md) | Canonical `ppt-master` workflow and rules |-| 🎨 [Design Guidelines](./skills/ppt-master/references/design-guidelines.md) | Colors, typography, and layout specifications || 📐 [Canvas Formats](./skills/ppt-master/references/canvas-formats.md) | PPT, Xiaohongshu (RED), WeChat Moments, and 10+ formats || 🖼️ [Image Embedding Guide](./skills/ppt-master/references/svg-image-embedding.md) | SVG image embedding best practices || 📊 [Chart Template Library](./skills/ppt-master/templates/charts/) | Standardized chart templates |diff --git a/README_CN.md b/README_CN.mdindex a28218e9..15524805 100644--- a/README_CN.md+++ b/README_CN.md@@ -84,7 +84,6 @@|------|------|| 🧭 [AGENTS.md](./AGENTS.md) | 仓库级入口概览(适用于通用 AI 代理) || 📖 [SKILL.md](./skills/ppt-master/SKILL.md) | `ppt-master` 核心流程与规则源 |-| 🎨 [设计指南](./skills/ppt-master/references/design-guidelines.md) | 配色、排版、布局规范详解 || 📐 [画布格式](./skills/ppt-master/references/canvas-formats.md) | PPT、小红书、朋友圈等 10+ 种格式 || 🖼️ [图片嵌入指南](./skills/ppt-master/references/svg-image-embedding.md) | SVG 图片嵌入最佳实践 || 📊 [图表模板库](./skills/ppt-master/templates/charts/) | 13 种标准化图表模板 |diff --git a/skills/ppt-master/SKILL.md b/skills/ppt-master/SKILL.mdindex addc5f46..a2274f5b 100644--- a/skills/ppt-master/SKILL.md+++ b/skills/ppt-master/SKILL.md@@ -308,7 +308,6 @@ Before switching roles, you **MUST first read** the corresponding reference file|----------|------|| Shared technical constraints | `references/shared-standards.md` || Canvas format specification | `references/canvas-formats.md` |-| Design guidelines | `references/design-guidelines.md` || Image layout specification | `references/image-layout-spec.md` || SVG image embedding | `references/svg-image-embedding.md` |diff --git a/skills/ppt-master/references/design-guidelines.md b/skills/ppt-master/references/design-guidelines.mddeleted file mode 100644index bd50bbc8..00000000--- a/skills/ppt-master/references/design-guidelines.md+++ /dev/null@@ -1,511 +0,0 @@-> See shared-standards.md for common technical constraints.--# Design Guidelines--Detailed design guidelines and best practices for the PPT Master system.-------## Color System--### Primary Color Selection--#### Consulting Style--```-Deloitte Blue: #0076A8 - Professional, reliable-McKinsey Blue: #005587 - Authoritative, deep-BCG Dark Blue: #003F6C - Stable, trustworthy-PwC Orange: #D04A02 - Energetic, innovative-EY Yellow: #FFE600 - Optimistic, clear-```--#### General Versatile Style--```-Tech Blue: #2196F3 - Modern, innovative-Vibrant Orange: #FF9800 - Passionate, positive-Growth Green: #4CAF50 - Healthy, growth-Professional Purple: #9C27B0 - Creative, premium-Alert Red: #F44336 - Urgent, important-```--### Secondary Colors--#### Data Visualization Colors--```-Positive trend (green):- Dark: #2E7D32 | Medium: #4CAF50 | Light: #81C784--Warning trend (yellow):- Dark: #F57C00 | Medium: #FFA726 | Light: #FFD54F--Negative trend (red):- Dark: #C62828 | Medium: #EF5350 | Light: #E57373-```--#### Neutral Colors--```-Text hierarchy:- Primary text: #212121 (black, 87% opacity)- Secondary text: #757575 (gray, 60% opacity)- Tertiary text: #9E9E9E (light gray, 38% opacity)--Background hierarchy:- Primary bg: #FFFFFF- Secondary bg: #F5F5F5- Card bg: #FAFAFA- Border: #E0E0E0-```--### Contrast Requirements--Following WCAG 2.1 AA standards:-- Body text: at least 4.5:1-- Large text (24px+): at least 3:1-- Important data: at least 7:1 (AAA level)-------## Typography Specification--### Font Hierarchy--> Use body font size as 1x baseline; derive other levels proportionally. Font size selection depends on content density, not design style.--#### Relaxed Content (body baseline 24px)--Suitable for: Keynote-style PPTs, training materials, few points per page (3-5)--```-H1 - Cover title: 60-72px, Bold (2.5-3x)-H2 - Page title: 42-48px, Bold (1.75-2x)-H3 - Section title: 32-36px, SemiBold (1.3-1.5x)-Body - Main content: 24px, Regular (1x baseline)-Small - Annotations: 18-20px, Regular (0.75-0.85x)-```--#### Dense Content (body baseline 18px)--Suitable for: Data reports, consulting analysis, many points per page (6+)--```-H1 - Cover title: 45-54px, Bold (2.5-3x)-H2 - Page title: 27-36px, Bold (1.5-2x)-H3 - Section title: 22-27px, SemiBold (1.2-1.5x)-Body - Main content: 18px, Regular (1x baseline)-Small - Annotations: 14-15px, Regular (0.75-0.85x)-```--### Font Selection--#### Chinese Fonts--| Category | Code | Options | Suitable Scenarios |-|----------|:----:|---------|-------------------|-| Sans-serif | A | Microsoft YaHei, SimHei, YouYuan, STXihei | Modern business, body text (default) |-| Serif | B | SimSun, NSimSun, FangSong, STSong | Government docs, formal reports |-| Calligraphic | C | KaiTi, STKaiti, STXingkai | Culture, arts, humanities |-| Display | D | SimHei, STZhongsong, Source Han Sans Bold | Large titles, emphasis |-| Handwritten | E | STXingkai, STXinwei, LiSu | Creative, personalized |--#### English Fonts--| Category | Code | Options | Suitable Scenarios |-|----------|:----:|---------|-------------------|-| Sans-serif modern | F | Arial, Calibri, Segoe UI, Helvetica | Modern business (default) |-| Serif classic | G | Times New Roman, Georgia, Cambria | Formal documents, academic |-| Display | H | Impact, Arial Black, Bebas Neue | Large titles, posters |-| Handwritten | I | Comic Sans MS, Segoe Script, Ink Free | Casual, playful |-| Monospace | J | Consolas, Cascadia Code, Courier New | Data, code |--#### Recommended font-family--```css-/* Chinese fonts */-"Microsoft YaHei", sans-serif /* A: Microsoft YaHei */-"SimHei", sans-serif /* A/D: SimHei */-"SimSun", serif /* B: SimSun */-"FangSong", serif /* B: FangSong */-"KaiTi", serif /* C: KaiTi */-"STXingkai", cursive /* C/E: STXingkai */--/* English fonts */-"Arial", sans-serif /* F: Arial */-"Calibri", sans-serif /* F: Calibri */-"Times New Roman", serif /* G: Times */-"Georgia", serif /* G: Georgia */-"Impact", sans-serif /* H: Impact */-"Consolas", monospace /* J: Monospace */-```--#### Chinese-English Mixed Typesetting Recommendations--| Scenario | Chinese Font | English Font |-|----------|-------------|-------------|-| Modern business | Microsoft YaHei (A) | Calibri / Arial (F) |-| Government docs | SimSun (B) | Times New Roman (G) |-| Culture & arts | KaiTi (C) | Georgia (G) |-| Tech / Internet | SimHei (D) | Segoe UI (F) |--#### Font Roles--| Role | Purpose | Chinese Recommended | English Recommended |-|------|---------|--------------------|--------------------|-| Title font | H1/H2 large titles | A/C/D/E | F/G/H |-| Body font | Paragraphs, bullet points | A/B | F/G |-| Emphasis font | KPIs, keywords | D | H/J |-| Annotation font | Footnotes, captions | A/B | F/G |--### Line Height and Spacing--```-Title line height: 1.2-1.3-Body line height: 1.5-1.6-Paragraph spacing: 1.5-2em-List spacing: 0.5-1em-```--### Text Wrapping & Flattening--- Generation phase: Use `<tspan>` for manual line breaks, control line start and spacing via `x`/`dy`-- Post-processing: Use `python3 scripts/finalize_svg.py <project_path>`, includes text flattening-- Verification: Compare `svg_output` with `svg_final`; check line order, styles, and positioning match; target files should not contain residual `<tspan>`-------## Layout Principles--### 16:9 Canvas Specification--```-Canvas size: 1280x720px-Safe area: 1200x640px (40px margins)-Title area: 1200x100px-Content area: 1200x500px-Footer area: 1200x40px-```--### Grid System--#### Single Column Layout-```-Suitable for: Covers, ending pages, single topics-Content width: 800-1000px, horizontally centered-```--#### Two-Column Layout-```-Suitable for: Comparative analysis, left-image right-text-Column ratio: 1:1 or 3:2, column gap: 40-60px-```--#### Three-Column Layout-```-Suitable for: Parallel points, process steps-Column ratio: 1:1:1, column gap: 30-40px-```--#### Four-Quadrant Layout-```-Suitable for: Matrix analysis, classification display-Quadrant size: 560x250px (including gap), gap: 20-30px-```--### Card Design--#### Dimension Specifications (Mandatory)--```-Single-row card: height 530-600px-Double-row card: each row 265-295px-Three-column card: each column width 360-380px-```--#### Internal Padding--```-Title area: 20-30px-Content area: 30-40px-Chart area: 20-30px-```--#### Border Radius--```-Small cards: 8-12px-Large cards: 12-16px-Charts: 8px-Buttons: 6-8px-```-------## Shadow & Overlay Techniques (阴影与遮罩技法)--### Shadow (阴影)--#### 1. Filter Soft Shadow — Recommended--Best for: cards, floating panels, elevated elements.--`svg_to_shapes.py` automatically converts `feGaussianBlur` + `feOffset` into native PPTX `<a:outerShdw>`, so this is both visually superior and fully compatible.--```xml-<defs>- <filter id="softShadow" x="-15%" y="-15%" width="140%" height="140%">- <feGaussianBlur in="SourceAlpha" stdDeviation="8"/>- <feOffset dx="0" dy="4" result="offsetBlur"/>- <feFlood flood-color="#000000" flood-opacity="0.08" result="shadowColor"/>- <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>- <feMerge>- <feMergeNode in="shadow"/>- <feMergeNode in="SourceGraphic"/>- </feMerge>- </filter>-</defs>-<rect x="60" y="60" width="400" height="240" rx="12" fill="#FFFFFF" filter="url(#softShadow)"/>-```--Recommended parameters:-```-stdDeviation: 6–10 (smaller = crisper, larger = softer)-flood-opacity: 0.06–0.12 (keep low for a premium feel)-dy: 3–6 (vertical > horizontal for natural top-light)-dx: 0–2-```--#### 2. Colored Shadow--Best for: accent buttons, brand-colored cards. Using the element's own color family instead of black avoids the muddy look of generic gray shadows.--```xml-<filter id="colorShadow" x="-15%" y="-15%" width="140%" height="140%">- <feGaussianBlur in="SourceAlpha" stdDeviation="10"/>- <feOffset dx="0" dy="6" result="offsetBlur"/>- <feFlood flood-color="#1A73E8" flood-opacity="0.20" result="shadowColor"/>- <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>- <feMerge>- <feMergeNode in="shadow"/>- <feMergeNode in="SourceGraphic"/>- </feMerge>-</filter>-```--Replace `flood-color` with the element's brand color; keep `flood-opacity` between 0.12–0.20.--#### 3. Layered Rect Shadow — High-Compatibility Fallback--Best for: scenarios requiring maximum compatibility with older PowerPoint versions.--Stack 2–3 semi-transparent rectangles with increasing offset and decreasing opacity behind the main card:--```xml-<!-- Shadow layers (back to front, largest offset first) -->-<rect x="68" y="72" width="400" height="240" rx="16" fill="#000000" fill-opacity="0.03"/>-<rect x="65" y="69" width="400" height="240" rx="14" fill="#000000" fill-opacity="0.05"/>-<rect x="62" y="66" width="400" height="240" rx="12" fill="#1A73E8" fill-opacity="0.04"/>-<!-- Main card -->-<rect x="60" y="60" width="400" height="240" rx="12" fill="#FFFFFF"/>-```--Rules: each layer shifts +3–4px in x/y; opacity decreases outward; outermost layer slightly larger border radius.-------### Image Overlay (图片遮罩)--> `<mask>` elements and `<image opacity="...">` are banned. Always use stacked `<rect>` or gradient overlays instead (see shared-standards.md).--#### 1. Linear Gradient Overlay — Most Common--Best for: image+text pages where text is positioned to one side.--Direction of gradient should match text position (text on left → gradient darkens toward left).--```xml-<image href="..." x="0" y="0" width="1280" height="720" preserveAspectRatio="xMidYMid slice"/>-<defs>- <linearGradient id="imgOverlay" x1="0" y1="0" x2="1" y2="0">- <stop offset="0%" stop-color="#1A1A2E" stop-opacity="0.85"/>- <stop offset="55%" stop-color="#1A1A2E" stop-opacity="0.30"/>- <stop offset="100%" stop-color="#1A1A2E" stop-opacity="0"/>- </linearGradient>-</defs>-<rect x="0" y="0" width="1280" height="720" fill="url(#imgOverlay)"/>-```--Adjust the 55% midpoint to control the fade transition width.--#### 2. Bottom Gradient Bar--Best for: cover slides and full-image pages where a title sits at the bottom.--```xml-<image href="..." x="0" y="0" width="1280" height="720" preserveAspectRatio="xMidYMid slice"/>-<defs>- <linearGradient id="bottomBar" x1="0" y1="0" x2="0" y2="1">- <stop offset="0%" stop-color="#000000" stop-opacity="0"/>- <stop offset="100%" stop-color="#000000" stop-opacity="0.72"/>- </linearGradient>-</defs>-<rect x="0" y="380" width="1280" height="340" fill="url(#bottomBar)"/>-```--#### 3. Radial Gradient Overlay — Vignette Effect--Best for: full-screen atmosphere slides; draws attention to the center.--```xml-<image href="..." x="0" y="0" width="1280" height="720" preserveAspectRatio="xMidYMid slice"/>-<defs>- <radialGradient id="vignette" cx="50%" cy="50%" r="70%">- <stop offset="0%" stop-color="#000000" stop-opacity="0"/>- <stop offset="100%" stop-color="#000000" stop-opacity="0.58"/>- </radialGradient>-</defs>-<rect x="0" y="0" width="1280" height="720" fill="url(#vignette)"/>-```--#### 4. Brand Color Overlay--Best for: slides that need strong visual brand identity. Replaces generic black overlays with the brand primary color for a cohesive, premium feel.--```xml-<defs>- <linearGradient id="brandOverlay" x1="0" y1="0" x2="1" y2="0">- <stop offset="0%" stop-color="#005587" stop-opacity="0.80"/>- <stop offset="100%" stop-color="#005587" stop-opacity="0.10"/>- </linearGradient>-</defs>-<rect x="0" y="0" width="1280" height="720" fill="url(#brandOverlay)"/>-```-------### Quick-Reference Table--| Scenario | Recommended Technique | Avoid |-|----------|-----------------------|-------|-| Card / panel shadow | Filter soft shadow (`flood-opacity` ≤ 0.12) | Hard black shadow |-| Accent / CTA button | Colored shadow (same hue family) | Generic gray shadow |-| Text over image | Linear gradient overlay (direction matches text side) | Uniform flat opacity over whole image |-| Cover / full-image slide | Bottom gradient bar + brand color | Solid black overlay |-| Atmosphere / hero slide | Radial vignette | Unprocessed raw image |-| Max PPT compatibility needed | Layered rect shadow | Filter-based shadow |-------## Image Layout Specification--Pages with images need dynamic layout calculation based on image ratio. See image-layout-spec.md for details.--**Quick rules**:-- Ratio > 2.0 (ultra-wide) → Top-bottom layout-- Ratio 1.5-2.0 (wide) → Prefer top-bottom; switch to left-right if text area insufficient-- Ratio 1.2-1.5 (standard landscape) → Left-right layout-- Ratio 0.8-1.2 (square) → Left-right layout-- Ratio < 0.8 (portrait) → Left-right layout-------## Chart Design--### Common Chart Types--#### KPI Cards-```-Layout: 2x2 or 1x4-Elements: Large number (48-56px) + metric name (18-20px) + trend icon/percentage + YoY/MoM note-```--#### Bar Charts-```-Bar count: 3-8, bar width: 40-60px, gap: 50-80% of bar width, show data labels-```--#### Line Charts-```-Line: 2-3px, data points: circle radius 4-6px, grid lines: 1px light gray, legend: top-right or bottom-```--#### Pie/Donut Charts-```-Segments: 3-6, start angle: -90° (12 o'clock), ring width: 40-60px, show percentage labels-```--#### Matrix Charts-```-2x2 layout, axis lines: 2px solid, quadrant labels clear, data point sizes uniform-```--### Chart Colors--| Scheme | Suitable Scenarios | Example |-|--------|-------------------|---------|-| Monochromatic gradient | Same-category data comparison | #1976D2 → #42A5F5 → #90CAF9 |-| Contrasting set | Different category data | #2196F3 / #FF9800 / #4CAF50 |-| Sequential | Level/intensity display | #4CAF50 → #FFC107 → #F44336 |-------## Icon Usage--### Built-in Icon Library (Recommended)--Located in `templates/icons/`, containing 640+ SVG icons.--```-Full index: templates/icons/FULL_INDEX.md-Programmatic query: templates/icons/icons_index.json-Usage guide: templates/icons/README.md-```--**Category overview**:-- General: home, settings, search, user, calendar, mail...-- Data: trending-up, chart-bar, database, file-text...-- Business: rocket, target, lightbulb, trophy, star...-- Arrows: arrow-right/left/up/down, chevron-right...-- Status: check, check-circle, x-circle, alert-circle...-- Tools: edit, trash, download, upload, share...--### Icon Specifications--```-Size: Small 16-20px | Regular 24-32px | Large 40-48px-Stroke width: 2px (uniform)-Color: Coordinate with primary color-Spacing: 50% of icon size-```-------## Common Patterns--### Cover Page-- Top: Company logo (optional), Center: Presentation title (H1), subtitle, Bottom: Date, presenter-- Clean and impressive; primary color background or image; text centered or left-aligned--### Content Page-- Standard structure: Page title (H2) → Main content → Page number / notes-- Variants: Left-title right-content, top-bottom split, multi-column layout--### Data Page-- Data visualization as primary; highlight key numbers; provide data sources; add trend notes-- Layouts: Large chart + key points, multiple small chart combinations, KPI dashboard--### Summary Page-- 3-5 core takeaways + Call to Action (CTA) + Next steps-- Lists or numbering, icon-assisted, clean and clear-------## Common Issues--| Problem | Solution |-|---------|----------|-| Too much content to fit | Split across pages, use smaller font (>=16px), condense text, use charts instead |-| Colors don't match | Limit primary colors to <=3, increase neutral color proportion, reference successful cases |-| Unbalanced layout | Check alignment, adjust spacing, use grid system, balance visual weight |diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex 20b2e665..12cfd39a 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -121,8 +121,6 @@ Apply corresponding fonts for different text roles based on the font plan in the| Emphasis font | SimHei | Arial Black / Consolas || Annotation font | Microsoft YaHei / SimSun | Arial / Times |-See `references/design-guidelines.md` for details.----## 8. Speaker Notes Generation Frameworkdiff --git a/skills/ppt-master/references/shared-standards.md b/skills/ppt-master/references/shared-standards.mdindex e5dee340..a4ab6dec 100644--- a/skills/ppt-master/references/shared-standards.md+++ b/skills/ppt-master/references/shared-standards.md@@ -104,7 +104,146 @@ python3 scripts/svg_to_pptx.py <project_path> -s final----## 6. Project Directory Structure+## 6. Shadow & Overlay Techniques++> `<mask>` elements and `<image opacity="...">` are banned. Always use stacked `<rect>` or gradient overlays instead (see §2).++### Shadow++#### Filter Soft Shadow — Recommended++Best for: cards, floating panels, elevated elements. `svg_to_shapes.py` automatically converts `feGaussianBlur` + `feOffset` into native PPTX `<a:outerShdw>`.++```xml+<defs>+ <filter id="softShadow" x="-15%" y="-15%" width="140%" height="140%">+ <feGaussianBlur in="SourceAlpha" stdDeviation="8"/>+ <feOffset dx="0" dy="4" result="offsetBlur"/>+ <feFlood flood-color="#000000" flood-opacity="0.08" result="shadowColor"/>+ <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>+ <feMerge>+ <feMergeNode in="shadow"/>+ <feMergeNode in="SourceGraphic"/>+ </feMerge>+ </filter>+</defs>+<rect x="60" y="60" width="400" height="240" rx="12" fill="#FFFFFF" filter="url(#softShadow)"/>+```++Recommended parameters:+```+stdDeviation: 6–10 (smaller = crisper, larger = softer)+flood-opacity: 0.06–0.12 (keep low for a premium feel)+dy: 3–6 (vertical > horizontal for natural top-light)+dx: 0–2+```++#### Colored Shadow++Best for: accent buttons, brand-colored cards. Use the element's own color family instead of black.++```xml+<filter id="colorShadow" x="-15%" y="-15%" width="140%" height="140%">+ <feGaussianBlur in="SourceAlpha" stdDeviation="10"/>+ <feOffset dx="0" dy="6" result="offsetBlur"/>+ <feFlood flood-color="#1A73E8" flood-opacity="0.20" result="shadowColor"/>+ <feComposite in="shadowColor" in2="offsetBlur" operator="in" result="shadow"/>+ <feMerge>+ <feMergeNode in="shadow"/>+ <feMergeNode in="SourceGraphic"/>+ </feMerge>+</filter>+```++Replace `flood-color` with the element's brand color; keep `flood-opacity` between 0.12–0.20.++#### Layered Rect Shadow — High-Compatibility Fallback++Best for: maximum compatibility with older PowerPoint versions. Stack 2–3 semi-transparent rectangles behind the main card:++```xml+<!-- Shadow layers (back to front, largest offset first) -->+<rect x="68" y="72" width="400" height="240" rx="16" fill="#000000" fill-opacity="0.03"/>+<rect x="65" y="69" width="400" height="240" rx="14" fill="#000000" fill-opacity="0.05"/>+<rect x="62" y="66" width="400" height="240" rx="12" fill="#1A73E8" fill-opacity="0.04"/>+<!-- Main card -->+<rect x="60" y="60" width="400" height="240" rx="12" fill="#FFFFFF"/>+```++### Image Overlay++#### Linear Gradient Overlay — Most Common++Best for: image+text pages. Gradient direction should match text position (text on left → gradient darkens toward left).++```xml+<image href="..." x="0" y="0" width="1280" height="720" preserveAspectRatio="xMidYMid slice"/>+<defs>+ <linearGradient id="imgOverlay" x1="0" y1="0" x2="1" y2="0">+ <stop offset="0%" stop-color="#1A1A2E" stop-opacity="0.85"/>+ <stop offset="55%" stop-color="#1A1A2E" stop-opacity="0.30"/>+ <stop offset="100%" stop-color="#1A1A2E" stop-opacity="0"/>+ </linearGradient>+</defs>+<rect x="0" y="0" width="1280" height="720" fill="url(#imgOverlay)"/>+```++#### Bottom Gradient Bar++Best for: cover slides and full-image pages with bottom title.++```xml+<defs>+ <linearGradient id="bottomBar" x1="0" y1="0" x2="0" y2="1">+ <stop offset="0%" stop-color="#000000" stop-opacity="0"/>+ <stop offset="100%" stop-color="#000000" stop-opacity="0.72"/>+ </linearGradient>+</defs>+<rect x="0" y="380" width="1280" height="340" fill="url(#bottomBar)"/>+```++#### Radial Gradient Overlay — Vignette Effect++Best for: full-screen atmosphere slides; draws attention to the center.++```xml+<defs>+ <radialGradient id="vignette" cx="50%" cy="50%" r="70%">+ <stop offset="0%" stop-color="#000000" stop-opacity="0"/>+ <stop offset="100%" stop-color="#000000" stop-opacity="0.58"/>+ </radialGradient>+</defs>+<rect x="0" y="0" width="1280" height="720" fill="url(#vignette)"/>+```++#### Brand Color Overlay++Best for: slides needing strong visual brand identity.++```xml+<defs>+ <linearGradient id="brandOverlay" x1="0" y1="0" x2="1" y2="0">+ <stop offset="0%" stop-color="#005587" stop-opacity="0.80"/>+ <stop offset="100%" stop-color="#005587" stop-opacity="0.10"/>+ </linearGradient>+</defs>+<rect x="0" y="0" width="1280" height="720" fill="url(#brandOverlay)"/>+```++### Quick-Reference Table++| Scenario | Recommended Technique | Avoid |+|----------|-----------------------|-------|+| Card / panel shadow | Filter soft shadow (`flood-opacity` ≤ 0.12) | Hard black shadow |+| Accent / CTA button | Colored shadow (same hue family) | Generic gray shadow |+| Text over image | Linear gradient overlay (direction matches text side) | Uniform flat opacity over whole image |+| Cover / full-image slide | Bottom gradient bar + brand color | Solid black overlay |+| Atmosphere / hero slide | Radial vignette | Unprocessed raw image |+| Max PPT compatibility needed | Layered rect shadow | Filter-based shadow |++---++## 7. Project Directory Structure```project/diff --git a/skills/ppt-master/scripts/error_helper.py b/skills/ppt-master/scripts/error_helper.pyindex 424c7966..c77c49d2 100644--- a/skills/ppt-master/scripts/error_helper.py+++ b/skills/ppt-master/scripts/error_helper.py@@ -106,7 +106,7 @@ class ErrorHelper:'Remove <foreignObject> elements','Use <text> + <tspan> for manual line wrapping','This is a project technical specification requirement',- 'Reference: references/design-guidelines.md'+ 'Reference: references/shared-standards.md'],'severity': 'error'},diff --git a/skills/ppt-master/scripts/generate_examples_index.py b/skills/ppt-master/scripts/generate_examples_index.pyindex 96b240a2..d9db3bd2 100644--- a/skills/ppt-master/scripts/generate_examples_index.py+++ b/skills/ppt-master/scripts/generate_examples_index.py@@ -188,7 +188,6 @@ def generate_examples_index(examples_dir: str = 'examples') -> str:content.append("## [Resources] Related Resources\n")content.append("- [Quick Start](../README.md)")content.append("- [Workflow Tutorial](../../AGENTS.md)")- content.append("- [Design Guidelines](../references/design-guidelines.md)")content.append("- [Canvas Formats](../references/canvas-formats.md)")content.append("- [Role Definitions](../references/)")content.append("- [Chart Templates](../templates/charts/README.md)\n")diff --git a/skills/ppt-master/templates/design_spec_reference.md b/skills/ppt-master/templates/design_spec_reference.mdindex 3eb10c68..e4acc1cf 100644--- a/skills/ppt-master/templates/design_spec_reference.md+++ b/skills/ppt-master/templates/design_spec_reference.md@@ -90,8 +90,6 @@**Font stack**: `[Fill in CSS font-family string]`-> **Reference**: Font categories in `references/design-guidelines.md`-### Font Size Hierarchy> **Design principle**: Use body font size as baseline (1x), derive other levels proportionally@@ -144,6 +142,9 @@| Card padding | 20-32px | [fill in] || Card border radius | 8-16px | [fill in] || Icon-text gap | 8-16px | [fill in] |+| Single-row card height | 530-600px | [fill in] |+| Double-row card height | 265-295px each | [fill in] |+| Three-column card width | 360-380px each | [fill in] |---