Generates PPTX slide decks from speech scripts or talking points using PptxGenJS. Provides 4 template patterns (Story Arc, Framework, Contrast, Minimal), D3.js chart generation, and AI image integration. For users with a prepared script who need slides.
Ships in presentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generate slide decks from speech scripts in Projects/syla/syla-monday-morning/.
Do NOT use the pptx skill's html2pptx.js — it has known silent failure issues with environment detection. Instead, use PptxGenJS directly:
# Ensure pptxgenjs is installed locally in the output directory
cd <output-dir> && npm install pptxgenjs
Write a .mjs script that imports PptxGenJS and calls pres.writeFile() with explicit Promise handling. See references/pptxgenjs-guide.md for patterns and helpers.
4 patterns available. See references/templates.md for slide-by-slide structure.
| Pattern | Slides | Best For |
|---|---|---|
| A: Story Arc | 5-6枚 | 物語型スピーチ(導入→展開→結末) |
| B: Framework | 4-5枚 | フレームワーク紹介型(3つのポイント etc.) |
| C: Contrast | 4-5枚 | 対比型(Before/After、成功/失敗) |
| D: Minimal | 3枚 | インパクト重視(問い→核心→締め) |
const DESIGN = {
colors: {
CREAM: "F5F0E8", // background
DARK: "2B2B2B", // title/closing slides, callout boxes
AMBER: "D4882B", // accent, highlights, table headers
BLK: "1A1A1A", // primary text
WHT: "FFFFFF", // card backgrounds
RED: "cc3333", // negative/failure
GRN: "33aa55", // positive/success
GRY: "999999", // secondary text
TEAL: "4DD4D0" // sparingly, for special highlights
},
fonts: {
heading: { face: "Arial", size: 36, bold: true },
subhead: { face: "Arial", size: 24 },
body: { face: "Arial", size: 18 },
caption: { face: "Arial", size: 13 },
quote: { face: "Arial", size: 18, italic: true }
},
layout: "LAYOUT_16x9", // 10" x 5.63"
spacing: { margin: 0.8, gap: 0.3 }
};
| Type | Description | PptxGenJS Pattern |
|---|---|---|
title | Big text + subtitle, dark bg | addText centered, bg: DARK |
statement | Large bold statement | addText with accent color |
two-column | Left text + right visual | Two addText/addShape at x=0.8 and x=5.4 |
comparison | Side-by-side cards with color-coded top border | addShape(ROUNDED_RECTANGLE) + addShape(RECTANGLE) for top bar |
framework | 3 cards in a row | Loop with x = 0.8 + i * 3.1 |
table | Comparison table | addTable with header fill |
quote-card | Large quote, dark bg | addText italic, bg: DARK |
data-point | Big number + context | Large fontSize number + smaller context |
closing | Memorable line, dark bg | addText centered, bg: DARK |
For data-driven slides, generate SVG charts with D3 and embed as images. See references/d3-charts.md.
For custom illustrations/backgrounds, use AI image generation. Prompt patterns:
"{theme} hero image, professional, 16:9, high quality""minimal icon for {concept}, flat design, transparent background""{theme} abstract background, subtle, suitable for text overlay"What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
/presentation:speech-slidesfrom presentation
npx claudepluginhub t4ku/agent-skills --plugin presentation3 skills in this plugin
/visual-explainer-setGitHub リポジトリや Web サービス・記事を一次情報から調べて、目次 + 10〜15 枚の図解中心 HTML 解説セット(解剖図鑑)を作る。確認は 1 回だけ(既定値つき)、主張には 観察/資料/推測 のタグ、版を固定して根拠リンクを付ける。Use when ユーザーが「〇〇を 10〜15 枚で図解して / 解剖図鑑を作って / アーキテクチャを図で解説して / どういうスタックか解説して / visual-explainer-set」と言ったとき。/youtube-slide-makerYouTube動画からスライドまたは切り抜き動画を生成する。字幕ベースでキーフレームを選定しffmpegで抽出、Marpスライド or 切り抜きクリップを出力。Use when user asks to create slides from a YouTube video, extract key frames, summarize a video visually, or create short clips/切り抜き動画.