Create pptx

From theexperiencecompany/gaia · View interactive version

Create pptx is an AI agent skill from the GitHub repository theexperiencecompany/gaia. Generate a PowerPoint (.pptx) slide deck: pitch decks, reviews, summaries. Use when the user wants slides. Built with pptxgenjs (Node) for native, editable slides and charts." # When NOT to use: a PDF (use create-pdf), a Word doc (use create-docx), or a spreadsheet (use create-spreadsheet).

How to use this skill

Skill file

Create Presentation

When to use

The deliverable is a .pptx slide deck.

How it works

A deck template here is a Node program (using pptxgenjs) that writes the .pptx. You adapt the slides' content, then the build script runs it and validates the output.

Rendering rules (do NOT break these)

The deck must look right in EVERY viewer, including macOS Keynote / Quick Look, not just PowerPoint:

Skill directory: /workspace/integrations/docgen/agent/skills/create-pptx. templates/, reference.md, and scripts/ live here; read them by absolute path. Your work goes in ./scratch/.

Workflow (every job)

  1. Work in a job dir: mkdir -p ./scratch/pptx-<short-name>.
  2. Adapt the closest template: don't start blank. read /workspace/integrations/docgen/agent/skills/create-pptx/templates/deck.mjs (business review) or pitch-deck.mjs (startup pitch), then write the edited deck to ./scratch/pptx-<name>/deck.mjs. Read /workspace/integrations/docgen/agent/skills/create-pptx/reference.md for the slide-building blocks.
  3. Build + validate:

```

bash /workspace/integrations/docgen/agent/skills/create-pptx/scripts/build.sh ./scratch/pptx-<name>/deck.mjs ./scratch/pptx-<name>/out.pptx

```

Prints OK: <path> (slides=N) or ERROR: ....

  1. Fix loop: on ERROR, read the message, fix, re-run. Cap at 5 attempts.
  2. Deliver: mv ./scratch/pptx-<name>/out.pptx ./artifacts/<final-name>.pptx, then report the full path. Moving it into artifacts/ surfaces it to the user.

Layout discipline (important)

There is no automatic visual check. You place elements by coordinates (inches). To avoid overflow:

Toolchain note

The build script installs pptxgenjs on first use; the first deck may take a little longer, then it's fast.

Never

Templates

Comprehensive starting points (all charts drawn with shapes, Arial font, ~12 slides). Adapt the closest fit:

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.