Excel To Ppt logo

Excel To Ppt

Community
miciatefara58
excel-to-ppt

把 Excel 数据表(方案表、计划收集表、汇总表、指标看板等)提炼成浅底「墨金」风格的汇报 PPT——标题区 + 深色 KPI 横条 + 三张原则卡片(卡内嵌瀑布图/条形对标/清单/甘特),深色横条与卡片金线全部原生可编辑,备注栏附讲稿。先用脚本侦察工作簿、把数字验算成断言,再按「总览→清单→构成→结构→对标→动作→风险→其余→决策」九页骨架出稿,最后用本机 PowerPoint 逐页渲图目视 QA。当用户说「把这张 Excel 做成 PPT」「表里的方案提炼成汇报」「按这个表出汇报稿」「Excel 转 PPT」「数据表做高大上 PPT」时使用;也用于已有一版汇报稿的改字、改数、加页、换配色后另出版本。不适用于:纯图表复刻、图片型 PPT 还原(用 image2ppt)、只出一页的原则说明(用 onepage-exec-ppt)。

Overview

Publishermiciatefara58
Repositoryacademic-paper-skills
Skill nameexcel-to-ppt
Stars
26
Forks
7
Bundled files
7
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by miciatefara58 on GitHub. Read the source before you install it.

Installation

Install the Excel To Ppt AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/miciatefara58/academic-paper-skills/tree/main/skills/excel-to-ppt
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/miciatefara58/academic-paper-skills.git /tmp/academic-paper-skills
mkdir -p .claude/skills
cp -r /tmp/academic-paper-skills/skills/excel-to-ppt .claude/skills/excel-to-ppt
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Excel To Ppt in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Excel To Ppt on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Excel To Ppt is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Excel → 汇报 PPT(excel-to-ppt)

设计系统与版式取自实测模板(《2026年度调薪总体原则》),已固化为 scripts/pptkit.py。 坐标一律用 pt(1pt = 1/72in,页面 960×540pt = 13.333×7.5in),模板坐标可直接照抄。

硬性规则

  1. 数字只能来自表,且必须可验算。 写进脚本的数据区后面跟 assert(分项合计、占比、差额、去重后人数)。算不平就停下查源表,不要为了好看改数。
  2. 源表口径不一致时,照实呈现 + 脚注点明。 两套口径(记录/去重、含/不含总公司)不要混算,页面上标清「口径」,交付说明里单列疑点。
  3. 第 1 页必须是总览(横条 + 三卡),能单独当一页汇报用;后面才是展开页。不放封面页、不放目录。
  4. 不覆盖已有文件;输出放源文件同目录或用 PPT_OUT 指定。 中间产物(PNG/PDF/临时稿)放临时目录。
  5. 全部原生可编辑。 形状 + 文本框,不贴整页图。中文 微软雅黑,数字 Bahnschrift SemiBold。
  6. 页面放结论,细节进备注。 每页 d.notes() 写 2–4 句讲稿,照着可念。
  7. 出稿必过目视 QA。 必须用 render_qa.ps1 导出 PNG 逐页看,不许只看代码就交付。

工作流(命令级)

bash
S=.agents/skills/excel-to-ppt/scripts          # 按实际工作区根调整
PY="python"                                     # 用工作区 Python(需 openpyxl/python-pptx/lxml)

# 1) 侦察工作簿:有哪些 sheet、哪个是目标表
$PY $S/xlsx_profile.py "表.xlsx"

# 2) 提取目标表全量(含合并区、数值体检:列合计 / 合计行是否等于分项之和)
$PY $S/xlsx_profile.py "表.xlsx" --dump "改善方案"

# 3) 写 build.py:数据区抄进去 + assert 验算 + 按下方「页面配方」排页
#    (直接复制 examples/wuheyi_migration.py 改数据与文案最快)
PPT_OUT="D:/工作/输出" $PY build.py

# 4) 渲染 QA(先建好目录)
mkdir -p "D:/工作/输出/png"
PPTKIT_SRC="D:/工作/输出/xxx.pptx" PPTKIT_OUT="D:/工作/输出/png" \
  powershell -NoProfile -ExecutionPolicy Bypass -File $S/render_qa.ps1

# 5) 逐页看图,按 reference/qa-checklist.md 修到干净;定稿导 PDF
PPTKIT_SRC="D:/工作/输出/xxx.pptx" PPTKIT_PDF="D:/工作/输出/xxx.pdf" \
  powershell -NoProfile -ExecutionPolicy Bypass -File $S/export_pdf.ps1

设计令牌(照抄,不要自创)

