Skip to content

AlpacaLabsLLC/skills-for-architects / skills/slide-deck-generator

slide-deck-generator

Verified

Generate a self-contained HTML slide deck from a topic, outline, report, or data. Use for presentations and slide decks; not for editing PowerPoint files.

FileKindSize
README.mdmarkdown4.5 KB
SKILL.mdskill md13.1 KB
host-contract.jsonconfig1.3 KB
html-template.mdmarkdown15.0 KB
image-handling.mdmarkdown1.6 KB
sample.htmlother28.9 KB
slide-types.mdmarkdown8.0 KB
# Slide Deck Generator

A Claude Code skill that generates self-contained HTML slide decks with an editorial design system.

## Usage

```
/as:slide-deck-generator
```

Provide a topic, outline, data, or document and the skill produces a single `.html` file you can open in any browser — no dependencies, no build step.

## Design System

- **Font:** Helvetica Neue
- **Layout:** Left-aligned by default, generous whitespace, editorial feel
- **Palette:** Monochrome (black, white, greys) with a warm yellow accent (`#E8B517`) on the progress bar
- **Brand mark:** Studio-name text fixed bottom-right; missing or blank names use `Insert Studio Name`. Full-bleed image and image-grid slides omit it; full-bleed + title keeps it.
- **Page numbers:** Auto-injected top-right (skips first and last slide)

### Backgrounds

| Class | Color | Use |
|-------|-------|-----|
| *(default)* | White `#fff` | Content, lists, titles |
| `grey` | Light grey `#f5f5f3` | Tables, stats, alternating rhythm |
| `dark` | Dark `#1a1a1a` | Statement slides (1–2 per deck max) |

## Slide Types

22 slide types organized into five categories:

### Title Slides
| # | Type | Description |
|---|------|-------------|
| 1 | Image + Title | Full-bleed cover image with gradient overlay, h1 + subtitle |
| 2 | Text Only Title | Left-aligned h1 + subtitle + credit on white (fallback) |

### Content Slides
| # | Type | Description |
|---|------|-------------|
| 3 | Heading + Body | Eyebrow + h2 + paragraph — the workhorse slide |
| 4 | Heading + List | Eyebrow + h2 + bullet list |
| 5 | Heading + Stats | Eyebrow + h2 + vertical stat lines |
| 12 | Insight List | Eyebrow + h2 + numbered items with bold leads |
| 15 | Two Column | Eyebrow + h2 + side-by-side text |

### Data Slides
| # | Type | Description |
|---|------|-------------|
| 6 | Stat Row | Large centered numbers in columns |
| 7 | Stat Comparison | Before/after with arrows and change indicators |
| 8 | Heading + Stat Row | Eyebrow + h2 + stat columns (centered) |
| 11 | Data Table | Eyebrow + h2 + table with dotted borders |
| 13 | Bar Chart | Eyebrow + h2 + horizontal bars |
| 14 | Timeline | Eyebrow + h2 + phased dots (centered) |
| 16 | Comparison | Eyebrow + h2 + before/after boxes with arrow |

### Statement Slides
| # | Type | Description |
|---|------|-------------|
| 9 | Statement (white) | Bold centered text on white |
| 10 | Statement (dark) | Bold centered text on dark |

### Image Slides
| # | Type | Description |
|---|------|-------------|
| 17 | Full Bleed | Single image, edge to edge |
| 18 | Full Bleed + Title | Full image with gradient + overlaid text |
| 19 | Split 2 | Two images side by side |
| 20 | Split 3 | Three images in a row |
| 21 | Split 4 | 2x2 grid |
| 22 | Split 6 | 3x2 grid |

Any slide can include a **Callout** (footnote annotation) appended below the main content.

## Navigation

The generated deck includes built-in navigation:

- **Keyboard:** Arrow keys or spacebar
- **Touch:** Swipe left/right
- **Buttons:** Arrow buttons fixed at bottom center
- **Progress bar:** Yellow accent bar at the top of the viewport

## Deck Structure Guidelines

1. **First slide** — Image + Title cover (or text-only fallback)
2. **Second slide** — Context or framing question
3. **Middle slides** — Alternate white/grey backgrounds, build the argument
4. **Penultimate slide** — Recommendations or next steps
5. **Last slide** — Closing statement or sign-off

## Writing Style

- **Headlines:** Short, declarative, opinionated — state the insight, not the topic
- **Body text:** Lightweight, factual, 2–3 lines max
- **Stats:** Pick the most dramatic number, give it context
- **Tables:** 4–6 rows max with colored change indicators
- **Lists:** Bold lead + detail after an em dash

## Files

| File | Purpose |
|------|---------|
| `SKILL.md` | Core skill prompt — workflow, design rules, and pointers to reference files |
| `slide-types.md` | Component markup for all 22 slide types and the callout |
| `html-template.md` | The exact HTML/CSS/JS template the deck is built on |
| `image-handling.md` | Base64 image embedding workflow and placeholder conventions |
| `sample.html` | Reference deck demonstrating all 22 slide types |
| `README.md` | This file |

## Custom Accent Colors

The default accent is warm yellow (`#E8B517`). Override `--accent` in the CSS `:root` block for brand-specific decks:

- Blue: `#2563EB`
- Teal: `#0D7377`
- Purple: `#6B21A8`
- Orange: `#C2410C`

## Related

- The skill resolves your studio name for each deck; no logo configuration is needed. See `SKILL.md` for name resolution and HTML escaping.
canvas-designanthropics/skillsCreate beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
docxanthropics/skillsUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include: any mention of 'Word doc', 'word document', '.docx', '.dotx', or requests to produce professional documents with formatting like tables of contents, headings, page numbers, or letterheads. Also use when extracting or reorganizing content from .docx or .dotx files, inserting or replacing images in documents, performing find-and-replace in Word files, working with tracked changes or comments, or converting content into a polished Word document. If the user asks for a 'report', 'memo', 'letter', 'template', or similar deliverable as a Word or .docx file, use this skill. Do NOT use for PDFs, spreadsheets, Google Docs, or general coding tasks unrelated to document generation.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pdfanthropics/skillsUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
pptxanthropics/skillsUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates (.potx), layouts, speaker notes, or comments. Trigger whenever the user mentions "deck," "slides," "presentation," or references a .pptx or .potx filename, regardless of what they plan to do with the content afterward. If a .pptx or .potx file needs to be opened, created, or touched, use this skill.Stars: 198kUpdated Claude CodeCodexVerifiedInstall