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
feat(visual-styles): add per-style composition geometry vocabulary
hugohe3ebb0f462705c
diff --git a/skills/ppt-master/references/executor-base.md b/skills/ppt-master/references/executor-base.mdindex 17810898..79c90115 100644--- a/skills/ppt-master/references/executor-base.md+++ b/skills/ppt-master/references/executor-base.md@@ -226,6 +226,7 @@ Before drawing each page, look up its entry in `page_charts` to decide which cha- **Template structure**: if templates exist, inherit the visual framework- **Main-agent ownership**: SVG generation must run in the main agent (not sub-agents) — pages share upstream context for cross-page visual continuity- **Generation rhythm**: lock global design context first, then generate pages sequentially in one continuous context. No batched groups (e.g., 5 at a time).+- **Default — stage each page with the style's composition geometry (may override when the content genuinely calls for a plain grid)**: an SVG page is a canvas, not a DOM. Before defaulting to stacked rounded-rect cards or uniform equal columns, pick one page-scale move from the locked visual style's §1 `Composition geometry` (a bleed shape, diagonal split, oversized numeral, orbit rings, …) to stage the page's primary zone. Card grids are one option among many, not the house layout.- **Reference — image-led promotional pages (not a constraint)**: for travel, venue, product-introduction, hospitality, event, real-estate, and brochure-style decks, let images define the page skeleton before placing text. Consult [`image-layout-patterns.md`](image-layout-patterns.md) §Imported Deck Patterns and prefer patterns such as `#74` TOC image-navigation cards, `#75` asymmetric chapter banners, `#77` photo mosaic with a text cell, `#78` ambient banner + evidence photo + text panel, `#79` ribbon-header image cards, and `#80` side hero image + staggered evidence cards before falling back to plain left/right image-text splits.- **Phased batch generation** (recommended):1. **Visual Construction Phase**: generate all SVG pages sequentially for visual consistency. Use layout judgment for chart marks during the draft. **MUST embed plot-area markers** per §3.1 below on every chart page — coordinate calibration is a post-generation step (see [`workflows/verify-charts.md`](../workflows/verify-charts.md)) that depends on these markers — and **native object metadata** per §3.2 on every eligible data-chart page.diff --git a/skills/ppt-master/references/visual-styles/_index.md b/skills/ppt-master/references/visual-styles/_index.mdindex 80856d63..c3e45187 100644--- a/skills/ppt-master/references/visual-styles/_index.md+++ b/skills/ppt-master/references/visual-styles/_index.md@@ -92,7 +92,7 @@ Each style has its own file with: shape & decoration, typography character, colo## 3. Escape hatch — `custom`-When no preset captures the intended aesthetic, set `- visual_style: custom` in `spec_lock.md` and add a `- visual_style_behavior:` line: one paragraph naming shape language, decoration density, whitespace, typographic character, and texture — **no HEX, no color names as values**. `custom` is a tail-case, not a default; reach for a preset first.+When no preset captures the intended aesthetic, set `- visual_style: custom` in `spec_lock.md` and add a `- visual_style_behavior:` line: one paragraph naming shape language, composition geometry (page-scale moves), decoration density, whitespace, typographic character, and texture — **no HEX, no color names as values**. `custom` is a tail-case, not a default; reach for a preset first.---diff --git a/skills/ppt-master/references/visual-styles/blueprint.md b/skills/ppt-master/references/visual-styles/blueprint.mdindex 5e80ea4a..f4f7cb8b 100644--- a/skills/ppt-master/references/visual-styles/blueprint.md+++ b/skills/ppt-master/references/visual-styles/blueprint.md@@ -7,6 +7,7 @@ Engineering schematic — thin line work on dark blueprint paper, isometric proj## 1. Shape & decoration- Shape language: thin single-weight line frames (no heavy fills); components drawn as outlined geometry; optional isometric / 3D-axonometric projection for structures. Slight or zero corner rounding.+- Composition geometry: let the schematic be the layout — a full-page annotated drawing as the skeleton with content hung on leader lines; a circular detail blow-up linked to its source; dimension-line brackets framing a hero figure; an isometric exploded stack for structure or sequence; a drawing-sheet title block anchoring one corner.- Decoration: the engineering-drawing vocabulary — dimension lines, leader arrows, component codes, coordinate labels, a faint gridline backdrop under everything. Annotation *is* the decoration.- Whitespace: the grid breathes through; let line work float on the dark field with measured spacing.diff --git a/skills/ppt-master/references/visual-styles/brutalist.md b/skills/ppt-master/references/visual-styles/brutalist.mdindex 44ed7c35..369705d9 100644--- a/skills/ppt-master/references/visual-styles/brutalist.md+++ b/skills/ppt-master/references/visual-styles/brutalist.md@@ -7,6 +7,7 @@ Brutalist editorial newspaper. Wall-to-wall small type, irregular column widths,## 1. Shape & decoration- Shape language: hard rectangles and ruled boxes; thick black borders / cell frames; visible column dividers. Corner radius `rx="0"` — never rounded.+- Composition geometry: a masthead numeral or headline set so large it crosses column rules; one grid cell inverted to solid ink (light type on dark) as the focal cell; full-bleed rule bars slicing sections; a single rotated stamp-box breaking the grid at one deliberate point.- Decoration: the grid itself is the decoration — masthead bars, rule lines, boxed pull-quotes, halftone fills. No gradients, no soft cards, no shadows.- Whitespace: tight and deliberate — narrow margins, dense columns, a newspaper's packed rhythm. Density is the point; one or two breathing zones per page keep it readable, not airy.- Irregular multi-column layout (mixed column widths) over a uniform grid; asymmetry is intentional.diff --git a/skills/ppt-master/references/visual-styles/chalkboard.md b/skills/ppt-master/references/visual-styles/chalkboard.mdindex dba8deee..2c14fa6f 100644--- a/skills/ppt-master/references/visual-styles/chalkboard.md+++ b/skills/ppt-master/references/visual-styles/chalkboard.md@@ -7,6 +7,7 @@ Classroom chalkboard — a dark slate field, soft chalk-stroke line work, powder## 1. Shape & decoration- Shape language: chalk-stroke line work with slightly diffused, dry-medium edges; sketched boxes, brackets, arrows in chalk. Confident but never mechanical — the sketched boxes and arrows are `<path>` with non-aligned points; a primitive `<rect>` / `<line>` snaps the chalk back to mechanical.+- Composition geometry: one big chalk ring around the term that matters; a radial mind-map spreading from a central concept; a hand-drawn arc timeline sweeping the board; an oversized chalk bracket grouping half the page; a boxed corner note holding the takeaway.- Decoration: underlines and emphasis marks; a few sprinkled chalk stars / dots. Blackboard pedagogy — organized sections, a clear central focus.- Whitespace: the dark board reads as room; let chalk marks breathe rather than crowd.diff --git a/skills/ppt-master/references/visual-styles/dark-tech.md b/skills/ppt-master/references/visual-styles/dark-tech.mdindex 09f7a677..29567d11 100644--- a/skills/ppt-master/references/visual-styles/dark-tech.md+++ b/skills/ppt-master/references/visual-styles/dark-tech.md@@ -7,6 +7,7 @@ Dark canvas, luminous accents, geometric precision. For tech, AI, dev tools, dat## 1. Shape & decoration- Shape language: crisp geometry; thin glowing rules; hexagon / circuit / grid motifs used sparingly. Slight rounding (`rx` 4-8) or sharp.+- Composition geometry: a glowing diagonal circuit trace splitting the field; concentric orbit rings staging a central metric; a hexagon node cluster mapping components; an oversized low-opacity numeral or glyph floating behind the content layer; thin bracket frames zoning the page.- Decoration: glow accents, fine grid backgrounds, monospace labels, node / connector lines. Restrained — precision over clutter.- Whitespace: dark negative space reads as depth; let elements float on it.diff --git a/skills/ppt-master/references/visual-styles/data-journalism.md b/skills/ppt-master/references/visual-styles/data-journalism.mdindex 7d883be1..18800415 100644--- a/skills/ppt-master/references/visual-styles/data-journalism.md+++ b/skills/ppt-master/references/visual-styles/data-journalism.md@@ -7,6 +7,7 @@ Bloomberg / Economist news-infographic — publication-grade information density## 1. Shape & decoration- Shape language: a dense multi-column grid carrying many small charts and data tables inline; editorial sidebars and pull-stats; hairline dividers; hero numbers; a running source / footnote line. Information density is the look — kept legible by a rigorous grid.+- Composition geometry: the chart as the page's spine — layout wraps the visualization instead of boxing it; a hero number at full column scale; a full-width spanner rule dropping into a stat band; a sidebar cut into the grid; small-multiple strips instead of one boxed chart.- Decoration: minimal beyond the data — a single accent rule, sparing annotation. Charts and numbers are the visual interest, not ornament.- Whitespace: tight but structured; the grid earns density without clutter.diff --git a/skills/ppt-master/references/visual-styles/editorial.md b/skills/ppt-master/references/visual-styles/editorial.mdindex 2b0bf263..c3edb5f9 100644--- a/skills/ppt-master/references/visual-styles/editorial.md+++ b/skills/ppt-master/references/visual-styles/editorial.md@@ -7,6 +7,7 @@ Magazine-grade hierarchy. Columns, hairline rules, a serif / sans interplay, str## 1. Shape & decoration- Shape language: rectilinear; thin rules and column dividers instead of cards. Minimal rounding (`rx` 0-4).+- Composition geometry: an oversized drop cap or numeral anchoring the page; a pull quote breaking across two columns; a full-height vertical rule the content hangs from; an asymmetric 2:1 column split instead of even columns; one figure deliberately crossing a column edge.- Decoration: hairline rules, kickers / eyebrows, pull quotes, drop-style emphasis — typographic, not graphic. Sparing.- Whitespace: structured by columns and baseline rhythm; comfortable but information-rich.- Multi-column text flow where content suits.diff --git a/skills/ppt-master/references/visual-styles/glassmorphism.md b/skills/ppt-master/references/visual-styles/glassmorphism.mdindex 40d94192..0d035548 100644--- a/skills/ppt-master/references/visual-styles/glassmorphism.md+++ b/skills/ppt-master/references/visual-styles/glassmorphism.md@@ -7,6 +7,7 @@ Frosted-glass SaaS — translucent layered panels, flowing gradient light, float## 1. Shape & decoration- Shape language: rounded translucent glass panels (low fill-opacity over the dark field) with bright hairline edges; layered, floating cards that imply blur and frost; rounded corners (`rx` 12-20).+- Composition geometry: one hero glass panel set off-axis over a radial bloom; overlapping translucent discs building the focal cluster; a large glass ring encircling the key metric; panels stepped in depth to imply sequence; a diagonal light beam crossing the dark field.- Decoration: soft radial light blooms in the background; thin luminous edge highlights along panels; restrained — the glass material is the decoration, not added ornament. Realize the radial bloom / glow halo as a `<circle>` / `<ellipse>` with a `<radialGradient>` fill, never a `rect rx=w/2` standing in for it.- Whitespace: dark negative space reads as depth; let panels float on it with room to breathe.diff --git a/skills/ppt-master/references/visual-styles/ink-notes.md b/skills/ppt-master/references/visual-styles/ink-notes.mdindex 7f643569..8b3a2b19 100644--- a/skills/ppt-master/references/visual-styles/ink-notes.md+++ b/skills/ppt-master/references/visual-styles/ink-notes.md@@ -7,6 +7,7 @@ Whiteboard-ink minimalism — a pale field, confident black hand-ink line work,## 1. Shape & decoration- Shape language: hand-drawn line work with slight, intentional wobble — boxes, arrows, dividers and brackets sketched as if on a thoughtful whiteboard; never mechanically straight — realize it as `<path>` / `<polyline>` with off-grid points, not `<rect>` / `<line>` primitives. Line defines structure; no filled cards.+- Composition geometry: a circled central concept with branch arrows carrying the page; a hand-drawn Venn or overlap sketch as the argument; strike-through-and-replace geometry for before/after; one oversized bracket grouping the evidence under the claim.- Decoration: minimal — a few doodle marks (stars, dashes, dots, underlines) for emphasis. Restraint is the look; clutter breaks the "considered" feel.- Whitespace: generous and empty; the pale field carries most of the canvas, elements float with room around them.diff --git a/skills/ppt-master/references/visual-styles/ink-wash.md b/skills/ppt-master/references/visual-styles/ink-wash.mdindex 3529540d..d0bfa9e5 100644--- a/skills/ppt-master/references/visual-styles/ink-wash.md+++ b/skills/ppt-master/references/visual-styles/ink-wash.md@@ -7,6 +7,7 @@ New-Chinese ink-wash — a rice-paper field, vast literati whitespace, restraine## 1. Shape & decoration- Shape language: minimal brush-stroke marks and hairline dividers; the occasional ink-dark block; a single seal-stamp (印章) square as a focal accent. No cards, no boxes — emptiness is the structure. The brush-stroke and ink-bleed marks are irregular `<path>` shapes with uneven control points — never an `<ellipse>` / `<circle>` standing in for a wash, which reads as fake ink. (The seal-stamp square is the one deliberate hard edge.)+- Composition geometry: one broad brush sweep as the page's diagonal spine; an open ensō-like ring framing the core phrase; a vertical scroll band ordering a sequence; a low wash horizon with content floating in the emptiness above; the seal square placed to counterweight an asymmetric field.- Decoration: almost none; what little appears reads as brush and seal. Asymmetric, scroll-like composition with deliberate off-balance.- Whitespace: vast and intentional — the rice-paper field carries most of the page; a few elements float in great calm.diff --git a/skills/ppt-master/references/visual-styles/memphis.md b/skills/ppt-master/references/visual-styles/memphis.mdindex 6711cbab..3a66789e 100644--- a/skills/ppt-master/references/visual-styles/memphis.md+++ b/skills/ppt-master/references/visual-styles/memphis.md@@ -7,6 +7,7 @@ Memphis / Pop — clashing color blocks, geometric confetti, bold outlines, 80s-## 1. Shape & decoration- Shape language: bold geometric primitives — circles, triangles, zigzags, squiggles, blobs — with thick dark outlines (2-4px). Mixed corner radii allowed; playful inconsistency is on-brand.+- Composition geometry: a giant primitive bleeding off one edge as the backdrop; a diagonal two-color field split; a zigzag or squiggle band as the section divider; props scattered at angles around one dominant rotated frame or badge at the focal point.- Decoration: scattered geometric confetti, color-block backings, pattern fills (dots / stripes), oversized punctuation. Generous decoration — but composed, not chaotic.- Whitespace: energetic asymmetry; props float at angles. Still leave the focal content room to read against the noise.diff --git a/skills/ppt-master/references/visual-styles/paper-cut.md b/skills/ppt-master/references/visual-styles/paper-cut.mdindex fb5a45cd..cdf51582 100644--- a/skills/ppt-master/references/visual-styles/paper-cut.md+++ b/skills/ppt-master/references/visual-styles/paper-cut.md@@ -7,6 +7,7 @@ Layered paper-craft — scissor-cut shapes stacked in tactile layers, soft shado## 1. Shape & decoration- Shape language: forms defined by crisp, slightly-irregular cut edges (no outlines); simplified, stylized shapes that read as cut paper rather than illustration. Those cut edges are irregular `<polygon>` / `<path>` outlines, not a clean `<rect>` / `<circle>`, which reads as a digital box rather than torn paper.+- Composition geometry: stacked wave sheets building the page bottom-up; a die-cut window revealing the layer beneath; one large cut disc (sun / moon) anchoring the composition; tabbed sheet edges ordering steps; a foreground frame layer with the content on the sheet behind it.- Decoration: layering itself is the device — each element is a "sheet" stacked over the one beneath; small cut-out accents on the top layer.- Whitespace: cozy, composed — the backing sheet shows through as breathing room.diff --git a/skills/ppt-master/references/visual-styles/photo-editorial.md b/skills/ppt-master/references/visual-styles/photo-editorial.mdindex e922ac56..435cacce 100644--- a/skills/ppt-master/references/visual-styles/photo-editorial.md+++ b/skills/ppt-master/references/visual-styles/photo-editorial.md@@ -7,6 +7,7 @@ Photo-led editorial — large full-bleed photography dominates the page, text po## 1. Shape & decoration- Shape language: large full-bleed / edge-to-edge image fields are the page's spine; text sits in restrained columns, caption blocks, kickers, or overlay headlines. Minimal chrome — the photograph carries the page.+- Composition geometry: an L-shaped text zone carved out of the full bleed; a headline straddling the photo edge; a diptych / triptych panel split; one floating caption card breaking the image boundary — moves that serve the photograph, never bury it.- Decoration: thin rules, section numbering, small figure notes; nothing competes with the image.- Whitespace: generous around text; the photo fills, the type breathes beside it. Asymmetric magazine composition.diff --git a/skills/ppt-master/references/visual-styles/pixel-art.md b/skills/ppt-master/references/visual-styles/pixel-art.mdindex 17dd152d..68b97099 100644--- a/skills/ppt-master/references/visual-styles/pixel-art.md+++ b/skills/ppt-master/references/visual-styles/pixel-art.md@@ -7,6 +7,7 @@## 1. Shape & decoration- Shape language: everything aligns to a visible pixel grid — blocky shapes, stepped edges, sharp transitions, no smooth curves; optional 1-pixel darker outlines for definition.+- Composition geometry: a stepped pixel staircase as the divider; an oversized sprite anchoring the page; a HUD frame with corner brackets zoning content; a tile ground-band along the bottom edge; a pixel progress bar as the sequence device.- Decoration: classic game framing — HUD bars, tile floors, sprite icons, chunky pixel borders. References NES / SNES / arcade composition.- Whitespace: grid-disciplined; let blocks sit on clean tiled ground rather than crowd.diff --git a/skills/ppt-master/references/visual-styles/sketch-notes.md b/skills/ppt-master/references/visual-styles/sketch-notes.mdindex d916d97e..3ea85a5c 100644--- a/skills/ppt-master/references/visual-styles/sketch-notes.md+++ b/skills/ppt-master/references/visual-styles/sketch-notes.md@@ -7,6 +7,7 @@ Warm hand-drawn sketchnote — soft paper field, black ink doodle line work, gen## 1. Shape & decoration- Shape language: rounded shapes drawn with a slight wobble; pastel block fills that slightly overshoot their outlines (hand-painted feel); simple cartoon icons. Draw that wobble as a `<path>` with non-aligned points — a `<rect rx>` is not wobble.+- Composition geometry: a wavy-arrow journey path structuring the whole page; a radial mind-map around a central doodle; a hand-drawn banner ribbon carrying the title; numbered circles hopping along a dotted route; one cloud frame around the idea that matters.- Decoration: small doodles — stars, sparkles, dots, underlines — sprinkled sparingly for warmth; wavy hand-drawn arrows connecting ideas with short inline labels.- Whitespace: airy and well-organized; generous gaps between elements keep it friendly, never dense.diff --git a/skills/ppt-master/references/visual-styles/soft-rounded.md b/skills/ppt-master/references/visual-styles/soft-rounded.mdindex 9e7a88a5..16ea7496 100644--- a/skills/ppt-master/references/visual-styles/soft-rounded.md+++ b/skills/ppt-master/references/visual-styles/soft-rounded.md@@ -7,6 +7,7 @@ Approachable and modern. Rounded cards, gentle elevation, friendly rhythm. For p## 1. Shape & decoration- Shape language: rounded rectangles (`rx` 12-16), pill tags, soft containers. Consistent radius deck-wide.+- Composition geometry: a large soft disc or blob bleeding off one edge as the color field; a pill chain or arc path replacing the boxed step row; one hero panel overlapping a full-width tinted band; an oversized rounded numeral behind the point. Cards are the container language, not the composition — vary the stage they sit on.- Decoration: cards as the primary container; icon accents; numbered circles; gentle dividers. Moderate, in service of clarity.- Whitespace: comfortable padding inside cards; even gutters; balanced rather than austere.diff --git a/skills/ppt-master/references/visual-styles/swiss-minimal.md b/skills/ppt-master/references/visual-styles/swiss-minimal.mdindex dff8171f..d4ac2527 100644--- a/skills/ppt-master/references/visual-styles/swiss-minimal.md+++ b/skills/ppt-master/references/visual-styles/swiss-minimal.md@@ -7,6 +7,7 @@ Strict Swiss-grid discipline. Modular grid, sharp geometry, aggressive whitespac## 1. Shape & decoration- Shape language: sharp rectangles, true circles, single-weight rules. Corner radius `rx="0"` by default; if rounding at all, ≤4.+- Composition geometry: one oversized geometric plane — a full-height color column, a giant disc, a heavy bar — zoning the page; an asymmetric split with content flush to one axis; a hero numeral at architectural scale; a single diagonal rule or type line as the deliberate grid break. Few, large, exact — geometry at poster scale is Swiss, clutter is not.- Decoration: none. No gradient fills, no decorative blocks, no badges — structure carries the page.- Whitespace: vast and deliberate; negative space carries as much weight as content. Wide margins, generous gutters.- Layout snaps to a visible or implied modular grid; rigorous column / row alignment.diff --git a/skills/ppt-master/references/visual-styles/vintage-poster.md b/skills/ppt-master/references/visual-styles/vintage-poster.mdindex 98ca91bb..bd09f406 100644--- a/skills/ppt-master/references/visual-styles/vintage-poster.md+++ b/skills/ppt-master/references/visual-styles/vintage-poster.md@@ -7,6 +7,7 @@ Mid-century print poster (1950s–1970s) — bold rounded-geometric shapes, limi## 1. Shape & decoration- Shape language: bold geometric shapes with rounded organic edges, often slightly off-axis for retro tension; overlapping flat blocks; thick hand-aware lines; stylized, reduced iconography (a stylized sun, an angular mountain).+- Composition geometry: a giant sun disc or arch as the backdrop anchor; ray wedges radiating from the focal point; off-axis overlapping blocks staging the content; a horizon band splitting the page into field and sky zones; one badge or rosette seal at the emphasis point.- Decoration: the print artifacts — halftone dot overlays, slight ink misregistration — carry the character; imagery stays reduced and graphic, never photoreal.- Whitespace: confident poster composition — a few large blocks, deliberate negative space.diff --git a/skills/ppt-master/references/visual-styles/zine.md b/skills/ppt-master/references/visual-styles/zine.mdindex 53e4db25..c5e4874f 100644--- a/skills/ppt-master/references/visual-styles/zine.md+++ b/skills/ppt-master/references/visual-styles/zine.md@@ -7,6 +7,7 @@ Risograph zine / DIY poster — misregistered color layers, halftone dots, a tig## 1. Shape & decoration- Shape language: cut-and-paste blocks, offset color shapes, rough frames; outlines in a near-black ink tone. Corner radius low or zero — print-flat, not soft-digital.+- Composition geometry: rotated pasted-on blocks (slight skew) building the collage stage; a torn-strip band as the section divider; an oversized halftone shape bleeding behind the content; a photocopy frame or taped corner anchoring the focal block; column scraps at mixed widths.- Decoration: the riso print artifacts — 1-3px color-layer misregistration, halftone-dot `<pattern>` texture, overlapping color blocks that imply a third color where they cross. Texture is the decoration.- Whitespace: poster-like — bold focal blocks with raw margins; deliberate roughness over clean alignment.