deckrefresh

DeckRefresh 专用技能,帮助 AI Agent 高效完成与 DeckRefresh 相关的任务。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "deckrefresh":https://skillpi.com/zh/skills/deepskill-7d063d8ff713521a27f02ed487e2b93203909f2793ce8808be2f6c1becfea7f0。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/deck-refresh-a2uf。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

DeckRefresh 专用技能,帮助 AI Agent 高效完成与 DeckRefresh 相关的任务。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: DeckRefresh
slug: deck-refresh
version: 1.0.0
displayName: DeckRefresh
description: >
  DeckRefresh专用技能,帮助AI Agent高效完成相关任务。
summary: "DeckRefresh专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

Deck Refresh

Update numbers across the deck. The deck is the source of truth for formatting; you're only changing values.

Preflight: Dependency Check

Before starting (chat environment only), verify the required Python library is installed and install it if missing.

python3 -c "import pptx" 2>/dev/null || python3 -m pip install python-pptx
Library / Tool Purpose Required
python-pptx Read the uploaded .pptx, edit text runs / table cells / chart data, and write the refreshed deck back out Yes (chat path)

Important: Do not skip this step — the chat-mode edit workflow will fail without python-pptx. Office JS environment (PowerPoint Add-in) has no Python dependency.

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 $485M is 14pt navy bold inside a sentence, $512M is 14pt navy bold inside the same sentence.
  • Table cell — change the cell, leave the table alone.
  • Chart data — update the underlying series values so the bars/lines actually move. Editing just the label without the data leaves a chart that lies.

Don't reformat anything you didn't need to touch. The deck's existing style is correct by definition; you're a surgeon, not a renovator.

After the last edit, report what actually happened:

Updated 11 values across 8 slides.

Changed: [the list from Phase 3, now past-tense]

Still flagged — did NOT change: Slide 3 — "+15% YoY" (derived; confirm separately) Slide 7 — "12% market share"

Run standard visual verification checks on every edited slide. A number that got longer ($485M → $1,205M) might now overflow its text box or push a table column width. Catch it before the user does.

What you're not doing

  • Not rebuilding slides — if a slide's narrative no longer makes sense with the new numbers ("margins compressed" but margins went up), flag it, don't rewrite it.
  • Not recalculating unless asked — derived numbers are the user's call. Your Phase 1 question covers this.
  • Not touching formatting — if the deck uses $MM and the user's mapping says $M, match the deck, not the mapping. Values change; style stays.

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 解决PPT数字批量更新的高频刚需场景,显著提升财报、业务汇报等场景效率
  • 功能闭环完整,涵盖数据获取、扫描定位、审批确认、执行更新全流程
触发精准95/100

亮点

  • 触发描述清晰明确,覆盖粘贴映射、上传Excel、新值列表等多种输入方式
  • 核心动词'update numbers across the deck'精准定义技能边界
结构规范95/100

待提升项

  • description重复定义 原报告严重程度:轻微

    顶层frontmatter和skill_body内部均定义了description字段,存在冗余

    改进建议:建议移除skill_body内部的description定义,保留顶层frontmatter中的定义以保持规范

  • 缺少When to Use章节 原报告严重程度:轻微

    文档实质包含了使用场景说明,但缺少明确的'When to Use'章节标题

    改进建议:建议在Phase 1前增加'When to Use'章节,提升文档结构清晰度

亮点

  • 四阶段流程设计清晰,每阶段有明确目标和出口条件
  • 包含端到端示例和前置依赖检查,文档完整度高
执行可靠90/100

亮点

  • 覆盖主要异常场景:依赖缺失自动安装、环境识别、用户审批门控
  • 不可逆操作设有审批机制,衍生数值标记提醒,视觉溢出检查完善
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 安装或获取外部依赖

    使用官方来源并锁定版本,在隔离环境检查安装脚本。当前文档检查不覆盖后续下载的代码。

    主文档提及 · 第 33 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。