Skip to main content 홈 크리에이터 spacezephyr myskill baoyu-slide-deck
baoyu-slide-deck Generates professional slide deck images from content. Creates outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", or "PPT".
설치로 이동 Skills Marketplace 커뮤니티가 만든 AI 스킬을 발견하고 탐색하세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/SpaceZephyr/myskill --skill baoyu-slide-deck명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Zip 다운로드 다운로드 중... name baoyu-slide-deck description Generates professional slide deck images from content. Creates outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", "slide deck", or "PPT".
Slide Deck Generator
Transform content into professional slide deck images.
Usage
/baoyu-slide-deck path/to/content.md
/baoyu-slide-deck path/to/content.md --style sketch-notes
/baoyu-slide-deck path/to/content.md --audience executives
/baoyu-slide-deck path/to/content.md --lang zh
/baoyu-slide-deck path/to/content.md --slides 10
/baoyu-slide-deck path/to/content.md --outline-only
/baoyu-slide-deck
Script Directory
Agent Execution Instructions :
Determine this SKILL.md file's directory path as SKILL_DIR
Script path = ${SKILL_DIR}/scripts/<script-name>.ts
Script Purpose scripts/merge-to-pptx.tsMerge slides into PowerPoint scripts/merge-to-pdf.tsMerge slides into PDF
Options
Option Description --style <name>Visual style: preset name, custom, or custom style name --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-onlyGenerate outline only, skip image generation
--prompts-onlyGenerate outline + prompts, skip images
--images-onlyGenerate 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
Presets Preset Dimensions Best For blueprint (Default)grid + cool + technical + balanced Architecture, system design chalkboardorganic + warm + handwritten + balanced Education, tutorials corporateclean + professional + geometric + balanced Investor decks, proposals minimalclean + neutral + geometric + minimal Executive briefings sketch-notesorganic + warm + handwritten + balanced Educational, tutorials watercolororganic + warm + humanist + minimal Lifestyle, wellness dark-atmosphericclean + dark + editorial + balanced Entertainment, gaming notionclean + neutral + geometric + dense Product demos, SaaS bold-editorialclean + vibrant + editorial + balanced Product launches, keynotes editorial-infographicclean + cool + editorial + dense Tech explainers, research fantasy-animationorganic + vibrant + handwritten + minimal Educational storytelling intuition-machineclean + cool + technical + dense Technical docs, academic pixel-artpixel + vibrant + technical + balanced Gaming, developer talks scientificclean + cool + technical + dense Biology, chemistry, medical vector-illustrationclean + vibrant + humanist + balanced Creative, children's content vintagepaper + warm + editorial + balanced Historical, heritage
Style Dimensions Dimension Options Description Texture clean, grid, organic, pixel, paper Visual texture and background treatment Mood professional, warm, cool, vibrant, dark, neutral Color temperature and palette style Typography geometric, humanist, handwritten, editorial, technical Headline and body text styling Density minimal, balanced, dense Information density per slide
Full specs: references/dimensions/*.md
Auto Style Selection Content Signals Preset tutorial, learn, education, guide, beginner sketch-notesclassroom, teaching, school, chalkboard chalkboardarchitecture, system, data, analysis, technical blueprintcreative, children, kids, cute vector-illustrationbriefing, academic, research, bilingual intuition-machineexecutive, minimal, clean, simple minimalsaas, product, dashboard, metrics notioninvestor, quarterly, business, corporate corporatelaunch, marketing, keynote, magazine bold-editorialentertainment, music, gaming, atmospheric dark-atmosphericexplainer, journalism, science communication editorial-infographicstory, fantasy, animation, magical fantasy-animationgaming, retro, pixel, developer pixel-artbiology, chemistry, medical, scientific scientifichistory, heritage, vintage, expedition vintagelifestyle, wellness, travel, artistic watercolorDefault blueprint
Design Philosophy Decks designed for reading and sharing , not live presentation:
Each slide self-explanatory without verbal commentary
Logical flow when scrolling
All necessary context within each slide
Optimized for social media sharing
See references/design-guidelines.md for:
Audience-specific principles
Visual hierarchy
Content density guidelines
Color and typography selection
Font recommendations
See references/layouts.md for layout options.
File Management
Output Directory slide-deck/{topic-slug}/
├── source-{slug}.{ext}
├── outline.md
├── prompts/
│ └── 01-slide-cover.md, 02-slide-{slug}.md, ...
├── 01-slide-cover.png, 02-slide-{slug}.png, ...
├── {topic-slug}.pptx
└── {topic-slug}.pdf
Slug : Extract topic (2-4 words, kebab-case). Example: "Introduction to Machine Learning" → intro-machine-learning
Conflict Handling : See Step 1.3 for existing content detection and user options.
Language Handling
--lang flag (explicit)
EXTEND.md language setting
User's conversation language (input language)
Source content language
Rule : ALL responses use user's preferred language:
Questions and confirmations
Progress reports
Error messages
Completion summaries
Technical terms (style names, file paths, code) remain in English.
Workflow Copy this checklist and check off items as you complete them:
Slide Deck Progress:
- [ ] Step 1: Setup & Analyze
- [ ] 1.1 Load preferences
- [ ] 1.2 Analyze content
- [ ] 1.3 Check existing ⚠️ REQUIRED
- [ ] Step 2: Confirmation ⚠️ REQUIRED (Round 1, optional Round 2)
- [ ] Step 3: Generate outline
- [ ] Step 4: Review outline (conditional)
- [ ] Step 5: Generate prompts
- [ ] Step 6: Review prompts (conditional)
- [ ] Step 7: Generate images
- [ ] Step 8: Merge to PPTX/PDF
- [ ] Step 9: Output summary
Flow Input → Preferences → Analyze → [Check Existing?] → Confirm (1-2 rounds) → Outline → [Review Outline?] → Prompts → [Review Prompts?] → Images → Merge → Complete
Step 1: Setup & Analyze 1.1 Load Preferences (EXTEND.md)
Use Bash to check EXTEND.md existence (priority order):
test -f .baoyu-skills/baoyu-slide-deck/EXTEND.md && echo "project"
test -f "$HOME /.baoyu-skills/baoyu-slide-deck/EXTEND.md" && echo "user"
┌──────────────────────────────────────────────────┬───────────────────┐
│ Path │ Location │
├──────────────────────────────────────────────────┼───────────────────┤
│ .baoyu-skills/baoyu-slide-deck/EXTEND.md │ Project directory │
├──────────────────────────────────────────────────┼───────────────────┤
│ $HOME/.baoyu-skills/baoyu-slide-deck/EXTEND.md │ User home │
└──────────────────────────────────────────────────┴───────────────────┘
When EXTEND.md Found → Read, parse, output summary to user :
📋 Loaded preferences from [full path]
├─ Style: [preset/custom name]
├─ Audience: [audience or "auto-detect"]
├─ Language: [language or "auto-detect"]
└─ Review: [enabled/disabled]
When EXTEND.md Not Found → First-time setup using AskUserQuestion or proceed with defaults.
EXTEND.md Supports : Preferred style | Custom dimensions | Default audience | Language preference | Review preference
Schema: references/config/preferences-schema.md
Save source content (if pasted, save as source.md)
Backup rule : If source.md exists, rename to source-backup-YYYYMMDD-HHMMSS.md
Follow references/analysis-framework.md for content analysis
Analyze content signals for style recommendations
Detect source language
Determine recommended slide count
Generate topic slug from content
1.3 Check Existing Content ⚠️ REQUIRED
MUST execute before proceeding to Step 2.
Use Bash to check if output directory exists:
test -d "slide-deck/{topic-slug}" && echo "exists"
If directory exists , use AskUserQuestion:
header: "Existing"
question: "Existing content found. How to proceed?"
options:
- label: "Regenerate outline"
description: "Keep images, regenerate outline only"
- label: "Regenerate images"
description: "Keep outline, regenerate images only"
- label: "Backup and regenerate"
description: "Backup to {slug}-backup-{timestamp}, then regenerate all"
- label: "Exit"
description: "Cancel, keep existing content unchanged"
Save to analysis.md with:
Topic, audience, content signals
Recommended style (based on Auto Style Selection)
Recommended slide count
Language detection
Step 2: Confirmation ⚠️ REQUIRED Two-round confirmation : Round 1 always, Round 2 only if "Custom dimensions" selected.
Language : Use user's input language or saved language preference.
Content type + topic identified
Language: [from EXTEND.md or detected]
Recommended style : [preset] (based on content signals)
Recommended slides : [N] (based on content length)
Round 1 (Always) Use AskUserQuestion for all 5 questions:
header: "Style"
question: "Which visual style for this deck?"
options:
- label: "{recommended_preset} (Recommended)"
description: "Best match based on content analysis"
- label: "{alternative_preset}"
description: "[alternative style description]"
- label: "Custom dimensions"
description: "Choose texture, mood, typography, density separately"
header: "Audience"
question: "Who is the primary reader?"
options:
- label: "General readers (Recommended)"
description: "Broad appeal, accessible content"
- label: "Beginners/learners"
description: "Educational focus, clear explanations"
- label: "Experts/professionals"
description: "Technical depth, domain knowledge"
- label: "Executives"
description: "High-level insights, minimal detail"
header: "Slides"
question: "How many slides?"
options:
- label: "{N} slides (Recommended)"
description: "Based on content length"
- label: "Fewer ({N-3} slides)"
description: "More condensed, less detail"
- label: "More ({N+3} slides)"
description: "More detailed breakdown"
Question 4: Review Outline
header: "Outline"
question: "Review outline before generating prompts?"
options:
- label: "Yes, review outline (Recommended)"
description: "Review slide titles and structure"
- label: "No, skip outline review"
description: "Proceed directly to prompt generation"
Question 5: Review Prompts
header: "Prompts"
question: "Review prompts before generating images?"
options:
- label: "Yes, review prompts (Recommended)"
description: "Review image generation prompts"
- label: "No, skip prompt review"
description: "Proceed directly to image generation"
Round 2 (Only if "Custom dimensions" selected) Use AskUserQuestion for all 4 dimensions:
header: "Texture"
question: "Which visual texture?"
options:
- label: "clean"
description: "Pure solid color, no texture"
- label: "grid"
description: "Subtle grid overlay, technical"
- label: "organic"
description: "Soft textures, hand-drawn feel"
- label: "pixel"
description: "Chunky pixels, 8-bit aesthetic"
(Note: "paper" available via Other)
header: "Mood"
question: "Which color mood?"
options:
- label: "professional"
description: "Cool-neutral, navy/gold"
- label: "warm"
description: "Earth tones, friendly"
- label: "cool"
description: "Blues, grays, analytical"
- label: "vibrant"
description: "High saturation, bold"
(Note: "dark", "neutral" available via Other)
header: "Typography"
question: "Which typography style?"
options:
- label: "geometric"
description: "Modern sans-serif, clean"
- label: "humanist"
description: "Friendly, readable"
- label: "handwritten"
description: "Marker/brush, organic"
- label: "editorial"
description: "Magazine style, dramatic"
(Note: "technical" available via Other)
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.
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.
If preset selected → Read references/styles/{preset}.md
If custom dimensions → Read dimension files from references/dimensions/ and combine
Follow references/outline-template.md for structure
Build STYLE_INSTRUCTIONS from style or dimensions
Apply confirmed audience, language, slide count
Save as outline.md
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.
Total slides: N
Style: [preset name or "custom: texture+mood+typography+density"]
Slide-by-slide summary table:
| # | Title | Type | Layout |
|---|-------|------|--------|
| 1 | [title] | Cover | title-hero |
| 2 | [title] | Content | [layout] |
| 3 | [title] | Content | [layout] |
| ... | ... | ... | ... |
header: "Confirm"
question: "Ready to generate prompts?"
options:
- label: "Yes, proceed (Recommended)"
description: "Generate image prompts"
- label: "Edit outline first"
description: "I'll modify outline.md before continuing"
- label: "Regenerate outline"
description: "Create new outline with different approach"
If "Edit outline first" → Inform user to edit outline.md, ask again when ready
If "Regenerate outline" → Back to Step 3
If "Yes, proceed" → Continue to Step 5
Step 5: Generate Prompts
Read references/base-prompt.md
For each slide in outline:
Extract STYLE_INSTRUCTIONS from outline (not from style file again)
Add slide-specific content
If Layout: specified, include layout guidance from references/layouts.md
Save to prompts/ directory
Backup rule : If prompt file exists, rename to prompts/NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.md
If --prompts-only, stop here and output prompt summary
If skip_prompt_review is true → Skip Step 6, go to Step 7
If skip_prompt_review is false → Continue to Step 6
Step 6: Review Prompts (Conditional) Skip this step if user selected "No, skip prompt review" in Step 2.
Purpose : Review prompts before image generation.
Language : Use user's input language or saved language preference.
Total prompts: N
Style: [preset name or custom dimensions]
Prompt list:
| # | Filename | Slide Title |
|---|----------|-------------|
| 1 | 01-slide-cover.md | [title] |
| 2 | 02-slide-xxx.md | [title] |
| ... | ... | ... |
Path to prompts directory: prompts/
header: "Confirm"
question: "Ready to generate slide images?"
options:
- label: "Yes, proceed (Recommended)"
description: "Generate all slide images"
- label: "Edit prompts first"
description: "I'll modify prompts before continuing"
- label: "Regenerate prompts"
description: "Create new prompts with different approach"
If "Edit prompts first" → Inform user to edit prompts, ask again when ready
If "Regenerate prompts" → Back to Step 5
If "Yes, proceed" → Continue to Step 7
Step 7: Generate Images For --images-only : Start here with existing prompts.
For --regenerate N : Only regenerate specified slide(s).
Select available image generation skill
Generate session ID: slides-{topic-slug}-{timestamp}
For each slide:
Backup rule : If image file exists, rename to NN-slide-{slug}-backup-YYYYMMDD-HHMMSS.png
Generate image sequentially with same session ID
Report progress: "Generated X/N" (in user's language)
Auto-retry once on failure before reporting error
Step 8: Merge to PPTX and PDF npx -y bun ${SKILL_DIR} /scripts/merge-to-pptx.ts <slide-deck-dir>
npx -y bun ${SKILL_DIR} /scripts/merge-to-pdf.ts <slide-deck-dir>
Step 9: Output Summary Language : Use user's input language or saved language preference.
Slide Deck Complete!
Topic: [topic]
Style: [preset name or custom dimensions]
Location: [directory path]
Slides: N total
- 01-slide-cover.png - Cover
- 02-slide-intro.png - Content
- ...
- {NN}-slide-back-cover.png - Back Cover
Outline: outline.md
PPTX: {topic-slug}.pptx
PDF: {topic-slug}.pdf
Partial Workflows Option Workflow --outline-onlySteps 1-3 only (stop after outline) --prompts-onlySteps 1-5 (generate prompts, skip images) --images-onlySkip to Step 7 (requires existing prompts/) --regenerate NRegenerate specific slide(s) only
Using --prompts-only Generate outline and prompts without images:
/baoyu-slide-deck content.md --prompts-only
Output: outline.md + prompts/*.md ready for review/editing.
Using --images-only Generate images from existing prompts (starts at Step 7):
/baoyu-slide-deck slide-deck/topic-slug/ --images-only
prompts/ directory with slide prompt files
outline.md with style information
Using --regenerate Regenerate specific slides:
/baoyu-slide-deck slide-deck/topic-slug/ --regenerate 3
/baoyu-slide-deck slide-deck/topic-slug/ --regenerate 2,5,8
Read existing prompts for specified slides
Regenerate images only for those slides
Regenerate PPTX/PDF
Slide Modification
Quick Reference Action Command Manual Steps Edit --regenerate NUpdate prompt file FIRST → Regenerate image → Regenerate PDFAdd Manual Create prompt → Generate image → Renumber subsequent → Update outline → Regenerate PDF Delete Manual Remove files → Renumber subsequent → Update outline → Regenerate PDF
Edit Single Slide
Update prompt file FIRST in prompts/NN-slide-{slug}.md
Run: /baoyu-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.
References File Content references/analysis-framework.mdContent analysis for presentations references/outline-template.mdOutline structure and format references/modification-guide.mdEdit, add, delete slide workflows references/content-rules.mdContent and style guidelines references/design-guidelines.mdAudience, typography, colors, visual elements references/layouts.mdLayout options and selection tips references/base-prompt.mdBase prompt for image generation references/dimensions/*.mdDimension specifications (texture, mood, typography, density) references/dimensions/presets.mdPreset → dimension mapping references/styles/<style>.mdFull style specifications (legacy) references/config/preferences-schema.mdEXTEND.md structure
Notes
Image generation: 10-30 seconds per slide
Auto-retry once on generation failure
Use stylized alternatives for sensitive public figures
Maintain style consistency via session ID
Step 2 confirmation required - do not skip (style, audience, slides, outline review, prompt review)
Step 4 conditional - only if user requested outline review in Step 2
Step 6 conditional - only if user requested prompt review in Step 2
Extension Support Custom configurations via EXTEND.md. See Step 1.1 for paths and supported options.