morph-ppt
它能做什么
这个技能指导智能体制作使用 PowerPoint 的 Morph 切换效果的 .pptx 文件。适合希望幻灯片之间有连续动态效果的演讲者。
适用场景
- ✓当你希望形状在两张幻灯片之间平滑地移动或放大时。
- ✓当你想要类似 Keynote 风格、带有连续动态的切换效果时。
- ✓当你希望把一组动画幻灯片制作成 PowerPoint 文件时。
技能链接
https://github.com/iOfficeAI/OfficeCLI/blob/main/skills/morph-ppt/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“能做一个 5 张幻灯片的演示吗?让标志在各张幻灯片之间用 Morph 平滑地放大并移动。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会为形状命名,使它们能在各张幻灯片之间对应起来,设置 Morph 切换,并用 officecli 制作演示文稿。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
OfficeCLI Morph-PPT Skill
This skill is a scene layer on top of officecli-pptx. Every pptx hard rule — visual delivery floor (title ≥ 36pt / body ≥ 18pt / title ≥ 2× body), 12-column grid on 33.87×19.05cm, canonical palettes, chart-choice decision table, connector canon, shell escape, resident + batch, Delivery Gate 1–5a — is inherited, not re-taught. This file adds only what Morph needs on top: cross-slide shape-name binding, Scene Actors vs content prefixing, ghost discipline, transition=morph CLI quirks, 52-style visual library lookup, and a morph-specific fresh-eyes Gate 5b extension.
When the pptx base rules cover it, the text here says → see pptx v2 §X. Read skills/officecli-pptx/SKILL.md first if you have not.
Setup
If officecli is missing:
- macOS / Linux:
curl -fsSL https://d.officecli.ai/install.sh | bash - Windows (PowerShell):
irm https://d.officecli.ai/install.ps1 | iex
Verify with officecli --version (open a new terminal if PATH hasn't picked up). If install fails, download a binary from https://github.com/iOfficeAI/OfficeCLI/releases.
⚠️ Help-First Rule
This skill teaches the Morph workflow — when shape names must match, when to ghost, when the CLI auto-prefixes — not every command flag. When a prop name, enum, or preset is uncertain, consult help BEFORE guessing.
officecli help pptx slide # authoritative for: transition, advanceTime, advanceClick, background
officecli help pptx transition # transition / transitionDuration / transitionSpeed (Parent: slide)
officecli help pptx shape # name, preset, x/y/width/height, fill, rotation, opacity, animation
officecli help pptx animation # preset + trigger + duration values
officecli help pptx <element> --json # machine-readable schema
Help reflects the installed CLI version. When skill and help disagree, help wins. Every --prop X= in this file is grep-verified against officecli help pptx <element>. Specific confirmations: transition=morph is a listed value on slide; advanceTime / advanceClick are valid. transition is a real element (officecli help pptx transition, Parent: slide, set/get) — it exposes transition, transitionDuration, and transitionSpeed. Set the transition with the high-level path set <slide> --prop transition=morph; tune speed/duration with the combined shorthand transition=morph-slow (or -fast, or transition=morph-<DUR_MS>). Speed/duration are set only via that shorthand on the transition prop, not as independent sub-props. Both round-trip on readback: transition=morph-slow/-fast reads back as transitionSpeed=slow/fast, and transition=morph-<DUR_MS> (e.g. morph-1500) reads back as transitionDuration=1500.
Mental Model & Inheritance
Inherits pptx v2. You should have read skills/officecli-pptx/SKILL.md first. This skill assumes you know how to: add slides + shapes + charts + connectors; address by @name= / @id=; quote paths; use batch heredocs; use tailEnd=triangle on flow connectors; run the Delivery Gate 1–5a; attribute [AGENT-ERROR] vs [RENDERER-BUG] vs [SKILL gap]. If any of those are unfamiliar, read pptx v2 first.
Inherited from pptx v2 (do NOT re-teach):
- Visual delivery floor — title ≥ 36pt / body ≥ 18pt / title ≥ 2× body, cover-richness, contrast floor, no
\$\t\nliterals, ≤ 1 animation per slide / ≤ 600ms. - Grid math — 33.87 × 19.05cm, edge margin ≥ 1.27cm, inter-block gap ≥ 0.76cm, ≥ 20% negative space. For N-card grids:
col = (33.87 − 2·margin − (N−1)·gap) / N. - Four canonical palettes (Executive navy / Forest & moss / Warm terracotta / Charcoal minimal) — morph decks may pick a different mood from
reference/styles/, but contrast rules still apply. - Chart-choice table — column vs bar vs line vs pie vs scatter vs large-text KPI;
> 3 series + > 8 categories= split. - Connector canon —
shape=straight|elbow|curve,@id=for from/to (C-P-6),tailEnd=triangleon every flow. - Shell escape 3-layer —
$single-quoted, heredocs for batch,<a:br/>for real newlines. - Resident mode + batch ≤ 12 ops,
<<'EOF'single-quoted delimiter. - Delivery Gate 1-5a (schema, token grep, hyperlink rPr, slide-order, dark-on-dark) — every gate prints OK before declaring done.
- Known Issues C-P-1..7 (hyperlink rPr, chart spPr warning, animation duration readback, animation remove, connector enum, connector
@name=, chart color renderer normalization). - Attribu
常见问题
为什么形状名称很重要?
技能说明,Morph 会按名称在幻灯片之间匹配形状,因此名称必须保持一致。
需要 officecli 吗?
需要。技能使用 officecli,并包含适用于 macOS、Linux 和 Windows 的安装步骤。
它是基于 PowerPoint 技能的吗?
是的。它以通用 PowerPoint 规则为基础,只补充 Morph 所需的内容。
详情
作者的原始描述
Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style transition', 'animated slide sequence', 'shape continuity across slides'. Output is a single .pptx. This skill is a scene layer on top of officecli-pptx — inherits every pptx v2 rule (visual floor, grid, palettes, connector canon, Delivery Gate 1–5a). DO NOT invoke for a generic deck, p
repo: iOfficeAI/OfficeCLI
热度
- GitHub 星标
- 33k
- 排名
- #9129
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/30
评论
- …
同一仓库的更多技能
officecli
33k帮你的智能体用 officecli 工具创建、读取、检查和编辑 Word、Excel、PowerPoint 文件,无需安装 Office。
morph-ppt-3d
33k帮你的智能体制作带有 3D GLB 模型、并在幻灯片之间使用流畅 Morph 切换效果的 PowerPoint 演示文稿。
officecli-academic-paper
33k帮你的智能体把研究论文、学位论文或书稿排版成 Word 文件,包含引用、公式和期刊式版式。
officecli-data-dashboard
33k帮你的智能体把 CSV 或表格数据做成 Excel 仪表板,包含 KPI 卡片、图表和首先打开的工作表。