项值
底 / 主文字 / 正文 / 次要FFFFFF / 1E232B / 4A505A / 8A9099
金B8935A 主金、D6BC88 淡金、8F6E38 金文字、E6CC98 深底金字
暖色底F7F1E6(标签底)、F8F6F2(斑马行/高亮条)、F0EEEA(灰轨道)
线与负值E4E2DD 发丝线、C9C6C0 次级线、B0453A 负值/风险
字号标题 28 · 副标 12.5 · 横条数字 33 · 卡号 24 · 卡名 18 · 论述 11 · 标签 9.5 · 脚注数字 21 · 小字 8.5/8
栅格边距 30.2;横条 y=95 h=79.2;卡片 y=187.2,287.8×305.3,间距 18.1;页脚线 y=516
手法深色横条=三段横向渐变 161B24→242C39→2F3949 + 阴影;顶线=2.5pt 金色渐变;卡片=白底 + E4E2DD 1pt 边 + 9% 投影 + 金顶线

页面配方(数据形态 → 页型)

数据长什么样用哪种页调用
一个总量 + 两三个关键数总览:band + 三张 cardband() / card() + bars/waterfall/bullets
逐条清单(10 行上下)清单表:深色表头 + 斑马行 + 合计行 + 页底三数table() + stat_strip()
分类/分层,每类「差什么」三卡 + 打勾清单checklist()
多主体归属关系五列结构卡(列头:名称/人数/单位数,列内小卡)手排(见示例第 4 页)
多组「现状 vs 调整后」双条对标 + 右侧圆环面板手排(见示例第 5 页)或 bars()
有时间顺序的动作甘特:左侧动作卡 + 时间轴条 + 右判据列gantt() + milestone()
前置条件/风险横条 + 三卡(硬约束用 B0453A 点出)card() + bullets()
剩下的量怎么处置横条 + 三卡 + 一行「账要平」card() + 一行加总校验
需要拍板的选择三张决策卡 + 深色结论条 + 下一步时点手排(见示例第 9 页)

文案预算(超了必换行/升页)

  • 标题 ≤ 14 字(28pt,单行);副标 ≤ 40 字(12.5pt)
  • 卡名 ≤ 6 字;标签 ≤ 5 字;论述 ≤ 2 行、每行 ≈ 22 字(11pt / 250pt 宽)
  • 高亮 ≤ 18 字;info ≤ 26 字;要点 ≤ 3 条、每条 ≤ 18 字;统计脚 3 个、数值 ≤ 5 字
  • 中文断行:论述用字符串列表按行硬断,避免「,。」出现在行首(见 pitfalls)

坑(详见 reference/pitfalls.md)

  1. python-pptx 的 adjustments 会 ×100000:BLOCK_ARC 角度要传 角度×0.6,否则圆环画成整圈。
  2. .ps1 必须是 纯 ASCII(PowerShell 5.1 按 ANSI 读,中文会把引号弄坏);路径靠环境变量传,别拼 \t。
  3. 沙箱下 New-Item/makedirs 可能被拒:目录先用 bash 的 mkdir -p 建好,产物写 PPT_OUT 指定的可写目录。
  4. 表格列宽合计必须等于 CW(899.5),table() 会断言。
  5. 横条只有 2 个 KPI 时用「KPI–chevron–KPI–chevron–圆环」,别再加分隔竖线(会跟箭头挤在一起)。
  6. 卡片标题自动降字号(18→14),但降到底还放不下就是文案病,改短别硬塞。

文件

  • scripts/pptkit.py:设计系统库(Deck:header/footer/band/card/bars/waterfall/bullets/checklist/swap/table/stat_strip/gantt/milestone/notes/save)
  • scripts/xlsx_profile.py:工作簿侦察 + 单表 dump + 数值体检
  • scripts/render_qa.ps1 / scripts/export_pdf.ps1:PowerPoint COM 渲图 / 导 PDF(纯 ASCII)
  • examples/wuheyi_migration.py:九页完整样板(改数据即复用)
  • reference/qa-checklist.md:逐页目视检查清单
  • reference/pitfalls.md:踩坑全表

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Excel To Ppt AI skill do?

把 Excel 数据表(方案表、计划收集表、汇总表、指标看板等)提炼成浅底「墨金」风格的汇报 PPT——标题区 + 深色 KPI 横条 + 三张原则卡片(卡内嵌瀑布图/条形对标/清单/甘特),深色横条与卡片金线全部原生可编辑,备注栏附讲稿。先用脚本侦察工作簿、把数字验算成断言,再按「总览→清单→构成→结构→对标→动作→风险→其余→决策」九页骨架出稿,最后用本机 PowerPoint 逐页渲图目视 QA。当用户说「把这张 Excel 做成 PPT」「表里的方案提炼成汇报」「按这个表出汇报稿」「Excel 转 PPT」「数据表做高大上 PPT」时使用;也用于已有一版汇报稿的改字、改数、加页、换配色后另出版本。不适用于:纯图表复刻、图片型 PPT 还原(用 image2ppt)、只出一页的原则说明(用 onepage-exec-ppt)。

Why use Excel To Ppt on TypingMind?

Because you install it once and use it with any model. Excel To Ppt is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Excel To Ppt in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/miciatefara58/academic-paper-skills/tree/main/skills/excel-to-ppt. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Excel To Ppt?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Excel To Ppt?

As many as you like. As long as a model supports skills, you can use Excel To Ppt with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Excel To Ppt AI skill free?

It is published on GitHub by miciatefara58. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