agentleFS
wfukatsuwfukatsu/slide-forge/skills/pptx-export/SKILL.md

pptx-export

Skill5 starsChanged 56 days agoMITView on GitHub

Export a generated Google Slides deck to PowerPoint (.pptx) via the Drive API, preserving it exactly as generated. Invoked by the generation skills when the user chooses PPTX at intake, and runs standalone on any accessible deck URL. Use for: PPTX でも出力して, PowerPoint 形式でほしい, パワポで納品, export to PowerPoint. Not: authoring or editing PPTX files directly (document-skills:pptx); QA, which runs on the Slides deck via slide-qa before export.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    From-scratch PPTX authoring is a different job: When the user wants a PPTX built or edited directly (no Google Slides involved), hand off …

    line 40
  2. Very specific:

    Confirm the deck is final: When invoked from a generation skill, this means generation succeeded and — if QA was chosen — the slide-qa loop …

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

日本語

PPTX Export for Generated Decks

Important

  • The export is a snapshot, not a linked copy. It captures the deck as it is at export time. Always export after visual QA and any fix loop are finished — and re-export whenever the deck is regenerated, deleting the stale .pptx from the Drive folder first (same rule as superseded decks).
  • Fixes happen in the spec, never in the .pptx. On any defect, return to the originating generation skill, fix the spec, regenerate, re-run QA if it was chosen, then export again. Editing the exported file forks it from the source of truth.
  • Run every command from the slide-forge root as cwd — ${CLAUDE_PLUGIN_ROOT} when running from an installed plugin, /path/to/slide-forge on a local clone. Auth and the venv are shared at the repo root (config/, .venv).
  • Whether to export PPTX is settled at generation time via the output format question in intake (references/interactive-intake.md §2); the default is Google Slides only. Standalone runs on an existing deck URL need no intake.
  • output: local in config/settings.json makes the export automatic. build_deck.py / render_deck.py export the deck to localOutputDir on every run, so don't ask the PPTX question and don't export a second time — report the path the generator printed. This skill still applies standalone, or to re-export after a manual edit (references/settings.md).
  • From-scratch PPTX authoring is a different job. When the user wants a PPTX built or edited directly (no Google Slides involved), hand off to document-skills:pptx instead of this skill.

Quick Reference

TaskCommand
Export (saves to localOutputDir, default out/pptx/<deck name>.pptx).venv/bin/python scripts/export_pptx.py <URL or ID>
Export to an explicit path--out path/to/deck.pptx
Also archive in the deck's Drive folder--folder <Drive folder URL/ID>

Decks over the 10MB files.export limit fall back to exportLinks automatically — no flag needed.

Workflow

  1. Confirm the deck is final. When invoked from a generation skill, this means generation succeeded and — if QA was chosen — the slide-qa loop is done and clean. Standalone, ask nothing; export what the URL holds.
  2. Export, passing the deck's Drive folder when one exists so the .pptx sits next to the spec and figure sources (Drive folder rule):

    .venv/bin/python scripts/export_pptx.py "<deck URL>" --folder "<folder URL>"
  3. Report the local path, the file size, and (when uploaded) the Drive folder URL, alongside the deck URL in the generation report.

Fidelity caveats (state them in the report when relevant)

The export is Google's own converter, so layout and geometry carry over exactly — but the file opens in PowerPoint, a different rendering engine:

  • Fonts must exist on the viewer's machine. Decks styled with Google Fonts (Noto Sans JP, etc.) fall back to a substitute font if not installed locally, which can shift line breaks. Mention the deck's font when it is not a system font.
  • Google-specific features degrade: linked Sheets charts become static images; speaker-notes formatting may simplify; animations do not transfer (slide-forge decks don't use them, so this rarely matters).
  • The exported file is not re-inspected — QA already ran on the Slides deck, and the converter is deterministic. If the user reports a rendering issue in PowerPoint, treat the font substitution above as the first suspect.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.