Skills Plugins MCP Prompt Model 博客 我的中心

frontend-slides

Use when creating animation-rich HTML presentations or convert PPT to web.

DeepseekModel Curated skill Quality Good · 64 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=exiao-skills-design-frontend-slides-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name frontend-slides description Use when creating animation-rich HTML presentations or convert PPT to web. Frontend Slides Skill Create zero-dependency, animation-rich HTML presentations that run entirely in the browser. This skill helps non-designers discover their preferred aesthetic through visual exploration ("show, don't tell"), then generates production-quality slide decks. Core Philosophy Zero Dependencies — Single self-contained HTML files. No npm, no build tools. Show, Don't Tell — Generate visual previews; people don't know what they want until they see it. Distinctive Design — Avoid generic "AI slop" aesthetics. Every deck should feel custom-crafted. Production Quality — Well-commented, accessible, performant code. Viewport Fitting (NON-NEGOTIABLE) — Every slide MUST fit exactly in the viewport. No scrolling within slides. Ever. Phase 0: Detect Mode First Before anything else, identify which mode applies: Mode Trigger Go to A: New Presentation Creating from scratch Phase 1 (Content Discovery) B: PPT Conversion User has a .ppt/.pptx file Phase 4 (PPT Extraction) C: Enhancement Existing HTML presentation to improve Read file → enhance Core Workflow (New Presentation) Phase 1 — Content Discovery: Extract topic, key messages, audience, tone, slide count. Phase 2 — Style Discovery: Generate 3 visual thumbnails (different aesthetics). User picks or mixes. Never ask abstract style questions. Phase 3 — Generate Presentation: Build the full HTML file based on content + chosen style. Phase 4 (if PPT) — Extract & Convert: Parse PPTX structure, preserve layout intent, elevate with web animations. Phase 5 — Deliver: Output as a single .html file. Include keyboard nav, swipe support, progress bar. Generating the Presentation (Phase 3) Required HTML Architecture One .html file; all CSS/JS inline <section class="slide"> per slide CSS custom properties ( :root { --accent: ...; --title-size: clamp(...); } ) for easy theming SlidePresentation JS class: keyboard nav (arrows, space), touch/swipe, mouse wheel, progress bar, nav dots IntersectionObserver for scroll-triggered .reveal animations Required JavaScript Features Every presentation needs: Keyboard navigation (← → Space) Touch/swipe support Mouse wheel navigation Progress bar updates Navigation dots Scroll-triggered animations via IntersectionObserver Optional enhancements (based on chosen style): custom cursor, particle backgrounds, parallax, 3D tilt, magnetic buttons, counter animations. Code Quality Comment every section: what it does, why, how to modify Semantic HTML ( <section> , <nav> , <main> ) ARIA labels where needed prefers-reduced-motion support CRITICAL: Viewport Fitting Requirements The Golden Rule: Each slide = exactly one viewport height ( 100vh / 100dvh ). Content overflows? Split into multiple slides. Never allow scrolling within a slide. Mandatory CSS for Every Presentation html { scroll-snap-type : y mandatory; height : 100% ; } body { height : 100% ; overflow-x : hidden; } .slide { width : 100vw ; height : 100vh ; height : 100 dvh; /* mobile browsers */ overflow : hidden; /* CRITICAL */ scroll-snap-align : start; display : flex; flex-direction : column; position : relative; } /* ALL typography and spacing must use clamp() */ :root { --title-size : clamp ( 1.5rem , 5vw , 4rem ); --body-size : clamp ( 0.75rem , 1.5vw , 1.125rem ); --slide-padding : clamp ( 1rem , 4vw , 4rem ); } Content Density Limits (per slide) Slide Type Max Content Title 1 heading + 1 subtitle + optional tagline Content 1 heading + 4–6 bullets OR 2 paragraphs Feature grid 1 heading + 6 cards max Code 1 heading + 8–10 lines Quote 1 quote (3 lines max) + attribution Image 1 heading + 1 image (max 60vh) If content exceeds limits → split into multiple slides, never scroll. Responsive Breakpoints Required @media ( max-height : 700px ) { /* reduce padding + font sizes */ } @media ( max-height : 600px ) { /* hide decorative elements */ } @media ( max-height : 500px ) { /* extra compact for landscape phones */ } @media ( max-width : 600px ) { /* stack grids, larger font scale */ } Pre-Generation Checklist ✅ Every .slide has height: 100vh; height: 100dvh; overflow: hidden; ✅ All font sizes use clamp() ✅ All spacing uses clamp() or viewport units ✅ Content containers have max-height constraints ✅ Images constrained to max-height: min(50vh, 400px) ✅ Grids use auto-fit with minmax() ✅ Breakpoints for heights: 700px, 600px, 500px Output Format A single self-contained presentation.html file (or [name].html ) with all CSS/JS inline. No external dependencies except optional web fonts (Fontshare/Google Fonts). References This skill content is modularized into reference docs for readability. Core Philosophy CRITICAL: Viewport Fitting Requirements Phase 0: Detect Mode Phase 1: Content Discovery (New Presentations) Phase 2: Style Discovery (Visual Exploration) Phase 3: Generate Presentation Phase 4: PPT Conversion Phase 5: Delivery Style Reference: Effect → Feeling Mapping Animation Patterns Reference Troubleshooting Related Skills Example Session Flow Conversion Session Flow Adding Slides from Images — recreating screenshot visuals as inline SVG/HTML, slide critique workflow, Surge deploy tips Existing Surge Deck Enhancement — backup-first workflow, Google Slides visual extraction, localhost/live verification, screenshot delivery, and pitfalls for editing deployed HTML decks Live Demo Strategy — selecting, sequencing, and framing live demos in decks; the "toy vs factory" anti-pattern; risk management; slide structure for demo slides
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。