/slides-presentation:create-slides-presentationfrom slides-presentation
Builds self-contained HTML/CSS/JS slide presentations from a talk prompt, outline, or content description. Derives visual style from user references or mood.
Ships in slides-presentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Build self-contained HTML/CSS/JS slide presentations that run in any browser. No dependencies, no build step — open the file and present.
See references/slide-template.html for the base template with all mechanics.
See references/LAYOUT-GUIDE.md for typography, layout patterns, animation specs, and narrative arc templates.
Ask the user two things (can be combined in one message):
Content — What should the presentation cover? Accept any of:
Style — Do they have a website or reference whose visual style they'd like to draw from?
Do NOT ask for exact hex colors or font names. You will derive these.
Commit to a BOLD aesthetic direction first. Pick one and execute it with conviction — the worst result is a timid middle ground:
From the style reference (URL or mood), derive:
--dark-bg and --light-bg (two slide background colors for alternation)--accent color--text-dark / --text-dark-body for text on dark slides--text-light / --text-light-body for text on light slidesChoose a two-font pairing: a distinctive display font for headings + a refined readable body font.
NEVER use Inter, Roboto, Arial, or system fonts — they are generic and forgettable.
Display font options (pick one that fits the aesthetic):
Body font options:
Load both via Google Fonts <link> tag with the weights needed (300, 500/600, 700 for display; 400, 500 for body).
--text-dark-body is a common failure point — muted colors on dark backgrounds often fail; verify the valueOverride CSS variables in :root. See the template for the full set. Always use var(--x) in layout CSS — never hardcode hex values.
Link color rule: Always use a distinct --link color for hyperlinks — never reuse --accent or body text color. Links must be visually identifiable.
Plan the slides based on the content brief. Standard narrative arc:
Adjust this arc for the content type:
Each slide needs: a slide-label (eyebrow text), a headline, and supporting content.
Keep slides minimal — one idea per slide, short bullets (max 8 words per bullet), no paragraphs. For live demos, add a single placeholder slide (not full demo slides).
Alternate dark and light slides for visual rhythm. Title, big statement, and closing slides work well as dark. Content-heavy slides work well as light.
Read references/slide-template.html and use it as the starting point. Copy it to the project directory and customize.
Requirements:
<style> block — no external stylesheets<script> block — no external libraries<link> tag (both display and body fonts)[topic]-presentation.html in the working directoryFor layout patterns, component sizing, and visual element specs, see references/LAYOUT-GUIDE.md.
Every slide MUST animate its content in when it becomes active:
opacity: 0; transform: translateY(28px) on child elementsopacity: 1; transform: translateY(0) over 0.55s with cubic-bezier(0.16, 1, 0.3, 1) easingtransition-delay incrementsThe template includes the animation CSS and JS — just use the .slide-content wrapper and it works automatically.
The template includes: arrow keys, Space, PageDown/PageUp, number keys to jump, F for fullscreen, touch/swipe, progress bar, and slide counter.
For visuals difficult to create in SVG (realistic objects, organic shapes, complex scenes), use an image generation skill. Prefer compound-engineering:gemini-imagegen if available, but any image generation skill in the environment will work. If none is available, use SVG/CSS diagrams or ask the user to provide images.
Practical notes:
16:9 aspect ratio and 2K resolution for slide-sized imagesWhen to use SVG vs generated images:
| SVG/CSS | Image generation |
|---|---|
| Geometric diagrams, graphs, flowcharts | Realistic objects, scenes |
| Terminal/code mockups | Artistic/illustrative graphics |
| Simple icons, shapes, arrows | Complex visual metaphors |
| File trees, dependency graphs | Anything organic (brains, people) |
bash scripts/validate-presentation.sh presentation.htmlBefore delivering, verify against this checklist:
Design
clamp() for headings — title slides at least clamp(44px, 6.5vw, 80px)Contrast & Readability
Animation
Content
Technical
Fix any failures before delivering.
Tell the user:
A typical presentation project:
talk-name/
├── presentation.html (self-contained slide deck)
├── hero-image.png (generated illustrations, if any)
└── talk-prompt.md (original brief, optional)
scripts/validate-presentation.sh <file> — Checks for unreplaced placeholders, sequential slide numbering, counter mismatches, and broken image paths.scripts/new-presentation.sh <title> [output-dir] — Scaffolds a new presentation from the template with the title pre-filled.All images use relative paths so the folder is portable.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub jtsternberg/claude-plugins --plugin slides-presentation