All skills
jimliu avatar

/baoyu-slide-deck

@b0ac523 official
by Jim Liu 宝玉jimliu/baoyu-skills26k stars
2,896

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".

Use this Skill: https://skilld.dev/gh/jimliu/baoyu-skills/baoyu-slide-deck

This session only. Nothing lands on disk.

referencesconfirmation.md

≈1.2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Confirmation Questions

Concrete option copy for the confirmation steps. SKILL.md lists which questions to ask — this file gives the verbatim options used in Claude Code. Adapt copy to the runtime's native user-input tool; the intent matters more than the exact wording.

Round 1 (Always)

Batch all five questions in a single AskUserQuestion call.

Q1: Style

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

Q2: Audience

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

Q3: Slide Count

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

Q4: 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

Q5: 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 — Custom Dimensions

Triggered only when Q1 of Round 1 = "Custom dimensions". Batch all four dimension questions.

Texture

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

paper is also valid — accept via "Other".

Mood

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
  - label: macaron
    description: Pastel blocks on cream

dark, neutral valid via "Other".

Typography

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

technical valid via "Other".

Density

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

Outline Review (Step 4)

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

Prompt Review (Step 6)

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

Existing Content (Step 1.3)

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

Source: SKILL.md on GitHub

No alerts16d5 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill provides comprehensive instructions for generating presentation slide decks using various image backends and layouts. No security risks were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • Runlayer6mo

    32 files scanned · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at b0ac523. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 days ago.

Activeupdated 4 months ago
version
1.117.4
Other metadata
metadata
{
  "openclaw": {
    "homepage": "https://github.com/JimLiu/baoyu-skills#baoyu-slide-deck",
    "requires": {
      "anyBins": [
        "bun",
        "npx"
      ]
    }
  }
}
  • slide-deck
  • presentation
  • image-generation
  • pptx
  • pdf
  • content-to-slides
  • visual-design

README badge

README badge for jimliu/baoyu-skills/baoyu-slide-deck

Generates professional slide deck images from content outlines, creating individual slide images optimized for reading and sharing rather than live presentation. Assumes Postgres and uses drizzle-kit's pg dialect. Requires bun or npx; supports 17 style presets and custom dimension tuning (texture, mood, typography, density), with image generation routed through Codex, Cursor, or other available raster backends.

Generated from the current SKILL.md.

Does this skill generate slides for live presentation or static sharing?
It generates slides optimized for reading and sharing (self-explanatory, logical scroll flow, social-media-friendly), not live presentation.
What image backends does this skill support?
It auto-detects and uses Codex `imagegen`, Cursor `GenerateImage`, or `baoyu-image-gen` depending on your runtime. You can also override with `--ref` or set a preferred backend in `EXTEND.md`.
What output formats are available?
The skill generates slide images by default and can merge them into PowerPoint (PPTX) or PDF via included scripts.
Can I customize the visual style of the slides?
Yes. Choose from 17 presets (blueprint, corporate, minimal, sketch-notes, etc.) or define custom dimensions for texture, mood, typography, and density. The skill confirms your choices before generation.
Does this skill require user confirmation before generating slides?
By default yes — confirmation happens before generation. You can skip it by explicitly requesting no confirmation (e.g., '直接生成') in your message.

Generated from the current SKILL.md. These answers refresh after source changes.