← 返回 Skills 市场
yaodongcheng

PPT生成兼容性修复

作者 Yao Dongcheng · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
83
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pptxgenjs-compat
功能描述
This skill should be used when generating PPT files with pptxgenjs (Node.js library). It provides a complete workflow for creating PowerPoint-compatible PPTX...
安全使用建议
This skill appears to implement the advertised pptxgenjs fixes, but it has behaviors that could unexpectedly modify or destroy content: 1) The included Python script will, by default, overwrite the input PPTX if you don't supply an output path — always run it on a copy first. 2) The script unconditionally removes any files whose names contain 'notesSlide' or 'notesMaster' from the archive (it does not check whether they are actually broken) — if you rely on speaker notes, back them up. 3) The fixer replaces certain theme font tokens with 'Microsoft YaHei' globally; this may alter text appearance for non-CJK presentations. Recommendations before installing/using: run the script on sample/copied PPTX files to verify results, review the script source (scripts/fix_pptx_compatibility.py) and adapt the notes-removal logic if you need to preserve notes, and always provide an explicit output path to avoid accidental overwrites. If you want stronger guarantees, request a version that preserves notes by checking whether the notes files are actually referenced/broken rather than removing them unconditionally.
功能分析
Type: OpenClaw Skill Name: pptxgenjs-compat Version: 1.0.0 The skill provides a utility to fix well-documented XML defects in PowerPoint files generated by the pptxgenjs library. The core logic in scripts/fix_pptx_compatibility.py uses standard Python libraries (zipfile, ElementTree, re) to sanitize XML content within the PPTX archive, addressing issues like phantom slideMaster overrides and invalid font references. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description claim a post-processing workflow for pptxgenjs-generated PPTX files; the included Python fixer implements the described fixes (Content_Types, invalid fonts, dirty=, p14:modId, zero extents, empty elements). The requested capabilities (none) align with the stated purpose. Minor mismatch: SKILL.md states removing broken notes files and cleaning .rels, but the script actually excludes all files whose names contain 'notesSlide' or 'notesMaster' (removes them unconditionally), which may remove valid user notes.
Instruction Scope
SKILL.md instructs the agent/user to run python scripts and to post-process output; the script does exactly that and contains no network calls. However the runtime behavior is broader than the prose implies: the script unconditionally excludes (deletes) any archive members matching 'notesSlide' or 'notesMaster' rather than detecting and removing only broken ones, replaces certain theme font tokens with 'Microsoft YaHei' globally (which may be undesirable for non-CJK content), and will overwrite the input file in-place by default. Those actions can cause data loss or unexpected content changes and are not sufficiently emphasized in the instructions.
Install Mechanism
Instruction-only skill with a bundled Python script; no install spec, no external downloads, no additional packages required beyond Python standard library (zipfile, xml.etree, re, shutil). This is low install risk.
Credentials
No environment variables, no credentials, no external endpoints requested. The script runs locally on the provided PPTX file only.
Persistence & Privilege
The skill does not request persistent installation, 'always' is false, and it does not modify other skills or system-wide settings. It does, however, overwrite files in-place by default if an output path is not supplied — a functional risk but not a privilege escalation.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pptxgenjs-compat
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pptxgenjs-compat 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
pptxgenjs-compat 1.0.0 - Initial release of the pptxgenjs compatibility workflow skill. - Documents 6 known pptxgenjs defects that trigger PowerPoint repair dialogs and how to fix them. - Provides API usage guidelines to minimize compatibility issues when generating PPTX with pptxgenjs. - Introduces a mandatory post-processing Python script (`fix_pptx_compatibility.py`) to repair generated PPTX files. - Includes verification and troubleshooting steps to ensure true PowerPoint compatibility.
元数据
Slug pptxgenjs-compat
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

PPT生成兼容性修复 是什么?

This skill should be used when generating PPT files with pptxgenjs (Node.js library). It provides a complete workflow for creating PowerPoint-compatible PPTX... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。

如何安装 PPT生成兼容性修复?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install pptxgenjs-compat」即可一键安装,无需额外配置。

PPT生成兼容性修复 是免费的吗?

是的,PPT生成兼容性修复 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

PPT生成兼容性修复 支持哪些平台?

PPT生成兼容性修复 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 PPT生成兼容性修复?

由 Yao Dongcheng(@yaodongcheng)开发并维护,当前版本 v1.0.0。

💬 留言讨论