Generates professional slide deck images from content. Creates outlines with style instructions, generates individual slide images, and exports PPTX/PDF. Includes a brand design system mode using 60+ getdesign.md brand styles: auto-matches content to brand-inspired slide styles, recommends 5 matched styles plus 1 smart match, or uses an explicitly requested brand style. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", "PPT", "design slide", "brand style PPT", or wants content turned into a designed presentation.
Generates professional slide deck images from content. Creates outlines with style instructions, generates individual slide images, and exports PPTX/PDF. Includes a brand design system mode using 60+ getdesign.md brand styles: auto-matches content to brand-inspired slide styles, recommends 5 matched styles plus 1 smart match, or uses an explicitly requested brand style. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", "PPT", "design slide", "brand style PPT", or wants content turned into a designed presentation.
Slide Deck Generator
Transform content into professional slide deck images.
Visual style: preset name, custom, or custom style name
`--brand-style <slug
auto
--audience <type>
Target: beginners, intermediate, experts, executives, general
--lang <code>
Output language (en, zh, ja, etc.)
--slides <number>
Target slide count (8-25 recommended, max 30)
--outline-only
Generate outline only, skip image generation
--prompts-only
Generate outline + prompts, skip images
--images-only
Generate images from existing prompts directory
--regenerate <N>
Regenerate specific slide(s): --regenerate 3 or --regenerate 2,5,8
Slide Count by Content Length:
Content
Slides
< 1000 words
5-10
1000-3000 words
10-18
3000-5000 words
15-25
> 5000 words
20-30 (consider splitting)
Style System
Brand Design Systems
Use this mode when the user asks for a "design Slide", "brand style PPT", "参考某品牌风格", or when content would benefit from stronger product/brand art direction.
Registry: references/brand-style-registry.json
Workflow: references/brand-design-system.md
Recommender: scripts/recommend_brand_styles.py
Full brand specs: fetch live via npx getdesign@latest add <slug> before generating outline.md
Brand style behavior:
User Situation
Action
User names a brand, e.g. "Notion 风格 PPT"
Map to slug, fetch DESIGN.md, use it directly
User passes --brand-style claude
Fetch claude DESIGN.md and build deck style from it
User passes --brand-style auto
Run recommender, use smart_match without asking
User passes --brand-style recommend
Run recommender and ask user to choose from 5 matched options + 智能匹配
User gives content with no explicit style
Prefer brand recommendation flow when the request emphasizes design quality; otherwise use preset flow
5+1 recommendation rule:
After content analysis, show 5 content-matched brand styles and a 6th 智能匹配 option. Each of the first 5 options must include one sentence explaining why it fits. The 6th option must name the smart-match brand it will use.
header: "Density"
question: "Information density?"
options:
- label: "balanced (Recommended)"
description: "2-3 key points per slide"
- label: "minimal"
description: "One focus point, maximum whitespace"
- label: "dense"
description: "Multiple data points, compact"
After Round 2: Store custom dimensions as the style configuration.
After Confirmation:
Update analysis.md with confirmed preferences
Store skip_outline_review flag from Question 4
Store skip_prompt_review flag from Question 5
→ Step 3
Step 3: Generate Outline
Create outline using the confirmed style from Step 2.
Style Resolution:
If preset selected → Read references/styles/{preset}.md
If custom dimensions → Read dimension files from references/dimensions/ and combine
If brand style selected → Read references/brand-design-system.md, fetch the selected brand's DESIGN.md with npx getdesign@latest add <slug>, and convert it into the outline <STYLE_INSTRUCTIONS> block
If mixed brand style selected → Fetch every selected brand, use the first as primary, then merge only the explicitly requested dimensions from secondary brands
Generate:
Follow references/outline-template.md for structure
Build STYLE_INSTRUCTIONS from style or dimensions
For brand styles, include Brand Design System metadata and exact tokens from DESIGN.md where available
Apply confirmed audience, language, slide count
Save as outline.md
After generation:
If --outline-only, stop here
If skip_outline_review is true → Skip Step 4, go to Step 5
If skip_outline_review is false → Continue to Step 4
Step 4: Review Outline (Conditional)
Skip this step if user selected "No, skip outline review" in Step 2.
Purpose: Review outline structure before prompt generation.
Language: Use user's input language or saved language preference.
Display:
Total slides: N
Style: [preset name or "custom: texture+mood+typography+density"]
Update prompt file FIRST in prompts/NN-slide-{slug}.md
Run: /space-slide-deck <dir> --regenerate N
Or manually regenerate image + PDF
IMPORTANT: When updating slides, ALWAYS update the prompt file (prompts/NN-slide-{slug}.md) FIRST before regenerating. This ensures changes are documented and reproducible.
Add New Slide
Create prompt at position: prompts/NN-slide-{new-slug}.md
Generate image using same session ID
Renumber: Subsequent files NN+1 (slugs unchanged)
Update outline.md
Regenerate PPTX/PDF
Delete Slide
Remove NN-slide-{slug}.png and prompts/NN-slide-{slug}.md
Renumber: Subsequent files NN-1 (slugs unchanged)
Update outline.md
Regenerate PPTX/PDF
File Naming
Format: NN-slide-[slug].png
NN: Two-digit sequence (01, 02, ...)
slug: Kebab-case from content (2-5 words, unique)
Renumbering Rule: Only NN changes, slugs remain unchanged.
See references/modification-guide.md for complete details.