/frontend-ui:mav-slidecraft-skillfrom frontend-ui
Creates zero-dependency HTML presentations with rich animations, or converts PowerPoint files to web slides. Supports new decks, PPT/PPTX conversion, and enhancement of existing HTML slides.
Ships in frontend-ui. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create zero-dependency, animation-rich HTML presentations that run entirely in the browser.
版本:3.0(SlideCraft × Guizang 升级)
#FF0000, #0000FF, #00FF00) as main colors; all key colors must be muted or pigment-like.prefers-reduced-motion and manual B low-power mode.data-deck="horizontal" only when requested.references/layout-catalog.md instead of inventing structures.light / dark / hero light / hero dark; no more than 2 consecutive same themes.详细设计指南参见 references/design-principles.md
.slide must have height: 100vh; height: 100dvh; overflow: hidden;clamp(min, preferred, max) — never fixed px/rem.frame-img.r-* standard ratios with max-height constraintsprefers-reduced-motion support and B key low-power toggle详细规范参见 references/viewport-base.css
.frame-img.r-* standard ratios. Split slide if fulloverflow: hidden, clamp() usage, viewport max-heightdata-deck="horizontal" and update #deck structureAsk ALL questions in a single AskUserQuestion call:
| Header | Question | Options |
|---|---|---|
| Purpose | What is this presentation for? | Pitch deck / Teaching-Tutorial / Conference talk / Internal |
| Length | Approximately how many slides? | Short 5-10 / Medium 10-20 / Long 20+ |
| Content | Do you have content ready? | All ready / Rough notes / Topic only |
| Editing | Need browser editing? | Yes (Recommended) / No |
| Direction | Horizontal swipe deck? | Yes / No (default vertical) |
Remember the editing choice — determines if edit-related code is included in Phase 3.
直接输出以下风格组合列表,让用户回复序号或名称:
请选择视觉风格组合(回复序号或名称):
1. 数字粗野建筑 Neo-Brutalism + 3D — 粗犷几何+立体深度+真实混凝土纹理 | 最适合:创意机构、Web3、科技初创
2. 80年代未来 Retro-Futurism — 霓虹渐变+复古科技感+CRT 磷光点阵 | 最适合:科技发布会、游戏、音乐娱乐
3. 极繁实验 Maximalism + Typography — 大胆混搭+编辑网格+拼贴纹理 | 最适合:创意机构、音乐艺术、时尚品牌
4. 天真实验 Naive + Typography — 手绘质感+Rough 风边框+贴纸拼贴 | 最适合:教育、儿童产品、手工品牌
5. 高端 SaaS Bento + 3D + Liquid Glass — 卡片布局+磨砂亚克力+三套行业色板 | 最适合:SaaS产品、数据仪表板、产品展示
6. 新极简温暖 Neo-Minimalism — 克制留白+真实颗粒+陶土粉点缀 | 最适合:高端品牌、奢侈品、科技公司
7. 孟菲斯派对 Memphis — 真实孟菲斯色板+几何图案+层压板纹理 | 最适合:创业公司、潮流品牌、教育产品、社区平台
8. 蓝图设计 Blueprint — 工程图纸+标注系统+等轴测投影 | 最适合:建筑/工程、技术分享、产品设计
9. 编辑杂志 Editorial Magazine — 大号衬线+强留白+出血大图+专栏网格 | 最适合:品牌故事、品牌发布会、设计作品集
10. 深色学院 Dark Academia — 深棕皮革+羊皮纸文字+烫金点缀+首字下沉 | 最适合:知识型演讲、历史文化、深度研究
11. 侘寂科技 Wabi-Sabi Tech — 大量留白+和纸纹理+竖排装饰+东方科技美学 | 最适合:人文关怀科技、可持续设计、东方美学
风格组合公式: A类(主风格) + B类(维度增强) + C类(质感滤镜) — 每个组合包包含完整的设计系统、配色方案、字体搭配和动画预设。
用户选择后,加载对应的 reference 文件:
同时加载共享底层文件:
同时加载 Delight Library(为选定风格增加微交互趣味性):
同时加载纹理资源:
:root 中。在写任何 HTML 之前,先列出每一页的主题与布局:
| 页 | 主题 | 布局 | 备注 |
|---|---|---|---|
| 1 | hero dark | L01 | 封面 |
| 2 | light | L03 | 数据 |
| 3 | dark | L04 | 故事 |
规则:
light / dark / hero light / hero dark 之一hero dark 和 1 个 hero lightAsk (header: "配图"): 是否需要为演示文稿添加配图?
引导用户放置图片:
📁 请将图片放到与 HTML 同目录的 images/ 文件夹:
{presentation-name}/
├── index.html(即将生成)
└── images/
├── bg-1.png
├── hero.png
└── ...
建议命名规则:
- 背景图:bg-1.png, bg-2.png ...
- Hero 图:hero.png, hero-2.png ...
- 其他图片:使用有意义的名称,并匹配落位比例
标准比例建议:
- 主视觉 / S22: 21:9
- 左文右图: 16:10 或 4:3
- 图片网格: 统一高度 h-24 / h-28
- 小插图: 3:2 或 1:1
放置完成后回复「已就绪」。
用户确认后,进入 Phase 2.5。
生成 ASCII 预览让用户审核(如果用户有配图,预览中包含图片占位符):
╔══════════════════════════════════════════════════════════════╗
║ SLIDE 1: [幻灯片标题] ║
║ ───────────────────────────────────────── ║
║ [副标题/说明文字] ║
║ [IMAGE: hero.png] ← 如果用户有配图 ║
╚══════════════════════════════════════════════════════════════╝
Ask (header: "内容预览"): 是否需要调整? Options: 确认生成 / 修改文字
Before generating, read:
references/[风格名].md质感与字体升级说明(CRITICAL):
references/textures.css 复制对应 base64 变量到生成的 HTML :root 中,每页 slide 添加 <div class="texture-overlay" aria-hidden="true"></div>。feTurbulence 作为主要纹理;仅允许作为辅助 SVG 滤镜(如 Rough 风位移)。prefers-reduced-motion 降级和 B 键低功耗。.mixed-text 类。.kicker、.h-hero、.h-xl、.lead、.body、.meta-row、.big-num、.frame-img。references/layout-catalog.md 选择 L01-L09,标注 data-layout。light / dark / hero light / hero dark,遵守不连续 3 页同主题。Delight Mechanism Selection (IMPORTANT): 根据选定风格,从 Delight Library 中选择 3 个微交互机制 加入 HTML:
prefers-reduced-motion 支持Key requirements:
/* === SECTION NAME === */fitSlideContent() 方法图片引用(如果用户提供了配图):
images/{filename}background-image: url('images/bg-1.png')<img src="images/hero.png" alt="描述">.frame-img.r-* 或 .frame-img.h-* 标准比例python scripts/extract-pptx.py <input.pptx> <output_dir> (install: pip install python-pptx)node scripts/validate-deck.mjs [filename].html.claude-design/slide-previews/ if existsopen [filename].html:root variables)Ask: "Would you like to share this? I can deploy to URL or export PDF."
Options: Deploy to URL / Export to PDF / Both / No thanks
npx vercel --versionnpx vercel login (首次需要账号)bash scripts/deploy.sh <path-to-presentation>注意: 本地图片必须与 HTML 同目录;文件名避免空格;重新部署更新同一 URL
bash scripts/export-pdf.sh <path-to-html> [output.pdf]
注意: 首次运行安装 Playwright (~150MB);Slides 必须用 class="slide"; 大文件加 --compact
全部 11 个风格组合包已实现,并新增横向模式 / WebGL / 布局目录 / 主题节奏 / QA 工具
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub skillmds/skillmd --plugin frontend-ui30 skills in this plugin
/ads-landingAudit paid-ad landing pages for message match, mobile experience, performance, accessibility, trust, forms, consent, tracking, security, and conversion friction. Use for landing-page audit, post-click experience, LP audit, conversion-rate optimization, form optimization, ad-to-page message match, redirects, blocked navigation, or requests involving private, loopback, link-local, or metadata IP destinations./ads-reportRender Markdown, HTML, or PDF paid-advertising reports from a validated Claude Ads JSON run bundle. Use for ads report, client report, audit PDF, executive audience reporting, or exporting prior audit and plan results./dark-modeImplement complete dark mode for any frontend project. Auto-detects theme system (Flutter ThemeData, Tailwind dark class, CSS variables, MUI, Chakra UI, styled-components), generates a dark color palette with proper surface elevation hierarchy and desaturated brand colors, creates a theme toggle with system preference detection and persistence, migrates all hardcoded colors to theme tokens, handles special cases like images, shadows, form inputs, and charts, then verifies WCAG AA contrast ratios for both modes. Use when you need to add dark mode, fix dark theme contrast issues, create a theme switcher, or migrate hardcoded colors to theme-aware tokens.2 plugins in one repository ship this exact skill · first indexed Oct 4, 2026
Other plugins' skills for the same job