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(animations): separate user guides from execution contract

hugohe3732e78babd4d
diff --git a/docs/README.md b/docs/README.md
index 7c8474b6..1803507b 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -19,6 +19,7 @@ User-facing documentation lives in this directory: English files are the canonic
| Document | Description |
|---|---|
| [Audio Narration](./audio-narration.md) | Speaker notes to per-slide narration: providers, voice cloning, timing, PPTX embedding |
+| [Transitions & Animations](./animations.md) | Default behavior and customization for page transitions and per-element entrance animations |
| [Templates Guide](./templates-guide.md) | Creating and applying brand / layout / deck templates |
## Architecture & Internals
diff --git a/docs/animations.md b/docs/animations.md
new file mode 100644
index 00000000..5604fa58
--- /dev/null
+++ b/docs/animations.md
@@ -0,0 +1,89 @@
+# Page Transitions & Element Animations
+
+[English](./animations.md) | [Chinese](./zh/animations.md)
+
+---
+
+PPT Master writes **page transitions** and optional **element entrance animations** as real PowerPoint OOXML, not embedded video. This guide covers the choices and commands users need; exact effect mappings, the complete sidecar schema, anchor rules, and package validation live in the [animation execution reference](../skills/ppt-master/references/animations.md).
+
+## Default Behavior
+
+| Layer | Default | What it means |
+|---|---|---|
+| Page transition | `fade`, 0.4 seconds | Slides change with a restrained visual transition |
+| Element entrance animation | **`none` (off)** | Each slide appears as a complete page; opt in only when a reveal sequence helps the presentation |
+
+Changing animation settings does not require regenerating the slides. Rerun `svg_to_pptx.py` against the same `svg_output/`.
+
+## Common Recipes
+
+| Goal | Command |
+|---|---|
+| Keep the defaults | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project>` |
+| Change the page transition | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t push` |
+| Remove the visual transition | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t none` |
+| Auto-advance every 5 seconds | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --auto-advance 5` |
+| Enable automatic element reveals | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto` |
+| Use one entrance effect throughout | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --animation fade` |
+| Reveal elements on click | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger on-click` |
+| Animate all elements together | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger with-previous` |
+| Slow the reveal sequence | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-duration 0.5 --animation-stagger 0.8` |
+
+Available page-transition effects are `fade`, `push`, `wipe`, `split`, `strips`, `cover`, and `random`. `-t none` removes the visual effect but does not remove an explicitly configured auto-advance timer.
+
+## Choose a Start Mode
+
+| Start mode | Behavior | Best fit |
+|---|---|---|
+| `on-click` | One content group appears per click | Live presentations where the speaker controls pacing |
+| `with-previous` | All content groups animate together when the slide appears | A single coordinated entrance |
+| `after-previous` (default) | Groups appear sequentially without clicks | Kiosk playback, walkthroughs, and narrated decks |
+
+`--recorded-narration` does not support `on-click`; use `after-previous` or `with-previous` for narrated or video-ready output.
+
+## Choose an Effect
+
+| Choice | Use it when |
+|---|---|
+| `auto` | You want PPT Master to choose suitable effects from each content group's role; this is the recommended opt-in |
+| A named effect such as `fade`, `wipe`, `fly`, or `zoom` | You want one consistent entrance style across the deck |
+| `mixed` | You need the legacy deterministic effect rotation |
+| `random` | You want deterministic variation from the supported legacy pool |
+| `none` | You want to disable element animation |
+
+The complete supported effect list and its exact PowerPoint mapping belong to the [animation execution reference](../skills/ppt-master/references/animations.md), so the user guide does not duplicate that contract.
+
+## Customize Specific Objects
+
+Use `animations.json` only when deck-wide settings are not enough—for example, title first, chart second, conclusion last. The easiest path is to generate a complete scaffold from the actual slide groups, edit it, validate it, and export:
+
+```bash
+python3 skills/ppt-master/scripts/animation_config.py scaffold <project>
+python3 skills/ppt-master/scripts/animation_config.py validate <project>
+python3 skills/ppt-master/scripts/svg_to_pptx.py <project>
+```
+
+The generated sidecar targets stable top-level `<g id="...">` content groups. Common per-object fields are:
+
+| Field | Purpose |
+|---|---|
+| `effect` | Override the entrance effect; use `none` to keep that object static |
+| `order` | Change reveal order without changing slide layer order |
+| `delay` | Add a pause before the object in `after-previous` mode |
+| `duration` | Override that object's scheduled entrance duration |
+
+When a user asks the AI to tune individual objects, use the [`customize-animations`](../skills/ppt-master/workflows/stages/customize-animations.md) stage. The full sidecar schema and target-validation rules remain in the [animation execution reference](../skills/ppt-master/references/animations.md).
+
+## Validation & Compatibility
+
+PPT Master validates animation settings strictly: unknown effects or Start modes, invalid timing values, missing slide/group references, and attempts to animate structural objects fail instead of silently changing behavior. Export also reads the candidate PPTX back before replacing an existing output.
+
+| Boundary | User-facing consequence |
+|---|---|
+| Animation target | Element animation operates on logical top-level content groups, not every SVG atom |
+| Static structure | Backgrounds, Master/Layout content, placeholders, and page chrome remain static |
+| Output route | Animation exists in the native PPTX generated from `svg_output/`; `svg_final/` is a static preview |
+| Existing PPTX routes | Template Fill and Native Enhance preserve source object animation rather than translating it into this generated-deck model |
+| Playback compatibility | Microsoft PowerPoint desktop is the primary validation target; Keynote, WPS, LibreOffice, and older Office versions may remap or omit individual effects |
+
+For the full CLI reference, see [`svg-pipeline.md`](../skills/ppt-master/scripts/docs/svg-pipeline.md). For exact effect definitions, sidecar requirements, anchor fallback logic, and OOXML read-back rules, see the [animation execution reference](../skills/ppt-master/references/animations.md).
diff --git a/docs/audio-narration.md b/docs/audio-narration.md
index 5237cb44..ad06c29e 100644
--- a/docs/audio-narration.md
+++ b/docs/audio-narration.md
@@ -170,6 +170,6 @@ Once the narrated PPTX is in `exports/`, PowerPoint exports it as a video native
**Tips**:
- **No mic, no recording session needed** — the audio is generated, not recorded, so re-runs are deterministic.
-- **Animations are preserved** — page transitions and click-free per-element entrance animations from PPT Master are real OOXML and play correctly in the exported video. See [Animations & Transitions](../skills/ppt-master/references/animations.md).
+- **Animations are preserved** — page transitions and click-free per-element entrance animations from PPT Master are real OOXML and play correctly in the exported video. See [Animations & Transitions](./animations.md).
- **Want to tweak just one slide's audio?** Edit `notes/<page>.md`, re-run `notes_to_audio.py` and the embedding step, then re-export the video — total turnaround is usually under a minute per slide.
- **File size**: a 20-page deck at Full HD typically lands at 30–80 MB depending on imagery. Drop to HD if you need a smaller file for sharing.
diff --git a/docs/faq.md b/docs/faq.md
index c48f545f..564475af 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -148,7 +148,7 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-t
`on-click` is for live presentations. Narrated/video export via `--recorded-narration` rejects it because PPT Master writes page timings, not object-level click timings; use `after-previous` or `with-previous` for narrated decks.
-Full effect list, anchor logic (top-level `<g id="...">`), fallback behavior, and limitations: see [Animations & Transitions](../skills/ppt-master/references/animations.md).
+For common commands, Start-mode guidance, and object-level customization, see [Animations & Transitions](./animations.md). Exact effect and validation behavior remains in the linked execution reference.
## Q: Which AI model works best?
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 09084d46..35fd90e7 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -88,7 +88,7 @@ Exported decks carry page transitions and optional per-element entrance animatio
Animation settings are strict: unknown effects or Start modes, invalid timing values, and missing sidecar targets fail instead of silently becoming another effect. Before the result replaces an existing output, PPT Master reads the candidate package back and checks timing placement, IDs, shape targets, effects, durations, and Start modes. Microsoft PowerPoint is the primary motion-validation target; other presentation apps can open the PPTX but may map individual animation effects differently.
-Full guide → [Animations & Transitions](../skills/ppt-master/references/animations.md)
+Full guide → [Animations & Transitions](./animations.md)
---
diff --git a/docs/powerpoint-svg-mapping.md b/docs/powerpoint-svg-mapping.md
index 21966d0f..50172479 100644
--- a/docs/powerpoint-svg-mapping.md
+++ b/docs/powerpoint-svg-mapping.md
@@ -215,7 +215,7 @@ These capabilities belong to PPTX package semantics. Their absence from page SVG
| Comment or review thread | No SVG or generation-side mapping | Not authored | `Direct preservation` only when explicitly owned by another route | Do not convert review metadata into visible slide content automatically |
| Relationship not owned by a mapped feature | No generic SVG escape hatch | Not generated | `Direct preservation` where applicable | Arbitrary relationship injection is unsupported |
-See [`animations.md`](../skills/ppt-master/references/animations.md) and [`audio-narration.md`](./audio-narration.md) for the sidecar workflows.
+See [Animations & Transitions](./animations.md) (technical source: [`references/animations.md`](../skills/ppt-master/references/animations.md)) and [`audio-narration.md`](./audio-narration.md) for the sidecar workflows.
## 10. Other PowerPoint-native features
diff --git a/docs/zh/animations.md b/docs/zh/animations.md
index 9f27fd8e..d63debba 100644
--- a/docs/zh/animations.md
+++ b/docs/zh/animations.md
@@ -1,209 +1,89 @@
-# 页间转场与页内元素动画
+# 页间转场与元素动画
-PPT Master 导出的 PPTX 同时支持**页间转场**(page transition)与**页内元素入场动画**(per-element entrance animation)。两者都通过 `svg_to_pptx.py` 的 CLI 参数控制,输出为真正的 OOXML 动画,不是嵌入视频。Microsoft PowerPoint 桌面版是动效行为的主要验证目标;Keynote、WPS、LibreOffice 可以打开 PPTX,但可能以不同方式映射个别效果或 Start 语义。
+[English](../animations.md) | [中文](./animations.md)
-## 默认行为
-
-| 层级 | 默认 | 原因 |
-|---|---|---|
-| 页间转场 | `fade`,0.4 秒 | 适合大多数 deck 的中性基线 |
-| 页内元素动画 | **`none`(关闭)** | 翻到一页时整页一次性呈现。元素一个个自动级联出来是「AI 味」最重的信号,且没人主动要,所以页内动画改为按需开启。用 `-a auto`(或其它效果)开启:根据每个 group 的 SVG id 映射效果(chart→wipe、card-/step-/pillar-→fly、title/takeaway→fade),图片类 id(`hero` / `figure-` / `image` / `img-` / `kpi`)在更丰富的视觉池(zoom / dissolve / circle / box / diamond / wheel)中循环以产生 deck 内变化,未命中的 id 在 fade/wipe/fly/zoom 间循环 |
-
-修改设置只需对同一份 `svg_output/` 重跑 `svg_to_pptx.py`,无需重新跑 LLM。`-s final` 只保留给诊断对比,不能作为受支持的发布源。如要为整份 deck 开启页内动画,加 `-a auto`。
-
-## 对象级自定义动画
-
-页内元素动画默认关闭。为整份 deck 开启只需导出时加 `-a auto`(无需配置文件)。若需要更具体的演示节奏,例如标题先淡入、图表第二个出现、关键注释最后飞入,可以使用可选的 `animations.json` sidecar。SVG 仍然只保存静态视觉结构;sidecar 只控制 PPTX 导出动画。
+---
-当用户要求调整动画顺序、效果、时长或具体对象出现方式时,运行按需 [`customize-animations`](../../skills/ppt-master/workflows/stages/customize-animations.md) 阶段。
+PPT Master 会把**页间转场**和可选的**元素入场动画**写成真正的 PowerPoint OOXML,而不是嵌入视频。本文只说明用户需要做的选择和常用命令;精确效果映射、完整 sidecar schema、锚点规则与封包校验统一由[动画执行规范](../../skills/ppt-master/references/animations.md)维护。
-```bash
-# 从真实顶层 <g id> 锚点生成可编辑模板
-python3 skills/ppt-master/scripts/animation_config.py scaffold <project>
-
-# 导出前校验引用是否存在
-python3 skills/ppt-master/scripts/animation_config.py validate <project>
-
-# 导出时会自动读取 <project>/animations.json
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project>
-```
+## 默认行为
-完整 sidecar 示例(假设项目只有下面两页):
-
-```json
-{
- "version": 1,
- "defaults": {
- "transition": { "effect": "fade", "duration": 0.4 },
- "animation": {
- "effect": "auto",
- "duration": 0.4,
- "stagger": 0.5,
- "trigger": "after-previous"
- }
- },
- "slides": {
- "01_cover": {
- "transition": { "effect": "fade", "duration": 0.5 },
- "animation": {
- "effect": "fade",
- "duration": 0.5,
- "stagger": 0.3,
- "trigger": "after-previous"
- },
- "groups": {
- "cover-hero": { "effect": "zoom", "order": 2, "duration": 0.6 }
- }
- },
- "03_market": {
- "transition": { "effect": "wipe", "duration": 0.35 },
- "animation": {
- "effect": "fade",
- "duration": 0.4,
- "stagger": 0.25,
- "trigger": "after-previous"
- },
- "groups": {
- "chart": { "effect": "wipe", "order": 2, "duration": 0.6 },
- "insight": { "effect": "fly", "order": 3, "delay": 0.2 }
- }
- }
- }
-}
-```
+| 层级 | 默认 | 含义 |
+|---|---|---|
+| 页间转场 | `fade`,0.4 秒 | 页面之间使用克制的视觉过渡 |
+| 元素入场动画 | **`none`(关闭)** | 每页一次性完整出现;只有当逐步揭示确实有助于表达时才开启 |
-规则:
+修改动画设置不需要重新生成页面,只需对同一份 `svg_output/` 重跑 `svg_to_pptx.py`。
-- `defaults` 是未列页面的回退值;正式自定义配置仍应把 `svg_output/` 中的每一页都写进 `slides`。
-- `slides` key 匹配 SVG 文件 stem(`03_market.svg` → `03_market`)。
-- 每个页面都显式写完整的 `transition`、`animation` 和 `groups`;`groups` 只列真正偏离页面默认值的对象。
-- `groups` key 只能匹配可动画的顶层 `<g id="...">` 内容锚点;带 `data-pptx-layer` 或显式静态 role/placeholder 标记的 Master / Layout / 静态框架对象不属于可覆盖目标。
-- `effect: none` 会把该组移出入场动画序列。
-- `order` 必须是大于零的整数,只改变动画顺序,不改变页面图层顺序。
-- `delay` 是 `after-previous` 模式下该组开始前的秒数。
-- `duration` 覆盖该组的排程时长;`appear` 的可见性切换固定为 1ms,该值只用于计算下一条 `after-previous` 的间隔。
-- `--animation none` 覆盖 sidecar,强制关闭所有页内动画。
+## 常用操作
-## 页间转场
+| 目标 | 命令 |
+|---|---|
+| 保持默认设置 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project>` |
+| 更换页间转场 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t push` |
+| 关闭视觉转场 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t none` |
+| 每 5 秒自动翻页 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --auto-advance 5` |
+| 开启自动元素入场 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto` |
+| 全部使用同一种入场效果 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --animation fade` |
+| 单击逐个揭示元素 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger on-click` |
+| 所有元素同时入场 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger with-previous` |
+| 放慢逐步揭示节奏 | `python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-duration 0.5 --animation-stagger 0.8` |
-```bash
-# 换效果
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t push --transition-duration 0.6
+页间转场可选 `fade`、`push`、`wipe`、`split`、`strips`、`cover`、`random`。`-t none` 只关闭视觉效果,不会移除显式设置的自动翻页计时。
-# 关闭转场
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -t none
+## 选择 Start 模式
-# 每 5 秒自动翻页(展厅 / 自动循环)
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --auto-advance 5
-```
+| Start 模式 | 行为 | 适用场景 |
+|---|---|---|
+| `on-click` | 每次单击显示一个内容组 | 由演讲者控制节奏的现场演示 |
+| `with-previous` | 页面出现时所有内容组同时入场 | 一次协调完成的整体入场 |
+| `after-previous`(默认) | 各内容组无需点击,按顺序自动出现 | 展厅循环、录屏走查和旁白 deck |
-可选效果:`fade`、`push`、`wipe`、`split`、`strips`、`cover`、`random`。
+`--recorded-narration` 不支持 `on-click`;带旁白或用于视频导出的 deck 应使用 `after-previous` 或 `with-previous`。
-参数:
+## 选择动画效果
-- `-t/--transition` — 效果名,或 `none` 禁用。默认 `fade`。
-- `--transition-duration` — 秒数,默认 `0.4`。
-- `--auto-advance` — 秒数;不写则由演示者手动翻页。
+| 选择 | 适用场景 |
+|---|---|
+| `auto` | 让 PPT Master 根据内容组角色选择合适效果;这是开启元素动画时的推荐选项 |
+| `fade`、`wipe`、`fly`、`zoom` 等单一效果 | 整份 deck 需要统一的入场风格 |
+| `mixed` | 需要兼容旧版的确定性效果轮换 |
+| `random` | 需要从旧效果池中稳定地生成变化 |
+| `none` | 关闭元素动画 |
-## 页内元素动画
+完整效果清单及其精确 PowerPoint 映射属于[动画执行规范](../../skills/ppt-master/references/animations.md),不在用户指南中重复维护。
-默认关闭——用 `-a auto`(或其它效果)为整份 deck 开启。开启后共有三种 Start 模式,**与 PowerPoint 动画窗格的 Start 下拉菜单一一对应**:
+## 自定义具体对象
-- **`on-click`**(单击时)—— 进入页面 → 第一次点击显示第一个语义组,后续每次点击按 z-order 显示下一个组。适合现场演讲,演讲者控制节奏。与 `--recorded-narration` 互斥,因为带旁白的视频导出需要无点击播放。
-- **`with-previous`**(与上一动画同时)—— 所有组在进入页面时一起入场,并行播放各自的入场动画。`--animation-stagger` 不生效。
-- **`after-previous`**(默认,在上一动画之后)—— 第一组进入页面时入场,后续组在前一个结束后接着出现,并按 `--animation-stagger` 增加额外间隔。适合展厅循环、录屏走查,或者只是想看流动效果不想点击。
+只有当整份 deck 的统一设置不够用时才需要 `animations.json`,例如标题先出现、图表第二个出现、结论最后出现。最简单的方式是从真实页面分组生成完整 scaffold,修改后校验并导出:
```bash
-# 默认行为(无参数):只有页间转场,没有页内元素动画
+python3 skills/ppt-master/scripts/animation_config.py scaffold <project>
+python3 skills/ppt-master/scripts/animation_config.py validate <project>
python3 skills/ppt-master/scripts/svg_to_pptx.py <project>
-
-# 为整份 deck 开启页内动画(auto 效果 + after-previous 自动级联)
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto
-
-# 开启并改用单一效果(走 after-previous 自动级联)
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --animation fade
-
-# 开启并改为单击触发(演讲者控制节奏)
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger on-click
-
-# 自定义节奏
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> --animation mixed \
- --animation-stagger 0.6 --animation-duration 0.5
-
-# 所有组进入页面时同时入场
-python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-trigger with-previous
```
-22 种单一效果:`appear`、`fade`、`fly`、`cut`、`zoom`、`wipe`、`split`、`blinds`、`checkerboard`、`dissolve`、`random_bars`、`peek`、`wheel`、`box`、`circle`、`diamond`、`plus`、`strips`、`wedge`、`stretch`、`expand`、`swivel`。再加三种自动模式:
-
-这些 key 保留既有的 `filter + presetID + presetSubtype` tuple。`cut` 是兼容旧配置的公开 key;项目承诺保持其既有 tuple,不根据外部 preset 表推测或重命名视觉语义。
-
-- `auto`(开启时推荐)—— 按 group 的 SVG id 映射效果。信息密集元素稳定映射:`chart` / `table` / `legend` / `timeline` / `track` → `wipe`;`card-*` / `pillar-*` / `item-*` / `step-*` / `stage-*` / `tier-*` / `principle-*` → `fly`;`title` / `chapter-*` / `section-*` / `cover-*` / `tagline` / `subtitle` → `fade`;`takeaway` / `callout` / `quote` / `source` / `conclusion` / `note` → `fade`。图片类 id `hero` / `figure-*` / `image` / `img-*` / `kpi` 则在更丰富的视觉池(`zoom` / `dissolve` / `circle` / `box` / `diamond` / `wheel`)中循环,使多张图片在 deck 内呈现不同入场。未命中的 id 在 `fade` / `wipe` / `fly` / `zoom` 之间循环。
-- `mixed`(旧逻辑)—— 确定性轮换。每页第一个动画组使用 `fade`,后续组在整份 deck 范围内按 16 效果池(`blinds` / `checkerboard` / `dissolve` / `fly` / `cut` / `random_bars` / `box` / `split` / `strips` / `wedge` / `wheel` / `wipe` / `expand` / `fade` / `swivel` / `zoom`)连续轮换。保留以兼容旧配置。
-- `random` —— 从旧的 16 效果池中按有效 deck 输入使用稳定 seed 抽取;相同输入得到相同结果,启用 `--conversion-trace` 时记录每个已解析效果。
-
-所有轮换池都排除了 `appear`,因为它没有可见动画过程。
-
-参数:
-
-- `-a/--animation` — 效果名、`auto`、`mixed`、`random` 或 `none`。默认 `none`(页内动画关闭;用 `auto` 开启)。
-- `--animation-trigger` — Start 模式(与 PowerPoint 一致):`on-click`、`with-previous`、`after-previous`(默认)。
-- `--animation-duration` — 单个元素入场秒数,默认 `0.4`。
-- `--animation-stagger` — `after-previous` 模式下两组之间的额外间隔(秒,默认 `0.5`)。其他模式忽略。
-- `--animation-config` — sidecar 路径。默认自动读取 `<project>/animations.json`(如果存在)。
-
-> Note: `--recorded-narration` 会拒绝 `on-click`;带旁白的视频导出请使用 `after-previous` 或 `with-previous`。
-
-## 严格校验与导出回读
+生成的 sidecar 以稳定的顶层 `<g id="...">` 内容组为目标。常用对象级字段如下:
-动画配置不会静默换成另一个效果或触发方式。运行 `animation_config.py validate` 后,以下问题都会返回非零:
-
-| 问题 | 结果 |
+| 字段 | 用途 |
|---|---|
-| 未知效果、自动模式或 Start 模式 | 报错;不会回退为 `fade` 或 `on-click` |
-| `duration` 非有限或不大于零 | 报错;页间 `effect: none` 是兼容例外,可使用 `duration: 0` |
-| `stagger` / `delay` 非有限或小于零 | 报错 |
-| `order` 不是大于零的整数(含布尔、浮点或字符串) | 报错 |
-| `slides` / `groups` 引用不存在 | 报错并阻止导出 |
-| 顶层 `<g>` 没有 `id` | 给出警告;该组不能被 `groups` 精确引用,建议补稳定 id |
-
-导出先写候选 PPTX,再回读整个包:每页只能有一个合法的根级 `p:timing`,时间节点 ID 必须唯一,`spTgt` / `bldP` 必须指向现存 shape,效果、时长和 Start 模式必须与已解析配置一致。旁白加入音频 timing 后也走同一包级校验;任何失败都不会替换已有公开产物。
-
-## 锚点机制 — 顶层 `<g id="...">`
-
-页内动画锚定在 SVG 的**顶层 `<g id="...">` 内容组**上(如 `<g id="cover-title">`、`<g id="card-1">`),一个组对应动画窗格中的一条入场记录;是否需要点击由 Start 模式决定。
-
-每页建议 **3–8 个内容组**。这同时也是 PowerPoint 框选 / 整体移动的颗粒度,与是否启用动画无关,都能改善编辑体验。
-
-**静态结构优先于动画覆盖。** `data-pptx-layer` 明确标记 Master / Layout / 静态页面框架,永远不会成为页内动画锚点,`groups` 中的手工覆盖也不能强制开启。没有该标记时,结构角色 / placeholder 语义继续优先;只对缺少显式语义的旧 SVG 使用 id token 回退。若 id 按 `-` 和 `_` 切分后命中 `background` / `bg` / `decoration` / `decorations` / `decor` / `header` / `footer` / `chrome` / `watermark` / `pagenumber` / `pagenum` / `nav` / `logo` / `rule`,该组会跟随页面立即显示。会跳过的例子:`<g id="background">`、`<g id="cover-footer">`、`<g id="p03-header">`、`<g id="bottom-decor">`、`<g id="watermark">`、`<g id="logo-area">`。仍会动画的例子:`<g id="card-1">`、`<g id="cover-title">`、`<g id="step-discover">`、`<g id="timeline-track">`。**不要为了规避动画去掉 `<g>` 包裹**——保留分组(PowerPoint 框选需要),为静态结构使用正确的 layer / role 标记。
+| `effect` | 覆盖入场效果;设为 `none` 可让该对象保持静态 |
+| `order` | 调整揭示顺序,不改变页面图层顺序 |
+| `delay` | 在 `after-previous` 模式下增加开始前等待时间 |
+| `duration` | 覆盖该对象的入场排程时长 |
-**扁平 SVG 的回退逻辑**(顶层没有 `<g>`,只有裸 `<rect>` / `<text>` / `<path>`):
+当用户要求 AI 调整具体对象时,使用 [`customize-animations`](../../skills/ppt-master/workflows/stages/customize-animations.md) 阶段。完整 sidecar schema 与目标校验规则仍由[动画执行规范](../../skills/ppt-master/references/animations.md)维护。
-- 顶层可见图元 ≤ 8 → 每个图元作为一个锚点(设上限以避免密集页面出现 70+ 次点击)。
-- 顶层可见图元 > 8 → 该页跳过页内动画。页面照常显示,只是不带入场。
+## 校验与兼容性
-无论是否打算开启动画,Executor 都应该把逻辑分块包进 `<g id>`。`skills/ppt-master/references/shared-standards.md` 已将这一点列为强制要求。
+PPT Master 会严格校验动画设置:未知效果或 Start 模式、非法计时、缺失页面/分组引用,以及尝试给结构对象加动画都会直接失败,不会静默改成另一种行为。导出还会在替换现有产物前回读候选 PPTX。
-## 限制
-
-- **动画只写入原生 DrawingML PPTX。** 页间转场和页内元素动画都属于项目转换器从 `svg_output/` 生成的 PPTX;`svg_final/` 仍是静态视觉预览,不是带动画的替代 PPTX 路线。
-- **直接 PPTX 路线只保留对象动画。** Template Fill 与 Native Enhance 不把源 `p:timing` 翻译或重建为生成路线的效果模型;它们保留源对象动画,Native Enhance 仅在需要时合并旁白音频 timing,并在封包前校验结果。旁白合并只接受根级 `p:sld/p:timing`;若源 timing 位于 `mc:AlternateContent` 或其他非根容器中,会安全报错,不会重写或重复 timing 树。
-- **PowerPoint 是主要动效验证目标。** Keynote、WPS、LibreOffice 与较旧 Office 可能重新映射、简化或忽略部分效果;动效是交付要求时,请在 Microsoft PowerPoint 桌面版中完成最终播放检查。
-- **手工 SVG 形状转换不受支持。** 把 `svg_final/` 页面作为 SVG 图片插入 PowerPoint,不会获得元素级动画锚点;需要可编辑且可动画的形状时,请使用原生 PPTX。
-
-## 常用速查
-
-| 目标 | 命令 |
+| 边界 | 对用户的影响 |
|---|---|
-| 关闭转场 | `-t none` |
-| 切换转场效果 | `-t push`(或上文列表中任一) |
-| 转场放慢 | `--transition-duration 0.8` |
-| 自动播放 | `--auto-advance 5` |
-| 关闭页内动画 | `-a none` |
-| 改为单击触发 | `-a auto --animation-trigger on-click` |
-| 切换为单一效果 | `--animation fade` |
-| 所有组同时入场 | `-a auto --animation-trigger with-previous` |
-| 元素入场放慢 | `-a auto --animation-duration 0.5` |
-| after-previous 拉大间隔 | `-a auto --animation-stagger 0.8` |
-
-完整 `svg_to_pptx.py` 参考:[`scripts/docs/svg-pipeline.md`](../../skills/ppt-master/scripts/docs/svg-pipeline.md)。
+| 动画目标 | 元素动画作用于逻辑内容组,而不是每一个 SVG 原子 |
+| 静态结构 | 背景、Master/Layout 内容、placeholder 与页面框架保持静态 |
+| 输出路线 | 动画存在于从 `svg_output/` 生成的原生 PPTX;`svg_final/` 只是静态预览 |
+| 现有 PPTX 路线 | Template Fill 与 Native Enhance 保留源对象动画,不把它翻译成生成路线的动画模型 |
+| 播放兼容性 | Microsoft PowerPoint 桌面版是主要验证目标;Keynote、WPS、LibreOffice 与较旧 Office 可能重新映射或忽略个别效果 |
+
+完整 CLI 说明见 [`svg-pipeline.md`](../../skills/ppt-master/scripts/docs/svg-pipeline.md)。精确效果定义、sidecar 要求、锚点回退逻辑与 OOXML 回读规则见[动画执行规范](../../skills/ppt-master/references/animations.md)。
diff --git a/docs/zh/faq.md b/docs/zh/faq.md
index ef80e237..d33f35f4 100644
--- a/docs/zh/faq.md
+++ b/docs/zh/faq.md
@@ -150,7 +150,7 @@ python3 skills/ppt-master/scripts/svg_to_pptx.py <project> -a auto --animation-t
`on-click` 适合现场演示。通过 `--recorded-narration` 做旁白/视频导出时会拒绝它,因为 PPT Master 只写页面级计时,不生成对象级点击计时;带旁白的 deck 请使用 `after-previous` 或 `with-previous`。
-完整效果列表、`<g id="...">` 锚点机制、降级行为、限制:见 [转场与动画](./animations.md)。
+常用命令、Start 模式选择与对象级自定义见[转场与动画](./animations.md);精确效果与校验行为由其中链接的执行规范维护。
## Q: 推荐用什么 AI 模型?
diff --git a/skills/ppt-master/references/animations.md b/skills/ppt-master/references/animations.md
index d4b0f68a..d3616db3 100644
--- a/skills/ppt-master/references/animations.md
+++ b/skills/ppt-master/references/animations.md
@@ -1,8 +1,8 @@
# Page Transitions & Per-Element Animations
-PPT Master's exported PPTX supports **page transitions** and **per-element
-entrance animations** as real PowerPoint OOXML. Other applications may
-interpret timing differently; this contract makes no unconditional Keynote guarantee.
+Execution contract for generated-PPTX **page transitions** and **per-element
+entrance animations**. This file owns defaults, sidecar semantics, anchor
+selection, validation, and package read-back.
## 1. Defaults