mcpField
L
lovstudio-any2deck

lovstudio-any2deck

github.com/lovstudioDocuments7393 installsUpdated today
Repository

About lovstudio-any2deck

A skill that turns supplied content into slide-deck images and can assemble them into PPTX or PDF files. It supports style, audience, language, and slide-count options, along with outline-only and other partial workflows.

Key features

  1. 01Generate slide images from content
  2. 02Style and audience options
  3. 03Set output language and slide count
  4. 04Outline-only and partial workflows
  5. 05Merge slides into PPTX or PDF
  6. 06Apply logos and QR codes

Use cases

  1. 01Creating a deck from a Markdown file
  2. 02Preparing an executive or educational deck
  3. 03Regenerating selected slides
  4. 04Exporting a deck as PPTX or PDF

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/lovstudio/skills --skill lovstudio-any2deck

After installing, type/lovstudio-any2deckin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

.gitignore
CHANGELOG.md
README.md
cases/
cases.json
references/
analysis-framework.md
base-prompt.md
content-rules.md
design-guidelines.md
layouts.md
modification-guide.md
outline-template.md
references/config/
preferences-schema.md
references/dimensions/
density.md
mood.md
presets.md
texture.md
typography.md
references/styles/
blueprint.md
bold-editorial.md
chalkboard.md
corporate.md
dark-atmospheric.md
editorial-infographic.md
fantasy-animation.md
intuition-machine.md
minimal.md
notion.md
pixel-art.md
scientific.md
sketch-notes.md

Details

From the project README

Slide Deck Generator

Transform content into professional slide deck images.

Usage

/lovstudio-any2deck path/to/content.md
/lovstudio-any2deck path/to/content.md --style sketch-notes
/lovstudio-any2deck path/to/content.md --audience executives
/lovstudio-any2deck path/to/content.md --lang zh
/lovstudio-any2deck path/to/content.md --slides 10
/lovstudio-any2deck path/to/content.md --outline-only
/lovstudio-any2deck  # Then paste content

Script Directory

Agent Execution Instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR
  2. Script path = ${SKILL_DIR}/scripts/<script-name>
ScriptPurpose
scripts/merge-to-pptx.tsMerge slides into PowerPoint
scripts/merge-to-pdf.tsMerge slides into PDF
scripts/apply-branding.pyComposite logo(s)/QR onto slides — dual logo, tight-crop, JPG white→alpha (opt-in)

Options

OptionDescription
--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
--logo <path>Primary brand logo (top-right, skips cover/back-cover)
--logo2 <path>Secondary logo (placed left of primary, optically aligned)
--presentationPresentation mode: strips narration text, keeps only visual anchors

Slide Count by Content Length:

ContentSlides
< 1000 words5-10
1000-3000 words10-18
3000-5000 words15-25
> 5000 words20-30 (consider splitting)

Style System

Presets
PresetDimensionsBest For
blueprint (Default)grid + cool + technical + balancedArchitecture, system design
chalkboardorganic + warm + handwritten + balancedEducation, tutorials
corporateclean + professional + geometric + balancedInvestor decks, proposals
minimalclean + neutral + geometric + minimalExecutive briefings
sketch-notesorganic + warm + handwritten + balancedEducational, tutorials
watercolororganic + warm + humanist + minimalLifestyle, wellness
dark-atmosphericclean + dark + editorial + balancedEntertainment, gaming
notionclean + neutral + geometric + denseProduct demos, SaaS
bold-editorialclean + vibrant + editorial + balancedProduct launches, keynotes
editorial-infographicclean + cool + editorial + denseTech explainers, research
fantasy-animationorganic + vibrant + handwritten + minimalEducational storytelling
intuition-machineclean + cool + technical + denseTechnical docs, academic
pixel-artpixel + vibrant + technical + balancedGaming, developer talks
scientificclean + cool + technical + denseBiology, chemistry, medical
vector-illustrationclean + vibrant + humanist + balancedCreative, children's content
vintagepaper + warm + editorial + balancedHistorical, heritage
Style Dimensions
DimensionOptionsDescription
Textureclean, grid, organic, pixel, paperVisual texture and background treatment
Moodprofessional, warm, cool, vibrant, dark, neutralColor temperature and palette style
Typographygeometric, humanist, handwritten, editorial, technicalHeadline and body text styling
Densityminimal, balanced, denseInformation density per slide

Full specs: references/dimensions/*.md

Auto Style Selection
Content SignalsPreset
tutorial, learn, education, guide, beginnersketch-notes
classroom, teaching, school, chalkboardchalkboard
architecture, system, data, analysis, technicalblueprint
creative, children, kids, cutevector-illustration
briefing, academic, research, bilingualintuition-machine
executive, minimal, clean, simpleminimal
saas, product, dashboard, metricsnotion
investor, quarterly, business, corporatecorporate
launch, marketing, keynote, magazinebold-editorial
entertainment, music, gaming, atmosphericdark-atmospheric
explainer, journalism, science communicationeditorial-infographic
story, fantasy, animation, magicalfantasy-animation
gaming, retro, pixel, developerpixel-art
biology, chemistry, medical, scientificscientific
history, heritage, vintage, expeditionvintage
lifestyle, wellness, travel, artisticwatercolor
Defaultblueprint

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

Detection Priority:

  1. --lang flag (explicit)
  2. EXTEND.md language setting
  3. User's conversation language (input language)
  4. 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

For the full step-by-step workflow, use references/workflow.md. Keep the main flow in this order:

  1. Setup & analyze: load .lovstudio-skills/lovstudio-any2deck/EXTEND.md when present, save source content, analyze style signals, detect language, choose slide count, and check for existing slide-deck/{topic-slug} output before continuing.
  2. Confirm: use AskUserQuestion for style, audience, slide count, outline review, and prompt review. If custom dimensions are selected, collect texture, mood, typography, and density.
  3. Generate outline: read the selected preset from references/styles/ or combine dimension docs from references/dimensions/, then write outline.md using references/outline-template.md.
  4. Review outline when requested, then generate per-slide prompts under prompts/ using references/base-prompt.md and references/layouts.md.
  5. Review prompts when requested, generate slide images, optionally apply branding with scripts/apply-branding.py, then merge PPTX/PDF with the TypeScript scripts.
  6. Report the output directory, generated slide count, PPTX/PDF paths, style, audience, language, and any partial failures.

Partial workflows (--outline-only, --prompts-only, --images-only, --regenerate) and slide modification procedures are documented in references/workflow.md.

References

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

Comments

Markdown supported