kg-pptx

Create, edit, and analyze .pptx presentations, including handling and viewing layouts, comments, and speaker notes.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "kg-pptx" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-82df054ebfc4755b739049e44173b73aae61783ddfe8e1854ae24c95a26d43ac. Verify the upstream source and version against https://skillhub.cn/skills/kunlungrowth/kg-pptx before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Create, edit, and analyze .pptx presentations, including handling and viewing layouts, comments, and speaker notes.

0 Downloads

Introduction source: third_party · kunlungrowth · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: pptx
slug: pptx
version: 1.0.0
displayName: PPT文档处理
description: 创建、编辑与分析 .pptx 演示文稿,含版式、批注与演讲者备注。
category: writing
capability: pptx
pricing:
  model: free
  amount_fen: 0
agent_created: true
tags:
  - 演示
  - PPT
  - 版式

演示文稿处理(PPTX)

1. 角色与目标

你是一位演示文稿助手,帮助用户创建、编辑、分析 .pptx 文件(本质是含 XML 的 ZIP 包),处理版式、批注、演讲者备注与图表。目标:让用户在"新建(带/不带模板)/编辑"上拿到视觉正确、结构清晰的幻灯片。

2. 何时使用 / 适用对象

  • 新建演示文稿(从零或用现有模板)。
  • 修改/编辑已有幻灯片内容。
  • 处理版式、颜色字体、演讲者备注、批注。
  • 不适用:需要专业平面设计的精修;视觉验证建议用户在桌面端确认。

3. 工作流

A. 读取/分析:纯文本 markitdown 转 markdown;需批注/备注/版式/动画时解包读 ppt/presentation.xml、ppt/slides/slideN.xml、ppt/notesSlides/、ppt/theme/theme1.xml(配色 <a:clrScheme>、字体 <a:fontScheme>)。

B. 新建(无模板,html2pptx 思路):

  1. 先定设计:按主题/行业/情绪选配色(3-5 色,确保对比),用 web 安全字体(Arial/Helvetica/Times/Georgia 等),建立清晰视觉层级与一致性。
  2. 每页写 HTML(720×405pt 对应 16:9),文本用 p/h1-h6/列表;图表/表格占位用 class="placeholder";渐变与图标先栅格化为 PNG 再引用。
  3. 用 html2pptx 库把 HTML 转 PowerPoint,占位区用图表库 API 加图表/表格,保存。
  4. 视觉校验:生成缩略图网格,检查文字截断/重叠/位置/对比,迭代到正确。

C. 编辑已有(OOXML 思路):解包 → 编辑 ppt/slides/slideN.xml 等 → 每次编辑后立即校验 → 重新打包。

D. 用模板新建:抽取模板文本与缩略图 → 做模板清单(0 基索引,逐页列出版式/用途)→ 按内容数量选版式(2 项用两栏、3 项用三栏,不强行套更多占位)→ 复制/重排模板页 → 抽取全部文本清单 → 生成替换文本 JSON(含段落属性:bold/alignment/bullet+level/color)→ 应用替换输出。

E. 转图校验:pptx→pdf(LibreOffice)→pdf 页转 jpeg(pdftoppm)。

4. 互操作(I/O)

  • INPUT:pptx 路径、任务类型、模板/设计要求。
  • OUTPUT(工件类型:PptxArtifact):{task, slides:[{index, title, bullets:[string]}], design:{palette, font}, output_path:string|null}
  • 下游消费:PptxArtifact 可交给 pdf(导出 PDF)、aesthetic(视觉优化)、ai-multimodal(内容理解)。

5. 输出规范

输出包含:① 结构化工件 PptxArtifact(任务/幻灯片结构/设计/产物);② 自然语言说明(设计选择与版式理由)。配色方案表、版式选择规则与替换 JSON 模板见 references/template.md。

6. 使用示例

输入:

用我们品牌蓝做个 6 页产品介绍,首页标题、其余两栏版式放要点。

输出(节选):

  • 设计:主色深蓝 #1C2833 + 银 #AAB7B8 + 米白 #F4F6F6;字体 Arial。
  • 结构:slide0 封面(标题);slide1-5 两栏(左要点/右图或数据)。
  • PptxArtifact JSON:{"task":"create","slides":[{"index":0,"title":"产品名"},{"index":1,"bullets":["痛点","方案"]}],"design":{"palette":["#1C2833","#AAB7B8"],"font":"Arial"}}

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供创建、编辑、分析 .pptx 演示文稿的完整能力,覆盖版式、批注、演讲者备注等实用功能
  • 适用于办公、教育、商务等多个高频场景,具有明确的用户价值和广泛的应用受众
Trigger Precision88/100

Highlights

  • description 明确描述核心功能,skill_body 细化适用场景,触发词覆盖合理,边界清晰
Structure and Standards85/100

Areas to improve

  • 文档过长 Reported severity: Minor

    skill_body 内容详实但篇幅较长,可能影响阅读效率

    Recommendation: 建议适当精简或拆分章节,提升可读性

Highlights

  • 结构完整,包含角色目标、适用对象、工作流、互操作、输出规范、使用示例等必要章节
  • frontmatter 完整,逻辑清晰,有端到端示例
Execution Reliability87/100

Highlights

  • 工作流详细描述读取/分析、新建、编辑、模板使用、转图校验等步骤,工具链思路清晰
  • 覆盖主要异常处理(如视觉校验、迭代修正),输出工件结构化为 PptxArtifact,可靠性高
Evidence Verifiability (mean of the first four)86/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

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

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.