Pptx

From vorojar/AgentClaw · View interactive version

Pptx is an AI agent skill from the GitHub repository vorojar/AgentClaw. Use when the user asks to create, edit, improve, redesign, beautify, inspect, or export PowerPoint decks, PPT files, slide decks, keynotes, or .pptx deliverables. Prefer this skill for presentation work that must produce a real PPTX file, especially when visual quality, editable text, brand assets,

How to use this skill

Skill file

PPTX Deck Production

Build the deck, verify the saved .pptx, then deliver it. Keep the interaction minimal; put deterministic checks in scripts instead of long explanations.

Default fast path

  1. Resolve source material.
  2. Generate the deck in {WORKDIR}. Substantial decks should use claude_code with cwd {WORKDIR} instead of a long inline bash/XML-style tool call.
  3. Run:

```powershell

python "{VERIFY_PPTX}" "{WORKDIR}/output.pptx" --out-dir "{WORKDIR}/output_previews" --require-text --json

```

  1. Send the PPTX only if verification exits 0. Do not send the PPTX when verification fails.

For substantial decks, also save brand-spec.md beside the output with logo/image paths, color tokens, fonts, and no-go style rules.

Dependency discipline

Short prompt in an existing session

When the user says only 生成 ppt, 做成PPT, 导出pptx, or similar in an existing session:

Production paths

| Need | Path |

| --- | --- |

| Best visual quality | HTML-first: design two-slide showcase, then complete deck, then export/rebuild PPTX |

| Strict editable PPTX | Native editable objects: text boxes, shapes, images, charts, tables |

| Quick internal deck | python-pptx with a restrained design system |

| Existing deck edit | Inspect existing PPTX, patch only requested slides, verify |

Use a two-slide showcase for decks with 5+ slides when the user asked for beauty, redesign, pitch, keynote, public presentation, brand deck, or complained that output was ugly. The showcase is cover + the most different content slide.

Editable PPTX constraints

Design gates

Apply these anti-slop checks before verification:

Hard stop rules

Verification

Run the bundled verifier on every generated or edited deck:

python "{VERIFY_PPTX}" "{WORKDIR}/deck.pptx" --out-dir "{WORKDIR}/previews" --require-text --json

Use --require-preview when visual quality was the point of the task. If preview tooling is unavailable, the verifier reports that limitation; only deliver without preview when the user asked for a quick/internal deck.

Final response should state the PPTX path, verifier result, preview/report path, and any limitation. Keep it short.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.