← Back to Skills Marketplace
PPT生成兼容性修复
by
Yao Dongcheng
· GitHub ↗
· v1.0.0
· MIT-0
83
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pptxgenjs-compat
Description
This skill should be used when generating PPT files with pptxgenjs (Node.js library). It provides a complete workflow for creating PowerPoint-compatible PPTX...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pptxgenjs-compat - After installation, invoke the skill by name or use
/pptxgenjs-compat - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 83 downloads so far.
How do I install PPT生成兼容性修复?
Run "/install pptxgenjs-compat" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PPT生成兼容性修复 free?
Yes, PPT生成兼容性修复 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PPT生成兼容性修复 support?
PPT生成兼容性修复 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PPT生成兼容性修复?
It is built and maintained by Yao Dongcheng (@yaodongcheng); the current version is v1.0.0.
More Skills