Generate Presentation
Follow the document-rules skill (${CLAUDE_PLUGIN_ROOT}/skills/document-rules/SKILL.md) and the document-generator skill (${CLAUDE_PLUGIN_ROOT}/skills/document-generator/SKILL.md): the first holds the mandatory rules, the second the generation process. Read both before Step 1.
Generate a professional PowerPoint presentation with title slide, agenda, content slides, and summary.
Arguments
Format: <title> [--slides <number>] [--theme <corporate|minimal|bold>]
- title: Presentation title (required)
- --slides: Approximate number of content slides (optional, default: auto)
- --theme: Color theme (optional, default: corporate)
Parse from "$ARGUMENTS".
Process
Plugin directory: Scripts and templates live under
${CLAUDE_PLUGIN_ROOT}(Claude Code substitutes it with the installed plugin path). Use it as is; do not search for the plugin.Check dependencies:
node "${CLAUDE_PLUGIN_ROOT}/scripts/check_deps.js"If
readyis false, show what is missing and ask permission to run the listedinstallCommands. (readycovers Node, the npm modules and the Playwright browser; pandoc and the PDF engines are optional extras listed inmissing.)Gather required data from user:
- Subtitle (optional)
- Author/presenter name
- Audience context (who is this for?)
- Key topics/agenda items
- Content for each slide (bullets, key points)
- Optional: images, charts, branding colors
Read template:
cat "${CLAUDE_PLUGIN_ROOT}/templates/presentation_template.json"Build slide array: Construct slides based on user content:
- First slide: type "title"
- Second slide: type "agenda" (from topics list)
- Content slides: type "content" or "two-column" per topic
- Optional: type "chart" for data visualization
- Second-to-last: type "summary" with key takeaways
- Last: type "contact" (optional)
Generate PPTX:
node "${CLAUDE_PLUGIN_ROOT}/scripts/generate_pptx.js" /absolute/path/.doc_input.jsonDeliver result: Show file path, size, and number of slides generated.
Example Usage
/document-generator-ops:generate-presentation "Product Launch Strategy" --slides 10 --theme corporate
/document-generator-ops:generate-presentation "Q1 Review" --theme minimal