Technical Documentation: zarazhangrui/frontend-slides
โน๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference
Overview (`README.md`)
Frontend Slides
A coding-agent skill for creating stunning HTML presentations โ from scratch or by converting PowerPoint files. It is packaged as a Claude Code plugin, and the core SKILL.md can also be read by other coding agents with filesystem and shell access.
๐บ Watch the Walkthrough & Tutorial
New here? This beginner-friendly video walks you through the whole thing, start to finish.
โถ๏ธ Watch on YouTube โ (beginner-friendly walkthrough and tutorial)
What This Does
Frontend Slides helps non-designers create beautiful web presentations without knowing CSS or JavaScript. It uses a "show, don't tell" approach: instead of asking you to describe your aesthetic preferences in words, it generates visual previews and lets you pick what you like.
Here is a deck about the skill, made through the skill:
https://github.com/user-attachments/assets/ef57333e-f879-432a-afb9-180388982478
Key Features
- Zero Dependencies โ Single HTML files with inline CSS/JS. No npm, no build tools, no frameworks.
- Visual Style Discovery โ Can't articulate design preferences? No problem. Pick from generated visual previews.
- PPT Conversion โ Convert existing PowerPoint files to web, preserving all images and content.
- Anti-AI-Slop โ Curated distinctive styles that avoid generic AI aesthetics (bye-bye, purple gradients on white).
- Bold Template Pack โ Optional design-forward templates from
beautiful-html-templates, loaded progressively so safe presets still work as the default fallback. - Production Quality โ Accessible, fixed 16:9, well-commented code you can customize.
Installation
Via Claude Code Custom Marketplace Source
Install directly from this public GitHub repo. Run these as two separate Claude Code messages; do not paste both lines into the prompt at once.
/plugin marketplace add https://github.com/zarazhangrui/frontend-slidesAfter that finishes, run:
/plugin install frontend-slides@frontend-slidesUse the HTTPS URL. The shorter zarazhangrui/frontend-slides form may make Claude Code try SSH, which can fail if GitHub is not already in your known_hosts file.
Then use it by typing /frontend-slides:frontend-slides in Claude Code. Claude Code namespaces plugin-installed skills as /plugin-name:skill-name.
Claude Code Manual Installation
Copy the skill files to your Claude Code skills directory:
# Create the skill directory
mkdir -p ~/.claude/skills/frontend-slides/scripts
# Copy the user-facing skill files
cp SKILL.md STYLE_PRESETS.md viewport-base.css html-template.md animation-patterns.md ~/.claude/skills/frontend-slides/
cp -R bold-template-pack ~/.claude/skills/frontend-slides/
cp scripts/extract-pptx.py scripts/deploy.sh scripts/export-pdf.sh ~/.claude/skills/frontend-slides/scripts/Or clone directly:
git clone https://github.com/zarazhangrui/frontend-slides.git ~/.claude/skills/frontend-slidesThen use it by typing /frontend-slides in Claude Code. Standalone skills are not namespaced.
Other Coding Agents
Agents such as Codex, Kimi Code, OpenCode, Gemini CLI, or other local coding assistants can use the same core skill. The simplest path is to send the agent this GitHub repo link and ask it to use the Frontend Slides skill:
https://github.com/zarazhangrui/frontend-slidesIf the agent can read GitHub repos or browse files, it should start from SKILL.md and load only the referenced support files it needs:
STYLE_PRESETS.mdviewport-base.csshtml-template.mdanimation-patterns.mdbold-template-pack/scripts/
Some agents can also install the skill for you if they have filesystem access and a known local skills directory. If not, they can still follow SKILL.md directly for the current session.
The Claude Code plugin gives Claude Code a custom marketplace-source install flow and /frontend-slides:frontend-slides command. Other agents usually do not use that command surface.
Usage
Create a New Presentation
/frontend-slides:frontend-slides
> "I want to create a pitch deck for my AI startup"If installed manually as a standalone Claude Code skill, use /frontend-slides instead.
In non-Claude agents, ask the agent to use the Frontend Slides skill and point it at this repo or SKILL.md.
The skill will:
- Ask about your content (slides, messages, images)
- Generate 3 visual style previews for you to compare, inferring the vibe from your brief unless you already named one
- Let you pick the visual direction
- Create the full presentation in your chosen style
- Open it in your browser
Convert a PowerPoint
/frontend-slides:frontend-slides
> "Convert my presentation.pptx to a web slideshow"The skill will:
- Extract all text, images, and notes from your PPT
- Show you the extracted content for confirmation
- Let you pick a visual style
- Generate an HTML presentation with all your original assets
Included Styles
Dark Themes
- Bold Signal โ Confident, high-impact, vibrant card on dark
- Electric Studio โ Clean, professional, split-panel
- Creative Voltage โ Energetic, retro-modern, electric blue + neon
- Dark Botanical โ Elegant, sophisticated, warm accents
Light Themes
- Notebook Tabs โ Editorial, organized, paper with colorful tabs
- Pastel Geometry โ Friendly, approachable, vertical pills
- Split Pastel โ Playful, modern, two-color vertical split
- Vintage Editorial โ Witty, personality-driven, geometric shapes
Specialty
- Neon Cyber โ Futuristic, particle backgrounds, neon glow
- Terminal Green โ Developer-focused, hacker aesthetic
- Swiss Modern โ Minimal, Bauhaus-inspired, geometric
- Paper & Ink โ Literary, drop caps, pull quotes
Bold Template Pack
The skill also includes 34 optional bold design systems frombeautiful-html-templates, such as Neo-Grid Bold, Editorial Tri-Tone,
Creative Mode, Broadside, Signal, and Vellum.
During style discovery, the preview set is:
- 1 safe preset from
STYLE_PRESETS.md - at least 1 bold template option from
bold-template-pack/selection-index.json - 1 wildcard option, either another bold template or a self-generated custom design
The agent reads the compact bold template index first, then loads only the
shortlisted candidates' small preview.md cards for title-slide previews. It
loads the full design.md for exactly one bold template only after the user
picks that template for the final deck. If the user picks a custom wildcard,
the agent expands that preview's own CSS and layout system into the full deck.
Bold Template Gallery
Frontend Slides can now draw from the 34 bold design systems in beautiful-html-templates. Three screenshots per template show how each visual system handles different slide layouts. Click any template name to inspect the source template library.
[Soft Editorial](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/soft-editorial/)
Cormorant Garamond serif on warm paper with sage, blush, and lemon accents.
[Editorial Forest](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/editorial-forest/)
Forest green, dusty pink, and warm cream in Source Serif 4 โ quiet, intentional quarterly-review aesthetic.
[Pin & Paper](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/pin-and-paper/)
Yellow paper with safety-pin illustrations, ink-blue handwritten Caveat, paper-grain texture.
[Sakura Chroma](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/sakura-chroma/)
Vintage Japanese cassette-package aesthetic: cream paper, diagonal rainbow ribbons, condensed bold type, JIS-style spec checkboxes.
[Stencil & Tablet](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/stencil-tablet/)
Bone paper with stencil-cut headlines and a six-color earth palette: archaeology meets brand.
[Cobalt Grid](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/cobalt-grid/)
Electric cobalt italic serifs on a graph-paper canvas, anchored by stair-stepped pixel-glitch decorations and slim hairline rules.
[Vellum](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/vellum/)
Deep navy canvas with warm-yellow italic Cormorant serifs and a single dusty teal accent. A quiet, scholarly aesthetic.
[Emerald Editorial](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/emerald-editorial/)
Magazine-cover business deck: emerald + navy + paper with double-rule masthead ornaments and a heavy Bodoni-style display serif.
[Neo-Grid Bold](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/neo-grid-bold/)
Editorial neo-brutalism with a single neon yellow accent on off-white paper.
[Editorial Tri-Tone](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/editorial-tri-tone/)
Three-color editorial system: dusty pink, mustard cream, and deep burgundy, set in Bricolage + Instrument Serif.
[Creative Mode](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/creative-mode/)
Cream paper canvas with confident multi-color (green, pink, orange, yellow) accents and Archivo Black display.
[Monochrome](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/monochrome/)
Ivory ledger paper with all-black type; Lora serif headlines, Jost body, no color at all.
[People's Platform (Block & Bold)](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/peoples-platform/)
Activist poster energy: blue, orange, red on cream, with Alfa Slab + Caveat Brush.
[Pink Script โ After Hours](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/pink-script/)
Black canvas, hot pink accent, pearl-cream paper, Instrument Serif headlines: late-night editorial luxury.
[8-Bit Orbit](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/8-bit-orbit/)
Pixel-art neon arcade aesthetic on a deep navy void.
[BlockFrame](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/block-frame/)
Neobrutalist deck with pastel-neon color blocks and chunky black borders.
[Blue Professional](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/blue-professional/)
Cream paper background with electric cobalt blue accents; clean modern professional.
[Bold Poster](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/bold-poster/)
Editorial poster aesthetic with massive Shrikhand display and a single fire-engine red accent.
[Broadside](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/broadside/)
Dark editorial canvas with a single fire orange accent and bilingual Latin/Chinese type stack.
[Capsule](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/capsule/)
Modular pill-shaped cards on warm bone with a full pastel-pop palette.
[Cartesian](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/cartesian/)
Quiet warm-neutral palette with classical Playfair serifs; tasteful and unhurried.
[Coral](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/coral/)
Cream and coral on near-black, set in oversized Bebas Neue.
[Daisy Days](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/daisy-days/)
Cheerful pastel deck with hand-drawn daisies, stars, and rainbows. Friendly, soft, and warm.
[Grove](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/grove/)
Forest-green canvas with cream type, classical Playfair serifs, and a single rust accent.
[Mat](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/mat/)
Dark sage canvas with bone paper and burnt-orange accent; mid-century modern with wood undertones.
[Playful](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/playful/)
Sun-warm peach background with Syne display: a friendly indie launch deck.
[Raw Grid](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/raw-grid/)
Neo-brutalist deck with thick borders, offset shadows, and a pink/sage/ink palette.
[Retro Windows](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/retro-windows/)
Windows 95 chrome: gray title bars, MS Sans Serif, pixel typography, full nostalgia.
[Retro Zine](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/retro-zine/)
Beige paper with green accent and Bebas Neue + Caveat: a riso-printed zine in HTML form.
[Scatterbrain](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/scatterbrain/)
Post-it inspired: pastel sticky notes, Caveat handwriting, Shrikhand and Zilla Slab type stack.
[Signal](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/signal/)
Deep navy canvas with bone paper and a single muted-gold accent; institutional with quiet weight.
[Studio](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/studio/)
Black canvas with electric-yellow type; high-voltage design studio aesthetic.
[Biennale Yellow](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/biennale-yellow/)
Solar yellow on warm parchment with deep indigo serif and atmospheric sun-glow gradients. Dutch-editorial poster energy.
[Long Table](https://github.com/zarazhangrui/beautiful-html-templates/tree/main/templates/long-table/)
Warm cream and rust-red supper-club aesthetic with bold uppercase grotesk headlines, italic Fraunces, and pill-shaped outlined buttons.
Architecture
This skill uses progressive disclosure โ the main SKILL.md is a workflow map, with supporting files loaded on-demand only when needed:
| File | Purpose | Loaded When |
|---|---|---|
SKILL.md |
Core workflow and rules | Always (skill invocation) |
STYLE_PRESETS.md |
12 curated visual presets | Phase 2 (style selection) |
bold-template-pack/selection-index.json |
Compact bold template metadata for candidate selection | Phase 2 (style selection) |
bold-template-pack/templates/*/preview.md |
Tiny style cards for shortlisted bold previews | Phase 2 after shortlisting |
bold-template-pack/templates/*/design.md |
Full design system for the selected bold template | Phase 3 after user selection |
viewport-base.css |
Mandatory fixed-stage CSS | Phase 3 (generation) |
html-template.md |
HTML structure and JS features | Phase 3 (generation) |
animation-patterns.md |
CSS/JS animation reference | Phase 3 (generation) |
scripts/extract-pptx.py |
PPT content extraction | Phase 4 (conversion) |
scripts/deploy.sh |
Deploy to Vercel | Phase 6 (sharing) |
scripts/export-pdf.sh |
Export slides to PDF | Phase 6 (sharing) |
Maintenance-only source metadata and regeneration helpers live outside the
user-facing skill package. Normal users do not need them.
This design follows agent-skill best practices: give the agent a map first,
then reveal only the specific files needed for the current choice.
Philosophy
This skill was born from the belief that:
You don't need to be a designer to make beautiful things. You just need to react to what you see.
Dependencies are debt. A single HTML file will work in 10 years. A React project from 2019? Good luck.
Generic is forgettable. Every presentation should feel custom-crafted, not template-generated.
Comments are kindness. Code should explain itself to future-you (or anyone else who opens it).
Sharing Your Presentations
After creating a presentation, the skill offers two ways to share it:
Deploy to a Live URL
One command deploys your slides to a permanent, shareable URL that works on any device โ phones, tablets, laptops:
bash scripts/deploy.sh ./my-deck/
# or
bash scripts/deploy.sh ./presentation.htmlUses Vercel (free tier). The skill walks you through signup and login if it's your first time.
Export to PDF
Convert your slides to a PDF for email, Slack, Notion, or printing:
bash scripts/export-pdf.sh ./my-deck/index.html
bash scripts/export-pdf.sh ./presentation.html ./output.pdfUses Playwright to screenshot each slide at 1920ร1080 and combine into a PDF. Installs automatically if needed. Animations are not preserved (it's a static snapshot).
Requirements
- A local coding agent with filesystem access and the ability to run shell commands
- Claude Code is required only for the custom marketplace-source install and
/frontend-slides:frontend-slidescommand - For PPT conversion: Python with
python-pptxlibrary - For URL deployment: Node.js + Vercel account (free)
- For PDF export: Node.js (Playwright installs automatically)
Credits
Created by @zarazhangrui.
License
MIT โ Use it, modify it, share it.
Overview (`bold-template-pack/README.md`)
Bold Template Pack
This pack brings the beautiful-html-templates design systems into thefrontend-slides skill without making them the default for every deck.
What To Read
- Read
bold-template-pack/selection-index.jsonfirst. - Shortlist candidates from metadata only:
moodtonebest_foravoid_forformalitydensityscheme
- For title-slide previews, read only the relevant candidate
preview.md
files. - After the user chooses a bold template, read exactly that one template's
fulldesign.md. - Do not read every
design.mdin the pack. - Do not read or copy
template.htmlfrom the source template library unless a
selecteddesign.mdis missing a critical implementation detail.
The full source metadata index is not bundled in the user-facing skill. Normal
generation should use selection-index.json only.
How To Use In Frontend Slides
Preview mix:
- 1 safe option from
STYLE_PRESETS.md - at least 1 bold option from this pack
- 1 wildcard option, which may be another bold template from this pack or a
self-generated custom design
Adjust the tone inside that default mix:
- For board, legal, regulatory, healthcare, investor-update, or highly formal
internal decks, make the safe option very restrained and choose calmer,
higher-formality bold templates. The wildcard should feel authoritative and
specific, not merely decorative. - For bold, editorial, expressive, experimental, or highly designed decks, keep
the safe option as a readable fallback, choose one strong bold template, and
use the wildcard for either a second adventurous template or a custom design
that better matches the user's occasion and vibe.
If the wildcard is custom, it must follow Frontend Slides' no-slop aesthetics:
distinctive typography, a committed palette, a recognizable layout system, a
context-specific visual idea, fixed 16:9 stage behavior, and no visible process
labels such as "custom", "wildcard", "template", or "preview".
Implementation Contract
design.md is the design-system reference. Treat it as a style recipe, not as
content to copy. preview.md is only a lightweight style card for generating
the three title-slide options.
Preview slides must be real title slides for the user's deck. Do not render
template names, option labels, file names, paths, preview.md, "generated
from", or user requirement notes on the slide itself.
When generating final slides:
- Keep
frontend-slidesoutput as one self-contained HTML file. - Include the full contents of
viewport-base.css. - Generate every deck as a fixed 1920ร1080 stage scaled uniformly to the
viewport. This applies even if the source template was originally
viewport-fluid. - Treat
vw,vh, andclamp()values in a sourcedesign.mdas design
proportions to translate into fixed 1920ร1080 stage coordinates. - Preserve the selected template's fonts, palette, decorative vocabulary,
spacing rhythm, and component grammar. - Keep the user's actual slide content primary. The template style should shape
presentation, not override message or structure. - Verify rendered output for both text overflow and panel overlap. A card can
passscrollHeightchecks while still being covered by another grid panel.
Overview (`plugins/frontend-slides/skills/frontend-slides/bold-template-pack/README.md`)
Bold Template Pack
This pack brings the beautiful-html-templates design systems into thefrontend-slides skill without making them the default for every deck.
What To Read
- Read
bold-template-pack/selection-index.jsonfirst. - Shortlist candidates from metadata only:
moodtonebest_foravoid_forformalitydensityscheme
- For title-slide previews, read only the relevant candidate
preview.md
files. - After the user chooses a bold template, read exactly that one template's
fulldesign.md. - Do not read every
design.mdin the pack. - Do not read or copy
template.htmlfrom the source template library unless a
selecteddesign.mdis missing a critical implementation detail.
The full source metadata index is not bundled in the user-facing skill. Normal
generation should use selection-index.json only.
How To Use In Frontend Slides
Preview mix:
- 1 safe option from
STYLE_PRESETS.md - at least 1 bold option from this pack
- 1 wildcard option, which may be another bold template from this pack or a
self-generated custom design
Adjust the tone inside that default mix:
- For board, legal, regulatory, healthcare, investor-update, or highly formal
internal decks, make the safe option very restrained and choose calmer,
higher-formality bold templates. The wildcard should feel authoritative and
specific, not merely decorative. - For bold, editorial, expressive, experimental, or highly designed decks, keep
the safe option as a readable fallback, choose one strong bold template, and
use the wildcard for either a second adventurous template or a custom design
that better matches the user's occasion and vibe.
If the wildcard is custom, it must follow Frontend Slides' no-slop aesthetics:
distinctive typography, a committed palette, a recognizable layout system, a
context-specific visual idea, fixed 16:9 stage behavior, and no visible process
labels such as "custom", "wildcard", "template", or "preview".
Implementation Contract
design.md is the design-system reference. Treat it as a style recipe, not as
content to copy. preview.md is only a lightweight style card for generating
the three title-slide options.
Preview slides must be real title slides for the user's deck. Do not render
template names, option labels, file names, paths, preview.md, "generated
from", or user requirement notes on the slide itself.
When generating final slides:
- Keep
frontend-slidesoutput as one self-contained HTML file. - Include the full contents of
viewport-base.css. - Generate every deck as a fixed 1920ร1080 stage scaled uniformly to the
viewport. This applies even if the source template was originally
viewport-fluid. - Treat
vw,vh, andclamp()values in a sourcedesign.mdas design
proportions to translate into fixed 1920ร1080 stage coordinates. - Preserve the selected template's fonts, palette, decorative vocabulary,
spacing rhythm, and component grammar. - Keep the user's actual slide content primary. The template style should shape
presentation, not override message or structure. - Verify rendered output for both text overflow and panel overlap. A card can
passscrollHeightchecks while still being covered by another grid panel.
--- METRICS ---
- Files Extracted: 3
- Estimated Token Budget: ~10521 tokens
- Canonical Reference: https://codewiki.google/github.com/zarazhangrui/frontend-slides