baoyu-slide-deck

Generates styled slide deck images from content and merges them into PPTX and PDF files.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/chhpt/skills --skill baoyu-slide-deck-chhpt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-slide-deck
Source: https://github.com/chhpt/skills/tree/main/skills/baoyu-slide-deck
Command: npx skills add https://github.com/chhpt/skills --skill baoyu-slide-deck-chhpt

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdf-lib, pptxgenjs, and includes scripts (resource) and references (resource) components.

What problem does it solve? Creating visually consistent, professional slide decks from raw content requires design decisions, image generation, and file assembly that are slow and repetitive to do manually. ## Core Features & Use Cases - Style System: Choose from 16 visual presets (blueprint, corporate, minimal, sketch-notes, etc.) or combine custom dimensions of texture, mood, typography, and density. - Guided Workflow: Analyzes content, recommends style and slide count, confirms preferences, then generates outlines, image prompts, and slide images step by step. - Output Assembly: Merges generated slide images into PowerPoint (.pptx) with speaker notes and PDF files via bundled scripts. - Use Case: Paste a 3000-word technical article and receive a 15-slide blueprint-style deck as PNG images plus ready-to-share PPTX and PDF files. ## Quick Start Ask the assistant to create a slide deck from your content file, for example: generate a 10-slide corporate-style presentation from quarterly-report.md.

Frequently Asked Questions about baoyu-slide-deck

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a slide deck from a markdown file?

Run the skill with your content file path, such as /baoyu-slide-deck content.md. It analyzes the content, recommends a style and slide count, confirms your preferences, then generates an outline, image prompts, and slide images.

How do I convert generated slide images into PowerPoint or PDF?

Run the bundled scripts with Bun: merge-to-pptx.ts creates a 16:9 PPTX with prompts embedded as speaker notes, and merge-to-pdf.ts creates a PDF. Both take the slide deck directory as input and auto-detect numbered slide images.

What visual styles are available for generated slides?

Sixteen presets are available including blueprint, corporate, minimal, sketch-notes, chalkboard, and dark-atmospheric. You can also build a custom style by combining texture, mood, typography, and density dimensions.

Can I regenerate a single slide without redoing the whole deck?

Yes, use the --regenerate flag with slide numbers, such as --regenerate 3 or --regenerate 2,5,8. Update the prompt file in the prompts directory first, then only those slides and the merged PPTX/PDF are regenerated.

Does the slide deck generator support languages other than English?

Yes, use the --lang flag (e.g., zh, ja) or set a language preference in EXTEND.md. Language detection falls back to conversation language, then source content language, and all prompts and summaries use the preferred language.

What are the limitations on slide count and content length?

The recommended range is 8-25 slides with a maximum of 30. Content over 5000 words should be split into multiple decks, while content under 1000 words typically produces 5-10 slides.