
Frontend Slides
Skill生成零依赖、带动效的 HTML 网页幻灯片:先给出几种视觉风格预览供挑选,也能把 PPT 转成网页版。适合不会写 CSS 的非设计师。
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-slides
After that finishes, run:
/plugin install frontend-slides@frontend-slides
Use 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-slides
Then 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-slides
If 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 from
beautiful-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
Cormorant Garamond serif on warm paper with sage, blush, and lemon accents.
Editorial Forest
Forest green, dusty pink, and warm cream in Source Serif 4 — quiet, intentional quarterly-review aesthetic.
Pin & Paper
Yellow paper with safety-pin illustrations, ink-blue handwritten Caveat, paper-grain texture.
Sakura Chroma
Vintage Japanese cassette-package aesthetic: cream paper, diagonal rainbow ribbons, condensed bold type, JIS-style spec checkboxes.
Stencil & Tablet
Bone paper with stencil-cut headlines and a six-color earth palette: archaeology meets brand.
Cobalt Grid
Electric cobalt italic serifs on a graph-paper canvas, anchored by stair-stepped pixel-glitch decorations and slim hairline rules.
Vellum
Deep navy canvas with warm-yellow italic Cormorant serifs and a single dusty teal accent. A quiet, scholarly aesthetic.
Emerald Editorial
Magazine-cover business deck: emerald + navy + paper with double-rule masthead ornaments and a heavy Bodoni-style display serif.
Neo-Grid Bold
Editorial neo-brutalism with a single neon yellow accent on off-white paper.
Editorial Tri-Tone
Three-color editorial system: dusty pink, mustard cream, and deep burgundy, set in Bricolage + Instrument Serif.
Creative Mode
Cream paper canvas with confident multi-color (green, pink, orange, yellow) accents and Archivo Black display.
Monochrome
Ivory ledger paper with all-black type; Lora serif headlines, Jost body, no color at all.
People's Platform (Block & Bold)
Activist poster energy: blue, orange, red on cream, with Alfa Slab + Caveat Brush.
Pink Script — After Hours
Black canvas, hot pink accent, pearl-cream paper, Instrument Serif headlines: late-night editorial luxury.
8-Bit Orbit
Pixel-art neon arcade aesthetic on a deep navy void.
BlockFrame
Neobrutalist deck with pastel-neon color blocks and chunky black borders.
Blue Professional
Cream paper background with electric cobalt blue accents; clean modern professional.
Bold Poster
Editorial poster aesthetic with massive Shrikhand display and a single fire-engine red accent.
Broadside
Dark editorial canvas with a single fire orange accent and bilingual Latin/Chinese type stack.
Capsule
Modular pill-shaped cards on warm bone with a full pastel-pop palette.
Cartesian
Quiet warm-neutral palette with classical Playfair serifs; tasteful and unhurried.
Coral
Cream and coral on near-black, set in oversized Bebas Neue.
Daisy Days
Cheerful pastel deck with hand-drawn daisies, stars, and rainbows. Friendly, soft, and warm.
Grove
Forest-green canvas with cream type, classical Playfair serifs, and a single rust accent.
Mat
Dark sage canvas with bone paper and burnt-orange accent; mid-century modern with wood undertones.
Playful
Sun-warm peach background with Syne display: a friendly indie launch deck.
Raw Grid
Neo-brutalist deck with thick borders, offset shadows, and a pink/sage/ink palette.
Retro Windows
Windows 95 chrome: gray title bars, MS Sans Serif, pixel typography, full nostalgia.
Retro Zine
Beige paper with green accent and Bebas Neue + Caveat: a riso-printed zine in HTML form.
Scatterbrain
Post-it inspired: pastel sticky notes, Caveat handwriting, Shrikhand and Zilla Slab type stack.
Signal
Deep navy canvas with bone paper and a single muted-gold accent; institutional with quiet weight.
Studio
Black canvas with electric-yellow type; high-voltage design studio aesthetic.
Biennale Yellow
Solar yellow on warm parchment with deep indigo serif and atmospheric sun-glow gradients. Dutch-editorial poster energy.
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.html
Uses 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.pdf
Uses 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.
相关资源

PPT Master
Skill从 PDF、Word、网页等资料生成原生可编辑的 PPTX,输出原生形状、数据图表与母版版式,也可套用自有模板填充内容、为成品添加动画与旁白;需要 Python 3.10+ 并安装依赖。
hugohe3/ppt-master81.4k
Guizang PPT Skill
Skill生成单文件 HTML 横向翻页演示稿,内置电子杂志风与瑞士国际主义两套视觉体系,带演讲者模式与讲稿备注,还能出 PPT 配图和多平台封面。歸藏出品。
op7418/guizang-ppt-skill30.7k
PPTX
Skill创建、读取与编辑 PowerPoint 演示文稿:套用模板与版式,处理演讲者备注与批注,合并或拆分幻灯片。驱动 Claude 文档能力的 Anthropic 官方技能,源码可见但非开源。
anthropics/skills203k
Slide Wright
Skill根据主题、零散笔记或大纲生成带动画的网页演示文稿:先为这份演示定制配色、字体与版式,做出两页预览,等用户确认方向后再生成完整的单个 HTML 文件,附演讲者备注;也能在已有的 reveal.js 演示里增删或修改页面,可导出 PDF 或部署到 Surge、Vercel、Netlify。
arifszn/slide-wright75
Marp CLI
CLIMarp 官方命令行工具:把用 Markdown 写的幻灯片导出为 HTML、PDF、PPTX 或图片,支持监听与预览服务器模式。导出 PDF、PPTX 需要本机装有 Chrome、Edge 或 Firefox。
marp-team/marp-cli4k
gws(Google Workspace CLI)
CLI用一个命令行调用 Gmail、Drive、日历、Docs、Sheets 等 Google Workspace API,命令按 Discovery 动态生成、输出 JSON,附 100 多个 Agent Skill。googleworkspace 组织开源但声明非官方支持产品;需 Google Cloud 项目 OAuth 授权。
googleworkspace/cli32.6k