Install
openclaw skills install @kenzje228/custom-ai-pptx-generatorCustom AI PPTX Generator — Design-driven, editable PowerPoint creation from your content. 可定制化AI 演示文稿(PPT)生成器AI-PPT workflow. This skill should be used when the user asks to create a PPT / presentation / training deck / project briefing / policy explainer from requirement n
openclaw skills install @kenzje228/custom-ai-pptx-generator---
AI PPT Designer is a content-driven presentation workflow for creating native, editable PowerPoint presentations.
It should be used when the user provides source material and wants a finished PPTX rather than a collection of slide images.
Source material + requirements
↓
1. Content analysis
↓
1.5 Design Intent Brief
↓
2. Structure confirmation ← user approval required
↓
3. ASCII storyboard ← user approval required
↓
4. Visual prototype ← user approval required
↓
5. Native editable PPTX
↓
6. Visual QA and delivery
The Design Intent Brief is a lightweight internal design-thinking step. It does not create an additional approval gate.
Analyze the user's source material, which may include text, images, email, tables, documents, or dictated requirements.
Extract:
Treat number + unit + definition/scope as a single factual unit. Preserve the exact source meaning.
If the audience is unclear, ask whether the presentation is internal or external when this affects the level of detail.
Before creating the storyboard, create one concise Design Intent Brief.
It should contain:
Rules:
Present a proposed structure and ask the user to confirm it before moving on.
Confirm:
If people or character elements are needed, clarify:
Also present a small set of plain-language style options when the user has not specified a style. Do not silently choose a style for them.
User-provided names and wording have priority over AI-generated alternatives.
Create a plain-text storyboard showing the structure of every slide.
Each slide should make clear:
visual expression:key visual idea:All wording in the storyboard should be final wording, not placeholders. The approved storyboard becomes the content contract for later production.
The storyboard must reflect the Design Intent Brief. Do not use an approach listed under Avoid.
If the user changes something at this stage, update only the affected pages or blocks. Do not rerun content analysis or recreate the Design Intent Brief unless the underlying content has changed.
The visual prototype should be a near-final representation of the approved storyboard, not a completely new design direction.
Use these inputs together:
Available visual-generation paths:
If the user indicates that the generated visuals are not satisfactory, stop repeated generation and provide copyable prompts for an external image-generation tool instead.
The prototype should be close to the intended final appearance.
When generating multiple page visuals with tools that may reuse output filenames, generate them sequentially, not in parallel, unless the tool explicitly guarantees isolated output paths.
Never trust returned filenames alone to determine page mapping. Verify each image against the intended slide content.
When AI-generated people or character elements are required:
Build the presentation using native PowerPoint objects.
Use:
The approved storyboard controls what is written. The approved visual prototype controls what it looks like. The Design Intent Brief provides the visual rationale.
External image-generation tools may alter wording or numbers. Never treat generated image text as the source of truth.
When practical, create an additional ASCII-named render copy for PowerPoint rendering workflows that have problems with non-ASCII paths.
For 16:9 presentations, use a 13.333 × 7.5 inch canvas unless the user specifies another format.
Build each page as an independent page function where practical, and keep reusable helpers for text, shapes, connectors, backgrounds, and icons.
Perform visual and technical checks before final delivery.
Preferred Windows PowerPoint QA:
Deliver:
\_v2 or preserve a draft0.The reference implementation was developed for Windows with Python and PowerPoint.
Typical environment:
python-pptxDo not assume the author's local absolute paths exist on another machine. Prefer project-relative paths and environment variables.
For PowerShell scripts:
powershell -NoProfile -ExecutionPolicy Bypass -File <path>
Avoid complex inline PowerShell commands when a script file can be used instead.
When using PowerPoint COM:
Presentation.Close() and Application.Quit() in a try/finally-style cleanup.Get-Process POWERPNT | Stop-Process -ForceThe reference implementation may include:
| Script | Purpose |
|---|---|
deck\_ssc\_v1.py | Example native PPTX builder structure |
deck\_qianti\_v2.py | Example alternative visual builder |
export\_png\_template.ps1 | Safe PowerPoint COM PNG rendering template |
bissect.py | Incremental diagnosis of PowerPoint/XML corruption |
test\_sync.py / test\_sync2.py | Same-size icon comparison tests |
sample\_ssc\_colors.py | Color sampling from visual references |
cutout.py | Image cutout / alpha-processing pipeline |
Reuse these scripts as references rather than assuming their original project content should be copied into every presentation.
If Python and ZIP validation succeed but PowerPoint reports an XML-related corruption error:
ppt/slides/slideN.xml.bissect.py to isolate the smallest problematic change.Known historical failure patterns include invalid alpha values and duplicated shape adjustment nodes.
Test candidate icons at their final rendered size rather than evaluating only large source assets.
Avoid creating zero-size or otherwise invalid empty text runs when a paragraph only needs to be empty. Use valid paragraph properties instead.
Map each returned asset by inspecting its actual content. Do not rely on filenames or generation order alone.
If the package contains:
references/千题千境\_项目经验总结.md
use it as the detailed implementation reference for the workflow, engineering lessons, reusable assets, and troubleshooting history.
The reference implementation is a baseline, not a reason to expose internal engineering details to the end user.