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(structure): generate topology from relationship atoms, then assemble
hugohe37b3d39b39959
diff --git a/skills/ppt-master/references/executor-structure.md b/skills/ppt-master/references/executor-structure.mdindex 63d6dfc9..d7fd3d68 100644--- a/skills/ppt-master/references/executor-structure.md+++ b/skills/ppt-master/references/executor-structure.md@@ -16,16 +16,46 @@ the grammar does not select `Structure=yes` or create a geometry quota.## 1. Relationship Atoms-| Atom | Meaning | Encode with |-|---|---|---|-| `order` | Sequence, progression, or rank | Position, numbering, direction, shared path |-| `link` | Dependency, exchange, influence, transition | Proximity/alignment when unmistakable; otherwise an edge |-| `parent` | One unit governs or decomposes into children | Branching, indentation, nesting, scale |-| `membership` | Units belong to a group, stage, lane, or region | Containment, shared field, band, repetition |-| `contrast` | Peers, states, options, or positions compare | Shared baseline, opposing regions, parallel framing |-| `overlap` | Units share a meaningful subset or duty | Intersecting regions plus a clear common area |--Combine atoms as needed; never force a named business model. Numbers used only as labels do not create a chart. Value-derived position/length/angle/area/radius/width/color routes to [`executor-chart.md`](./executor-chart.md); row-header × column-header facts route to [`executor-table.md`](./executor-table.md). Qualitative lanes use this grammar, but date/duration-driven task-bar `x`/`width` is Gantt Chart geometry.+**Mandatory — relationship → topology before contour**: For each active atom,+resolve only the path, junctions, enclosure, field partition, shared region,+scale change, and entry / endpoint that carry meaning. Adapt that topology to+the actual units, text load, page role, and active visual system before+selecting contours.++| Atom | Meaning | Encode with | Generate topology from |+|---|---|---|---|+| `order` | Sequence, progression, or rank | Position, numbering, direction, shared path | One reading path: open / closed; straight / bent / stepped / switchback / coiled; level / rising / falling; constant / expanding / contracting; turns, milestones, endpoint |+| `link` | Dependency, exchange, influence, transition | Proximity / alignment when unmistakable; otherwise an edge | Sources, targets, and junctions: direct, hub, chain, split, merge, exchange, or feedback; let the relationship determine the fewest necessary edges |+| `parent` | One unit governs or decomposes into children | Branching, indentation, nesting, scale | Root, depth, and sibling groups: branch, indent, nest, radiate, or scale; let child roles set fan-out and weight |+| `membership` | Units belong to a group, stage, lane, or region | Containment, shared field, band, repetition | Owning fields: enclose, band, lane, cluster, repeat, or nest; let content set field shape and occupancy |+| `contrast` | Peers, states, options, or positions compare | Shared baseline, opposing regions, parallel framing | Shared invariants plus separation: one or more semantic axes / baselines, opposing or parallel fields, counterweight, divergence, or a before / after boundary |+| `overlap` | Units share a meaningful subset or duty | Intersecting regions plus a clear common area | Exact exclusive / shared regions: paired, chained, or layered intersections; keep every owner and common area legible |++**Reference — not a constraint**: `Generate topology from` names common+transform axes rather than an exhaustive set. Combine, deform, or invent+page-fit topologies from the active atoms; never recall a named diagram or+reproduce a listed form by default.++**Mandatory — combined-atom spatial relation before contour**: Combine atoms as+needed; never force a named business model. When multiple atoms share one+construct, resolve whether their topologies share a field, nest, run in+parallel, cross orthogonally, or intersect. Orthogonal overlay applies when+independent dimensions occupy one field, including but not limited to an+`order` path across `membership` lanes and two independent `contrast`+dimensions; preserve each atom's ownership and reading direction. The overlay+never implies equal partitions.++**Hard rule — no topology from balance alone**: Node count and text fit may+change spacing, route, or wrap. They never justify equal shapes, gaps, or+partitions, mirroring, radial symmetry, or closure that invents peer weight,+centrality, reciprocity, or recurrence.++Numbers used only as labels do not create a chart. Value-derived position,+length, angle, area, radius, width, or color routes to+[`executor-chart.md`](./executor-chart.md); row-header × column-header facts+route to [`executor-table.md`](./executor-table.md). Qualitative lanes use this+grammar, but date / duration-driven task-bar `x` / `width` is Gantt Chart+geometry.---diff --git a/skills/ppt-master/references/native-shape-authoring.md b/skills/ppt-master/references/native-shape-authoring.mdindex 83f17991..3484fb21 100644--- a/skills/ppt-master/references/native-shape-authoring.md+++ b/skills/ppt-master/references/native-shape-authoring.md@@ -149,29 +149,36 @@ owned by the preserve/mirror round-trip contract.- `chartX`, `chartStar`, or `chartPlus` as a substitute for native charts;- logo, icon glyph, illustration, brand contour, or data-chart marks.-### 2.1 Compound page geometry+### 2.1 Topology assembly and compound page geometry-**Trigger**: after the page or prototype's communication / slot job, composition-anchors, and any applicable topology under+**Trigger**: after the page or prototype's communication / slot job,+composition anchors, and any applicable topology under[`executor-structure.md`](./executor-structure.md) are resolved, but before-writing coordinates, resolve the page-scale geometry move that best carries its-background field, content zoning, focal hierarchy, or reading path. Apply §1's-exact-fit decision and compare the useful lenses below. Before repeating stacked-rectangles / rounded cards or uniform equal columns, compare a page-field,-outline, nesting, or continuity construction and the relevant contour family's-exact members. Readability of the first workable arrangement does not close this-gate.-This applies whether the per-page Structure result is `no` or `yes`; it never-creates a decoration requirement.+writing coordinates, run this gate at every active granularity. For+`Structure=yes`, assemble each resolved topology without changing it; for every+page, resolve the page-scale geometry move carrying its background field,+content zoning, focal hierarchy, or reading path. Apply §1's exact-fit decision+and compare the useful lenses below. Before repeating stacked rectangles /+rounded cards or uniform equal columns, compare a page-field, outline, nesting,+or continuity construction and the relevant contour family's exact members.+Readability of the first workable arrangement does not close this gate. This+never creates a decoration requirement.| Pass | Action | Result ||---|---|---|-| Page job | Name the page-scale geometry move and its jobs: surface, boundary, focal mark, shared region, counterweight, or any source-backed direction / reveal. | One composition direction and a small set of functional zones; no shape names yet. |-| Decompose | Separate visible content from geometric atoms. Identify which atoms need independent movement, paint, or reuse and which contour must become one object. | Editable siblings plus any explicit Boolean operand set. |-| Select | Choose the contour family, then its exact member from the job, full native vocabulary, and edge / corner / opening behavior; retain the reader effect when the result is generic or undrawn. | Page-fit native atoms without syntax bias. |-| Compose | Establish page frame, scale, z-order, and negative space with independent atoms. Keep text, images, icons, data marks, and non-merged accents outside Boolean operands. | One page-level geometry system, not a collection of unrelated decorations. |+| Topology / page job | Retain the resolved topology and state its relationship duties; name the page-scale geometry move and its jobs: surface, boundary, focal mark, shared region, counterweight, or any source-backed direction / reveal. | Required relationship duties plus one composition direction and a small set of functional zones; no shape names yet. |+| Decompose | Partition the resolved topology and visible content. Identify components needing independent editing, movement, paint, animation, or reuse; separately identify contour / region semantics that require one object or independently retained Boolean result paths. | Editable siblings plus any explicit Boolean operand set. |+| Select | For each required component, choose the contour family, then its exact member from the job, full native vocabulary, and edge / corner / opening behavior; retain the reader effect when the result is generic or undrawn. | Page-fit native atoms without syntax bias. |+| Compose | Assemble the resolved topology from its independent atoms, then establish page frame, scale, z-order, and negative space. Keep text, images, icons, data marks, and non-merged accents outside Boolean operands. | Relationship-faithful assembly inside one page-level geometry system, not unrelated decorations. || Materialize | Run the preset helper for each adopted preset. Run the Boolean helper only for contours that require Merge Shapes semantics, then replace those operands with its stdout paths. | Valid authoring SVG ready for native export. |+**Reference — not a constraint**: At topology scale, compare independent pieces,+one body with dividers, overlapping siblings, fitted joints, intentional gaps,+and independently retained `fragment` regions. These are common assembly+strategies rather than an exhaustive set. Choose from component independence+and contour / region semantics; never map a topology name to a shape list or+infer equal size or spacing.+**Composition lenses — not a checklist**:| Lens | Use when it strengthens the resolved page |@@ -432,15 +439,17 @@ reads correctly at slide scale.### 7.3 Fragment as a modelling tool, not just a boolean-`fragment` (§6) is the fastest way to build layered diagrams from one silhouette:-lay evenly distributed bars across a triangle and fragment it into pyramid tiers;-cross a circle with two bars for a quadrant wheel; slice an annulus radially for-ring segments. Every piece inherits the parent contour, so the assembly stays-perfectly registered — impossible to achieve by drawing the tiers separately.--Distribute the cutting bars with a constant step before fragmenting; uneven tiers-read as a mistake rather than a hierarchy. Paint the resulting pieces with one-gradient family per §7.1 so the stack reads as a single solid.+`fragment` (§6) can build registered layered diagrams from one silhouette:+cross a triangle with topology-derived bars for pyramid tiers; cross a circle+with two topology-derived bars for a quadrant wheel; slice an annulus radially+for ring segments. These are construction examples rather than topology+defaults or an exhaustive set. Every retained piece inherits the parent contour,+so the assembly stays registered without independently redrawing its parts.++Derive cutter count, position, and piece size from the resolved topology. Use a+constant step and one §7.1 gradient family only when equal tier / segment weight+and one-solid reading are semantic; otherwise preserve the required differences+in geometry and paint.### 7.4 Soft edges without the soft-edge effect