deck-refresh
它能做什么
这个技能引导 AI 智能体在不重建现有演示文稿的情况下,把新数字替换进去。适合每个季度更新定期演示文稿的人。
适用场景
- ✓当你需要用新的季度数字更新演示文稿的时候。
- ✓当某个数字在许多幻灯片中都出现,你希望全部更新的时候。
- ✓当你想更新现有演示文稿中的对比或市场数据的时候。
技能链接
https://github.com/anthropics/financial-services/blob/main/plugins/agent-plugins/pitch-agent/skills/deck-refresh/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请用第四季度的数字更新这份演示文稿:收入从 4.85 亿增至 5.12 亿,EBITDA 从 1.2 亿增至 1.35 亿?”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先向你展示修改计划,包括依赖这些数字的任何数值,并等待批准。然后它在每个位置做最小的编辑,并保持格式不变。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Deck Refresh
Update numbers across the deck. The deck is the source of truth for formatting; you're only changing values.
Environment check
This skill works in both the PowerPoint add-in and chat. Identify which you're in before starting — the edit mechanism differs, the intent doesn't:
- Add-in — the deck is open live; edit text runs, table cells, and chart data directly.
- Chat — the deck is an uploaded file; edit it by regenerating the affected slides with the new values and writing the result back.
Either way: smallest possible change, existing formatting stays intact.
This is a four-phase process and the third phase is an approval gate. Don't edit until the user has seen the plan.
Phase 1 — Get the data
Use ask_user_question to find out how the new numbers are arriving:
- Pasted mapping — user types or pastes "revenue $485M → $512M, EBITDA $120M → $135M." The clearest case.
- Uploaded Excel — old/new columns, or a fresh output sheet the user wants pulled from. Read it, confirm which column is which before you trust it.
- Just the new values — "Q4 revenue was $512M, margins were 22%." You figure out what each one replaces. Workable, but confirm the mapping before you touch anything — a "$512M" that you map to revenue but the user meant for gross profit is a quiet disaster.
Also ask about derived numbers: if revenue moves, does the user want growth rates and share percentages recalculated, or left alone? Most decks have "+15% YoY" baked in somewhere that's now stale. Whether to touch those is a judgment call the user should make, not you.
Phase 2 — Read everything, find everything
Read every slide. For each old value, find every instance — including the ones that don't look the same:
| Variant | Example |
|---|---|
| Scale | $485M, $0.485B, $485,000,000 |
| Precision | $485M, $485.0M, ~$485M |
| Unit style | $485M, $485MM, $485 million, 485M |
| Embedded | "revenue grew to $485M", "a $485M business", axis labels |
A deck that says $485M on slide 3, 485 on slide 8's chart axis, and $485.0 million in a footnote on slide 15 has three instances of the same number. Find-replace misses two of them. You shouldn't.
Where numbers hide:
- Text boxes (obvious)
- Table cells
- Chart data labels and axis labels
- Chart source data — the numbers driving the bars, not just the labels on them
- Footnotes, source lines, small print
- Speaker notes, if the user cares about those
Build a list: for each old value, every location it appears, the exact text it appears as, and what it'll become. This list is the plan.
Phase 3 — Present the plan, get approval
This is a destructive operation on a deck someone spent time on. Show the full change list before editing a single thing. Format it so it's scannable:
$485M → $512M (Revenue)
Slide 3 — Title box: "Revenue grew to $485M"
Slide 8 — Chart axis label: "485"
Slide 15 — Footnote: "$485.0 million in FY24 revenue"
$120M → $135M (Adj. EBITDA)
Slide 3 — Table cell
Slide 11 — Body text: "$120M of Adj. EBITDA"
FLAGGED — possibly derived, not in your mapping:
Slide 3 — "+15% YoY" (growth rate — stale if base year didn't change?)
Slide 7 — "12% market share" (was this computed from $485M / market size?)
The flagged section matters. You're not just executing a find-replace — you're catching the second-order effects the user would've missed at 11pm. If the mapping says $485M → $512M and slide 3 also has +15% YoY right next to it, that growth rate is probably wrong now. Flag it; don't silently fix it, don't silently leave it.
Use ask_user_question for the approval: proceed as shown, proceed but skip the flagged items, or let them revise the mapping first.
Phase 4 — Execute, preserve, report
For each change, make the smallest edit that accomplishes it. How that happens depends on your environment:
- Add-in — edit the specific run, cell, or chart series directly in the live deck.
- Chat — regenerate the affected slide with the new value in place, preserving every other element exactly as it was, and write it back to the file.
Either way, the standard is the same:
- Text in a shape — change the value, leave font/size/color/bold state exactly as they were. If
$485Mis 14pt navy bold inside a sentence,$512Mis 14pt navy bold inside the same sentence. - Table cell — change the cell, leave the table alone.
- Chart data — update the underlying ser
常见问题
它会不经询问就编辑演示文稿吗?
不会。技能会展示修改计划,并在编辑前等待你的批准。
依赖已更改数字的数值怎么办?
技能会询问你关于推导数值的问题,由你决定它们是否也应更改。
我可以上传带有新数字的 Excel 文件吗?
可以。在确认哪一列是旧数据、哪一列是新数据之后,技能可以读取上传的电子表格。
详情
作者的原始描述
Updates a presentation with new numbers — quarterly refreshes, earnings updates, comp rolls, rebased market data. Use whenever the user asks to "update the deck with Q4 numbers", "refresh the comps", "roll this forward", "swap in the new earnings", "change all the $485M to $512M", or any request to swap figures across an existing deck without rebuilding it.
热度
- GitHub 星标
- 41k
- 排名
- #6587
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/28
评论
- …