Awesome-omni-skill awkn-slide-deck
Generate professional slide deck images from content. Creates comprehensive outlines with style instructions, then generates individual slide images. Use when user asks to "create slides", "make a presentation", "generate deck", or "slide deck".
git clone https://github.com/diegosouzapw/awesome-omni-skill
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/tools/awkn-slide-deck" ~/.claude/skills/diegosouzapw-awesome-omni-skill-awkn-slide-deck && rm -rf "$T"
skills/tools/awkn-slide-deck/SKILL.mdSlide Deck Generator
Transform content into professional slide deck images with flexible style options.
Usage
/awkn-slide-deck path/to/content.md /awkn-slide-deck path/to/content.md --style sketch-notes /awkn-slide-deck path/to/content.md --audience executives /awkn-slide-deck path/to/content.md --lang zh /awkn-slide-deck path/to/content.md --slides 10 /awkn-slide-deck path/to/content.md --outline-only /awkn-slide-deck # Then paste content
Script Directory
Important: All scripts are located in the
scripts/ subdirectory of this skill.
Agent Execution Instructions:
- Determine this SKILL.md file's directory path as
SKILL_DIR - Script path =
${SKILL_DIR}/scripts/<script-name>.ts - Replace all
in this document with the actual path${SKILL_DIR}
Script Reference:
| Script | Purpose |
|---|---|
| Merge slides into PowerPoint |
| Merge slides into PDF |
Options
| Option | Description |
|---|---|
| Visual style (see Style Gallery) |
| Target audience: beginners, intermediate, experts, executives, general |
| Output language (en, zh, ja, etc.) |
| Target slide count |
| Generate outline only, skip image generation |
Style Gallery
| Style | Description | Best For |
|---|---|---|
(Default) | Technical schematics, grid texture | Architecture, system design |
| Black chalkboard, colorful chalk | Education, tutorials, classroom |
| SaaS dashboard, card-based layouts | Product demos, SaaS, B2B |
| Magazine cover, bold typography, dark | Product launches, keynotes |
| Navy/gold, structured layouts | Investor decks, proposals |
| Cinematic dark mode, glowing accents | Entertainment, gaming |
| Magazine explainers, flat illustrations | Tech explainers, research |
| Ghibli/Disney style, hand-drawn | Educational, storytelling |
| Technical briefing, bilingual labels | Technical docs, academic |
| Ultra-clean, maximum whitespace | Executive briefings, premium |
| Retro 8-bit, chunky pixels | Gaming, developer talks |
| Academic diagrams, precise labeling | Biology, chemistry, medical |
| Hand-drawn, warm & friendly | Educational, tutorials |
| Flat vector, retro & cute | Creative, children's content |
| Aged-paper, historical styling | Historical, heritage, biography |
| Hand-painted textures, natural warmth | Lifestyle, wellness, travel |
Auto Style Selection
| Content Signals | Selected Style |
|---|---|
| tutorial, learn, education, guide, intro, beginner | |
| classroom, teaching, school, chalkboard, blackboard | |
| architecture, system, data, analysis, technical | |
| creative, children, kids, cute, illustration | |
| briefing, academic, research, bilingual, infographic, concept | |
| executive, minimal, clean, simple, elegant | |
| saas, product, dashboard, metrics, productivity | |
| investor, quarterly, business, corporate, proposal | |
| launch, marketing, keynote, bold, impact, magazine | |
| entertainment, music, gaming, creative, atmospheric | |
| explainer, journalism, science communication | |
| story, fantasy, animation, magical, whimsical | |
| gaming, retro, pixel, developer, nostalgia | |
| biology, chemistry, medical, pathway, scientific | |
| history, heritage, vintage, expedition, historical | |
| lifestyle, wellness, travel, artistic, natural | |
| Default | |
Design Philosophy
This deck is designed for reading and sharing, not live presentation:
- Each slide must be self-explanatory without verbal commentary
- Structure content for logical flow when scrolling
- Include all necessary context within each slide
- Optimize for social media sharing and offline reading
File Management
Output Directory
Each session creates an independent directory named by content slug:
slide-deck/{topic-slug}/ ├── source-{slug}.{ext} # Source files (text, images, etc.) ├── outline.md ├── outline-{style}.md # Style variant outlines ├── prompts/ │ └── 01-slide-cover.md, 02-slide-{slug}.md, ... ├── 01-slide-cover.png, 02-slide-{slug}.png, ... ├── {topic-slug}.pptx └── {topic-slug}.pdf
Slug Generation:
- Extract main topic from content (2-4 words, kebab-case)
- Example: "Introduction to Machine Learning" →
intro-machine-learning
Conflict Resolution
If
slide-deck/{topic-slug}/ already exists:
- Append timestamp:
{topic-slug}-YYYYMMDD-HHMMSS - Example:
exists →intro-mlintro-ml-20260118-143052
Source Files
Copy all sources with naming
source-{slug}.{ext}:
(main text content)source-article.md
(image from conversation)source-diagram.png
(additional file)source-data.xlsx
Multiple sources supported: text, images, files from conversation.
Workflow
Step 1: Analyze Content
- Save source content (if pasted, save as
)source.md - Follow
for deep content analysisreferences/analysis-framework.md - Determine style (use
or auto-select from signals)--style - Detect languages (source vs. user preference)
- Plan slide count (
or dynamic)--slides
Step 2: Generate Outline Variants
- Generate 3 style variant outlines based on content analysis
- Follow
for structurereferences/outline-template.md - Save as
for each variantoutline-{style}.md
Step 3: User Confirmation
Single AskUserQuestion with all applicable options:
| Question | When to Ask |
|---|---|
| Style variant | Always (3 options + custom) |
| Language | Only if source ≠ user language |
After selection:
- Copy selected
tooutline-{style}.mdoutline.md - Regenerate in different language if requested
- User may edit
for fine-tuningoutline.md
If
--outline-only, stop here.
Step 4: Generate Prompts
- Read
references/base-prompt.md - Combine with style instructions from outline
- Add slide-specific content
- Save to
directoryprompts/
Step 5: Generate Images
- Select available image generation skill
- Generate session ID:
slides-{topic-slug}-{timestamp} - Generate each slide with same session ID
- Report progress: "Generated X/N"
Step 6: 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 7: Output Summary
Slide Deck Complete! Topic: [topic] Style: [style name] 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
Slide Modification
See
references/modification-guide.md for:
- Edit single slide workflow
- Add new slide (with renumbering)
- Delete slide (with renumbering)
- File naming conventions
References
| File | Content |
|---|---|
| Deep content analysis for presentations |
| Outline structure and STYLE_INSTRUCTIONS format |
| Edit, add, delete slide workflows |
| Content and style guidelines |
| Base prompt for image generation |
| Full style specifications |
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
Extension Support
Custom styles and configurations via EXTEND.md.
Check paths (priority order):
(project).awkn-skills/awkn-slide-deck/EXTEND.md
(user)~/.awkn-skills/awkn-slide-deck/EXTEND.md
If found, load before Step 1. Extension content overrides defaults.