[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DS4DV7CT4PY43TX30QCBVQ":3,"skill-same:01M6DS4DV7CT4PY43TX30QCBVQ":81},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6DS4DV7CT4PY43TX30QCBVQ","gtm-create-html-slides",null,"Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"gtm create html slides","gtm","create","slides","html","use","discover","visual","exploration","build","files","aesthetic","pptx","user","convert","Animation","powerpoint","presentations","web","2026-11-10 10:12:30",false,"---\nname: gtm-create-html-slides\ndescription: Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.\n---\n\n# Frontend Slides Skill\n\nCreate 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.\n\n## Core Philosophy\n\n1. **Zero Dependencies** — Single HTML files with inline CSS\u002FJS. No npm, no build tools.\n2. **Show, Don't Tell** — People don't know what they want until they see it. Generate visual previews, not abstract choices.\n3. **Distinctive Design** — Avoid generic \"AI slop\" aesthetics. Every presentation should feel custom-crafted.\n4. **Production Quality** — Code should be well-commented, accessible, and performant.\n5. **Viewport Fitting (CRITICAL)** — Every slide MUST fit exactly within the viewport. No scrolling within slides, ever. This is non-negotiable.\n\n---\n\n## CRITICAL: Viewport Fitting Requirements\n\n**This section is mandatory for ALL presentations. Every slide must be fully visible without scrolling on any screen size.**\n\n### The Golden Rule\n\n```\nEach slide = exactly one viewport height (100vh\u002F100dvh)\nContent overflows? → Split into multiple slides or reduce content\nNever scroll within a slide.\n```\n\n### Content Density Limits\n\nTo guarantee viewport fitting, enforce these limits per slide:\n\n| Slide Type | Maximum Content |\n|------------|-----------------|\n| Title slide | 1 heading + 1 subtitle + optional tagline |\n| Content slide | 1 heading + 4-6 bullet points OR 1 heading + 2 paragraphs |\n| Feature grid | 1 heading + 6 cards maximum (2x3 or 3x2 grid) |\n| Code slide | 1 heading + 8-10 lines of code maximum |\n| Quote slide | 1 quote (max 3 lines) + attribution |\n| Image slide | 1 heading + 1 image (max 60vh height) |\n\n**If content exceeds these limits → Split into multiple slides**\n\n### Required CSS Architecture\n\nEvery presentation MUST include this base CSS for viewport fitting:\n\n```css\n\u002F* ===========================================\n   VIEWPORT FITTING: MANDATORY BASE STYLES\n   These styles MUST be included in every presentation.\n   They ensure slides fit exactly in the viewport.\n   =========================================== *\u002F\n\n\u002F* 1. Lock html\u002Fbody to viewport *\u002F\nhtml, body {\n    height: 100%;\n    overflow-x: hidden;\n}\n\nhtml {\n    scroll-snap-type: y mandatory;\n    scroll-behavior: smooth;\n}\n\n\u002F* 2. Each slide = exact viewport height *\u002F\n.slide {\n    width: 100vw;\n    height: 100vh;\n    height: 100dvh; \u002F* Dynamic viewport height for mobile browsers *\u002F\n    overflow: hidden; \u002F* CRITICAL: Prevent ANY overflow *\u002F\n    scroll-snap-align: start;\n    display: flex;\n    flex-direction: column;\n    position: relative;\n}\n\n\u002F* 3. Content container with flex for centering *\u002F\n.slide-content {\n    flex: 1;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    max-height: 100%;\n    overflow: hidden; \u002F* Double-protection against overflow *\u002F\n    padding: var(--slide-padding);\n}\n\n\u002F* 4. ALL typography uses clamp() for responsive scaling *\u002F\n:root {\n    \u002F* Titles scale from mobile to desktop *\u002F\n    --title-size: clamp(1.5rem, 5vw, 4rem);\n    --h2-size: clamp(1.25rem, 3.5vw, 2.5rem);\n    --h3-size: clamp(1rem, 2.5vw, 1.75rem);\n\n    \u002F* Body text *\u002F\n    --body-size: clamp(0.75rem, 1.5vw, 1.125rem);\n    --small-size: clamp(0.65rem, 1vw, 0.875rem);\n\n    \u002F* Spacing scales with viewport *\u002F\n    --slide-padding: clamp(1rem, 4vw, 4rem);\n    --content-gap: clamp(0.5rem, 2vw, 2rem);\n    --element-gap: clamp(0.25rem, 1vw, 1rem);\n}\n\n\u002F* 5. Cards\u002Fcontainers use viewport-relative max sizes *\u002F\n.card, .container, .content-box {\n    max-width: min(90vw, 1000px);\n    max-height: min(80vh, 700px);\n}\n\n\u002F* 6. Lists auto-scale with viewport *\u002F\n.feature-list, .bullet-list {\n    gap: clamp(0.4rem, 1vh, 1rem);\n}\n\n.feature-list li, .bullet-list li {\n    font-size: var(--body-size);\n    line-height: 1.4;\n}\n\n\u002F* 7. Grids adapt to available space *\u002F\n.grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));\n    gap: clamp(0.5rem, 1.5vw, 1rem);\n}\n\n\u002F* 8. Images constrained to viewport *\u002F\nimg, .image-container {\n    max-width: 100%;\n    max-height: min(50vh, 400px);\n    object-fit: contain;\n}\n\n\u002F* ===========================================\n   RESPONSIVE BREAKPOINTS\n   Aggressive scaling for smaller viewports\n   =========================================== *\u002F\n\n\u002F* Short viewports (\u003C 700px height) *\u002F\n@media (max-height: 700px) {\n    :root {\n        --slide-padding: clamp(0.75rem, 3vw, 2rem);\n        --content-gap: clamp(0.4rem, 1.5vw, 1rem);\n        --title-size: clamp(1.25rem, 4.5vw, 2.5rem);\n        --h2-size: clamp(1rem, 3vw, 1.75rem);\n    }\n}\n\n\u002F* Very short viewports (\u003C 600px height) *\u002F\n@media (max-height: 600px) {\n    :root {\n        --slide-padding: clamp(0.5rem, 2.5vw, 1.5rem);\n        --content-gap: clamp(0.3rem, 1vw, 0.75rem);\n        --title-size: clamp(1.1rem, 4vw, 2rem);\n        --body-size: clamp(0.7rem, 1.2vw, 0.95rem);\n    }\n\n    \u002F* Hide non-essential elements *\u002F\n    .nav-dots, .keyboard-hint, .decorative {\n        display: none;\n    }\n}\n\n\u002F* Extremely short (landscape phones, \u003C 500px height) *\u002F\n@media (max-height: 500px) {\n    :root {\n        --slide-padding: clamp(0.4rem, 2vw, 1rem);\n        --title-size: clamp(1rem, 3.5vw, 1.5rem);\n        --h2-size: clamp(0.9rem, 2.5vw, 1.25rem);\n        --body-size: clamp(0.65rem, 1vw, 0.85rem);\n    }\n}\n\n\u002F* Narrow viewports (\u003C 600px width) *\u002F\n@media (max-width: 600px) {\n    :root {\n        --title-size: clamp(1.25rem, 7vw, 2.5rem);\n    }\n\n    \u002F* Stack grids vertically *\u002F\n    .grid {\n        grid-template-columns: 1fr;\n    }\n}\n\n\u002F* ===========================================\n   REDUCED MOTION\n   Respect user preferences\n   =========================================== *\u002F\n@media (prefers-reduced-motion: reduce) {\n    *, *::before, *::after {\n        animation-duration: 0.01ms !important;\n        transition-duration: 0.2s !important;\n    }\n\n    html {\n        scroll-behavior: auto;\n    }\n}\n```\n\n### Overflow Prevention Checklist\n\nBefore generating any presentation, mentally verify:\n\n1. ✅ Every `.slide` has `height: 100vh; height: 100dvh; overflow: hidden;`\n2. ✅ All font sizes use `clamp(min, preferred, max)`\n3. ✅ All spacing uses `clamp()` or viewport units\n4. ✅ Content containers have `max-height` constraints\n5. ✅ Images have `max-height: min(50vh, 400px)` or similar\n6. ✅ Grids use `auto-fit` with `minmax()` for responsive columns\n7. ✅ Breakpoints exist for heights: 700px, 600px, 500px\n8. ✅ No fixed pixel heights on content elements\n9. ✅ Content per slide respects density limits\n\n### When Content Doesn't Fit\n\nIf you find yourself with too much content:\n\n**DO:**\n- Split into multiple slides\n- Reduce bullet points (max 5-6 per slide)\n- Shorten text (aim for 1-2 lines per bullet)\n- Use smaller code snippets\n- Create a \"continued\" slide\n\n**DON'T:**\n- Reduce font size below readable limits\n- Remove padding\u002Fspacing entirely\n- Allow any scrolling\n- Cram content to fit\n\n### Testing Viewport Fit\n\nAfter generating, recommend the user test at these sizes:\n- Desktop: 1920×1080, 1440×900, 1280×720\n- Tablet: 1024×768, 768×1024 (portrait)\n- Mobile: 375×667, 414×896\n- Landscape phone: 667×375, 896×414\n\n---\n\n## Phase 0: Detect Mode\n\nFirst, determine what the user wants:\n\n**Mode A: New Presentation**\n- User wants to create slides from scratch\n- Proceed to Phase 1 (Content Discovery)\n\n**Mode B: PPT Conversion**\n- User has a PowerPoint file (.ppt, .pptx) to convert\n- Proceed to Phase 4 (PPT Extraction)\n\n**Mode C: Existing Presentation Enhancement**\n- User has an HTML presentation and wants to improve it\n- Read the existing file, understand the structure, then enhance\n\n---\n\n## Phase 1: Content Discovery (New Presentations)\n\nBefore designing, understand the content. Ask via AskUserQuestion:\n\n### Step 1.1: Presentation Context\n\n**Question 1: Purpose**\n- Header: \"Purpose\"\n- Question: \"What is this presentation for?\"\n- Options:\n  - \"Pitch deck\" — Selling an idea, product, or company to investors\u002Fclients\n  - \"Teaching\u002FTutorial\" — Explaining concepts, how-to guides, educational content\n  - \"Conference talk\" — Speaking at an event, tech talk, keynote\n  - \"Internal presentation\" — Team updates, strategy meetings, company updates\n\n**Question 2: Slide Count**\n- Header: \"Length\"\n- Question: \"Approximately how many slides?\"\n- Options:\n  - \"Short (5-10)\" — Quick pitch, lightning talk\n  - \"Medium (10-20)\" — Standard presentation\n  - \"Long (20+)\" — Deep dive, comprehensive talk\n\n**Question 3: Content**\n- Header: \"Content\"\n- Question: \"Do you have the content ready, or do you need help structuring it?\"\n- Options:\n  - \"I have all content ready\" — Just need to design the presentation\n  - \"I have rough notes\" — Need help organizing into slides\n  - \"I have a topic only\" — Need help creating the full outline\n\nIf user has content, ask them to share it (text, bullet points, images, etc.).\n\n---\n\n## Phase 2: Style Discovery (Visual Exploration)\n\n**CRITICAL: This is the \"show, don't tell\" phase.**\n\nMost people can't articulate design preferences in words. Instead of asking \"do you want minimalist or bold?\", we generate mini-previews and let them react.\n\n### How Users Choose Presets\n\nUsers can select a style in **two ways**:\n\n**Option A: Guided Discovery (Default)**\n- User answers mood questions\n- Skill generates 3 preview files based on their answers\n- User views previews in browser and picks their favorite\n- This is best for users who don't have a specific style in mind\n\n**Option B: Direct Selection**\n- If user already knows what they want, they can request a preset by name\n- Example: \"Use the Bold Signal style\" or \"I want something like Dark Botanical\"\n- Skip to Phase 3 immediately\n\n**Available Presets:**\n| Preset | Vibe | Best For |\n|--------|------|----------|\n| Bold Signal | Confident, high-impact | Pitch decks, keynotes |\n| Electric Studio | Clean, professional | Agency presentations |\n| Creative Voltage | Energetic, retro-modern | Creative pitches |\n| Dark Botanical | Elegant, sophisticated | Premium brands |\n| Notebook Tabs | Editorial, organized | Reports, reviews |\n| Pastel Geometry | Friendly, approachable | Product overviews |\n| Split Pastel | Playful, modern | Creative agencies |\n| Vintage Editorial | Witty, personality-driven | Personal brands |\n| Neon Cyber | Futuristic, techy | Tech startups |\n| Terminal Green | Developer-focused | Dev tools, APIs |\n| Swiss Modern | Minimal, precise | Corporate, data |\n| Paper & Ink | Literary, thoughtful | Storytelling |\n\n### Step 2.0: Style Path Selection\n\nFirst, ask how the user wants to choose their style:\n\n**Question: Style Selection Method**\n- Header: \"Style\"\n- Question: \"How would you like to choose your presentation style?\"\n- Options:\n  - \"Show me options\" — Generate 3 previews based on my needs (recommended for most users)\n  - \"I know what I want\" — Let me pick from the preset list directly\n  - \"Use client branding\" — Apply a client's brand colors, fonts, and aesthetic\n\n**If \"Show me options\"** → Continue to Step 2.1 (Mood Selection)\n\n**If \"I know what I want\"** → Show preset picker:\n\n**Question: Pick a Preset**\n- Header: \"Preset\"\n- Question: \"Which style would you like to use?\"\n- Options:\n  - \"Bold Signal\" — Vibrant card on dark, confident and high-impact\n  - \"Dark Botanical\" — Elegant dark with soft abstract shapes\n  - \"Notebook Tabs\" — Editorial paper look with colorful section tabs\n  - \"Pastel Geometry\" — Friendly pastels with decorative pills\n\n(If user picks one, skip to Phase 3. If they want to see more options, show additional presets or proceed to guided discovery.)\n\n**If \"Use client branding\"** → Load client visual identity:\n\n1. Ask which client this presentation is for (or infer from context)\n2. Check for `clients\u002F\u003Cclient-name>\u002Fbrand\u002Fvisual-identity.md`\n3. **If the file exists:** Read the \"Slide Preset\" section. Use its CSS `:root` custom properties as the presentation's theme variables, its typography as the font pairing, its font loading `\u003Clink>` tag, and its signature elements as design guidance for decorative CSS.\n4. **If the file does not exist:** Tell the user: \"No visual identity has been extracted yet for [client]. Would you like me to extract it now? Please provide the client's website URL.\" Then run the `visual-brand-extractor` skill to generate the file, and continue.\n5. Skip to Phase 3 with the client preset loaded.\n\n### Step 2.1: Mood Selection (Guided Discovery)\n\n**Question 1: Feeling**\n- Header: \"Vibe\"\n- Question: \"What feeling should the audience have when viewing your slides?\"\n- Options:\n  - \"Impressed\u002FConfident\" — Professional, trustworthy, this team knows what they're doing\n  - \"Excited\u002FEnergized\" — Innovative, bold, this is the future\n  - \"Calm\u002FFocused\" — Clear, thoughtful, easy to follow\n  - \"Inspired\u002FMoved\" — Emotional, storytelling, memorable\n- multiSelect: true (can choose up to 2)\n\n### Step 2.2: Generate Style Previews\n\nBased on their mood selection, generate **3 distinct style previews** as mini HTML files in a temporary directory. Each preview should be a single title slide showing:\n\n- Typography (font choices, heading\u002Fbody hierarchy)\n- Color palette (background, accent, text colors)\n- Animation style (how elements enter)\n- Overall aesthetic feel\n\n**Preview Styles to Consider (pick 3 based on mood):**\n\n| Mood | Style Options |\n|------|---------------|\n| Impressed\u002FConfident | \"Bold Signal\", \"Electric Studio\", \"Dark Botanical\" |\n| Excited\u002FEnergized | \"Creative Voltage\", \"Neon Cyber\", \"Split Pastel\" |\n| Calm\u002FFocused | \"Notebook Tabs\", \"Paper & Ink\", \"Swiss Modern\" |\n| Inspired\u002FMoved | \"Dark Botanical\", \"Vintage Editorial\", \"Pastel Geometry\" |\n\n**IMPORTANT: Never use these generic patterns:**\n- Purple gradients on white backgrounds\n- Inter, Roboto, or system fonts\n- Standard blue primary colors\n- Predictable hero layouts\n\n**Instead, use distinctive choices:**\n- Unique font pairings (Clash Display, Satoshi, Cormorant Garamond, DM Sans, etc.)\n- Cohesive color themes with personality\n- Atmospheric backgrounds (gradients, subtle patterns, depth)\n- Signature animation moments\n\n### Step 2.3: Present Previews\n\nCreate the previews in: `.claude-design\u002Fslide-previews\u002F`\n\n```\n.claude-design\u002Fslide-previews\u002F\n├── style-a.html   # First style option\n├── style-b.html   # Second style option\n├── style-c.html   # Third style option\n└── assets\u002F        # Any shared assets\n```\n\nEach preview file should be:\n- Self-contained (inline CSS\u002FJS)\n- A single \"title slide\" showing the aesthetic\n- Animated to demonstrate motion style\n- ~50-100 lines, not a full presentation\n\nPresent to user:\n```\nI've created 3 style previews for you to compare:\n\n**Style A: [Name]** — [1 sentence description]\n**Style B: [Name]** — [1 sentence description]\n**Style C: [Name]** — [1 sentence description]\n\nOpen each file to see them in action:\n- .claude-design\u002Fslide-previews\u002Fstyle-a.html\n- .claude-design\u002Fslide-previews\u002Fstyle-b.html\n- .claude-design\u002Fslide-previews\u002Fstyle-c.html\n\nTake a look and tell me:\n1. Which style resonates most?\n2. What do you like about it?\n3. Anything you'd change?\n```\n\nThen use AskUserQuestion:\n\n**Question: Pick Your Style**\n- Header: \"Style\"\n- Question: \"Which style preview do you prefer?\"\n- Options:\n  - \"Style A: [Name]\" — [Brief description]\n  - \"Style B: [Name]\" — [Brief description]\n  - \"Style C: [Name]\" — [Brief description]\n  - \"Mix elements\" — Combine aspects from different styles\n\nIf \"Mix elements\", ask for specifics.\n\n---\n\n## Phase 3: Generate Presentation\n\nNow generate the full presentation based on:\n- Content from Phase 1\n- Style from Phase 2\n\n### File Structure\n\nFor single presentations:\n```\npresentation.html    # Self-contained presentation\nassets\u002F              # Images, if any\n```\n\nFor projects with multiple presentations:\n```\n[presentation-name].html\n[presentation-name]-assets\u002F\n```\n\n### HTML Architecture\n\nFollow this structure for all presentations:\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n    \u003Cmeta charset=\"UTF-8\">\n    \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    \u003Ctitle>Presentation Title\u003C\u002Ftitle>\n\n    \u003C!-- Fonts (use Fontshare or Google Fonts) -->\n    \u003Clink rel=\"stylesheet\" href=\"https:\u002F\u002Fapi.fontshare.com\u002Fv2\u002Fcss?f[]=...\">\n\n    \u003Cstyle>\n        \u002F* ===========================================\n           CSS CUSTOM PROPERTIES (THEME)\n           Easy to modify: change these to change the whole look\n           =========================================== *\u002F\n        :root {\n            \u002F* Colors *\u002F\n            --bg-primary: #0a0f1c;\n            --bg-secondary: #111827;\n            --text-primary: #ffffff;\n            --text-secondary: #9ca3af;\n            --accent: #00ffcc;\n            --accent-glow: rgba(0, 255, 204, 0.3);\n\n            \u002F* Typography - MUST use clamp() for responsive scaling *\u002F\n            --font-display: 'Clash Display', sans-serif;\n            --font-body: 'Satoshi', sans-serif;\n            --title-size: clamp(2rem, 6vw, 5rem);\n            --subtitle-size: clamp(0.875rem, 2vw, 1.25rem);\n            --body-size: clamp(0.75rem, 1.2vw, 1rem);\n\n            \u002F* Spacing - MUST use clamp() for responsive scaling *\u002F\n            --slide-padding: clamp(1.5rem, 4vw, 4rem);\n            --content-gap: clamp(1rem, 2vw, 2rem);\n\n            \u002F* Animation *\u002F\n            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);\n            --duration-normal: 0.6s;\n        }\n\n        \u002F* ===========================================\n           BASE STYLES\n           =========================================== *\u002F\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n        }\n\n        html {\n            scroll-behavior: smooth;\n            scroll-snap-type: y mandatory;\n            height: 100%;\n        }\n\n        body {\n            font-family: var(--font-body);\n            background: var(--bg-primary);\n            color: var(--text-primary);\n            overflow-x: hidden;\n            height: 100%;\n        }\n\n        \u002F* ===========================================\n           SLIDE CONTAINER\n           CRITICAL: Each slide MUST fit exactly in viewport\n           - Use height: 100vh (NOT min-height)\n           - Use overflow: hidden to prevent scroll\n           - Content must scale with clamp() values\n           =========================================== *\u002F\n        .slide {\n            width: 100vw;\n            height: 100vh; \u002F* EXACT viewport height - no scrolling *\u002F\n            height: 100dvh; \u002F* Dynamic viewport height for mobile *\u002F\n            padding: var(--slide-padding);\n            scroll-snap-align: start;\n            display: flex;\n            flex-direction: column;\n            justify-content: center;\n            position: relative;\n            overflow: hidden; \u002F* Prevent any content overflow *\u002F\n        }\n\n        \u002F* Content wrapper that prevents overflow *\u002F\n        .slide-content {\n            flex: 1;\n            display: flex;\n            flex-direction: column;\n            justify-content: center;\n            max-height: 100%;\n            overflow: hidden;\n        }\n\n        \u002F* ===========================================\n           RESPONSIVE BREAKPOINTS\n           Adjust content for different screen sizes\n           =========================================== *\u002F\n        @media (max-height: 600px) {\n            :root {\n                --slide-padding: clamp(1rem, 3vw, 2rem);\n                --content-gap: clamp(0.5rem, 1.5vw, 1rem);\n            }\n        }\n\n        @media (max-width: 768px) {\n            :root {\n                --title-size: clamp(1.5rem, 8vw, 3rem);\n            }\n        }\n\n        @media (max-height: 500px) and (orientation: landscape) {\n            \u002F* Extra compact for landscape phones *\u002F\n            :root {\n                --title-size: clamp(1.25rem, 5vw, 2rem);\n                --slide-padding: clamp(0.75rem, 2vw, 1.5rem);\n            }\n        }\n\n        \u002F* ===========================================\n           ANIMATIONS\n           Trigger via .visible class (added by JS on scroll)\n           =========================================== *\u002F\n        .reveal {\n            opacity: 0;\n            transform: translateY(30px);\n            transition: opacity var(--duration-normal) var(--ease-out-expo),\n                        transform var(--duration-normal) var(--ease-out-expo);\n        }\n\n        .slide.visible .reveal {\n            opacity: 1;\n            transform: translateY(0);\n        }\n\n        \u002F* Stagger children *\u002F\n        .reveal:nth-child(1) { transition-delay: 0.1s; }\n        .reveal:nth-child(2) { transition-delay: 0.2s; }\n        .reveal:nth-child(3) { transition-delay: 0.3s; }\n        .reveal:nth-child(4) { transition-delay: 0.4s; }\n\n        \u002F* ... more styles ... *\u002F\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003C!-- Progress bar (optional) -->\n    \u003Cdiv class=\"progress-bar\">\u003C\u002Fdiv>\n\n    \u003C!-- Navigation dots (optional) -->\n    \u003Cnav class=\"nav-dots\">\n        \u003C!-- Generated by JS -->\n    \u003C\u002Fnav>\n\n    \u003C!-- Slides -->\n    \u003Csection class=\"slide title-slide\">\n        \u003Ch1 class=\"reveal\">Presentation Title\u003C\u002Fh1>\n        \u003Cp class=\"reveal\">Subtitle or author\u003C\u002Fp>\n    \u003C\u002Fsection>\n\n    \u003Csection class=\"slide\">\n        \u003Ch2 class=\"reveal\">Slide Title\u003C\u002Fh2>\n        \u003Cp class=\"reveal\">Content...\u003C\u002Fp>\n    \u003C\u002Fsection>\n\n    \u003C!-- More slides... -->\n\n    \u003Cscript>\n        \u002F* ===========================================\n           SLIDE PRESENTATION CONTROLLER\n           Handles navigation, animations, and interactions\n           =========================================== *\u002F\n\n        class SlidePresentation {\n            constructor() {\n                \u002F\u002F ... initialization\n            }\n\n            \u002F\u002F ... methods\n        }\n\n        \u002F\u002F Initialize\n        new SlidePresentation();\n    \u003C\u002Fscript>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n### Required JavaScript Features\n\nEvery presentation should include:\n\n1. **SlidePresentation Class** — Main controller\n   - Keyboard navigation (arrows, space)\n   - Touch\u002Fswipe support\n   - Mouse wheel navigation\n   - Progress bar updates\n   - Navigation dots\n\n2. **Intersection Observer** — For scroll-triggered animations\n   - Add `.visible` class when slides enter viewport\n   - Trigger CSS animations efficiently\n\n3. **Optional Enhancements** (based on style):\n   - Custom cursor with trail\n   - Particle system background (canvas)\n   - Parallax effects\n   - 3D tilt on hover\n   - Magnetic buttons\n   - Counter animations\n\n### Code Quality Requirements\n\n**Comments:**\nEvery section should have clear comments explaining:\n- What it does\n- Why it exists\n- How to modify it\n\n```javascript\n\u002F* ===========================================\n   CUSTOM CURSOR\n   Creates a stylized cursor that follows mouse with a trail effect.\n   - Uses lerp (linear interpolation) for smooth movement\n   - Grows larger when hovering over interactive elements\n   =========================================== *\u002F\nclass CustomCursor {\n    constructor() {\n        \u002F\u002F ...\n    }\n}\n```\n\n**Accessibility:**\n- Semantic HTML (`\u003Csection>`, `\u003Cnav>`, `\u003Cmain>`)\n- Keyboard navigation works\n- ARIA labels where needed\n- Reduced motion support\n\n```css\n@media (prefers-reduced-motion: reduce) {\n    .reveal {\n        transition: opacity 0.3s ease;\n        transform: none;\n    }\n}\n```\n\n**Responsive & Viewport Fitting (CRITICAL):**\n\n**See the \"CRITICAL: Viewport Fitting Requirements\" section above for complete CSS and guidelines.**\n\nQuick reference:\n- Every `.slide` must have `height: 100vh; height: 100dvh; overflow: hidden;`\n- All typography and spacing must use `clamp()`\n- Respect content density limits (max 4-6 bullets, max 6 cards, etc.)\n- Include breakpoints for heights: 700px, 600px, 500px\n- When content doesn't fit → split into multiple slides, never scroll\n\n---\n\n## Phase 4: PPT Conversion\n\nWhen converting PowerPoint files:\n\n### Step 4.1: Extract Content\n\nUse Python with `python-pptx` to extract:\n\n```python\nfrom pptx import Presentation\nfrom pptx.util import Inches, Pt\nimport json\nimport os\nimport base64\n\ndef extract_pptx(file_path, output_dir):\n    \"\"\"\n    Extract all content from a PowerPoint file.\n    Returns a JSON structure with slides, text, and images.\n    \"\"\"\n    prs = Presentation(file_path)\n    slides_data = []\n\n    # Create assets directory\n    assets_dir = os.path.join(output_dir, 'assets')\n    os.makedirs(assets_dir, exist_ok=True)\n\n    for slide_num, slide in enumerate(prs.slides):\n        slide_data = {\n            'number': slide_num + 1,\n            'title': '',\n            'content': [],\n            'images': [],\n            'notes': ''\n        }\n\n        for shape in slide.shapes:\n            # Extract title\n            if shape.has_text_frame:\n                if shape == slide.shapes.title:\n                    slide_data['title'] = shape.text\n                else:\n                    slide_data['content'].append({\n                        'type': 'text',\n                        'content': shape.text\n                    })\n\n            # Extract images\n            if shape.shape_type == 13:  # Picture\n                image = shape.image\n                image_bytes = image.blob\n                image_ext = image.ext\n                image_name = f\"slide{slide_num + 1}_img{len(slide_data['images']) + 1}.{image_ext}\"\n                image_path = os.path.join(assets_dir, image_name)\n\n                with open(image_path, 'wb') as f:\n                    f.write(image_bytes)\n\n                slide_data['images'].append({\n                    'path': f\"assets\u002F{image_name}\",\n                    'width': shape.width,\n                    'height': shape.height\n                })\n\n        # Extract notes\n        if slide.has_notes_slide:\n            notes_frame = slide.notes_slide.notes_text_frame\n            slide_data['notes'] = notes_frame.text\n\n        slides_data.append(slide_data)\n\n    return slides_data\n```\n\n### Step 4.2: Confirm Content Structure\n\nPresent the extracted content to the user:\n\n```\nI've extracted the following from your PowerPoint:\n\n**Slide 1: [Title]**\n- [Content summary]\n- Images: [count]\n\n**Slide 2: [Title]**\n- [Content summary]\n- Images: [count]\n\n...\n\nAll images have been saved to the assets folder.\n\nDoes this look correct? Should I proceed with style selection?\n```\n\n### Step 4.3: Style Selection\n\nProceed to Phase 2 (Style Discovery) with the extracted content in mind.\n\n### Step 4.4: Generate HTML\n\nConvert the extracted content into the chosen style, preserving:\n- All text content\n- All images (referenced from assets folder)\n- Slide order\n- Any speaker notes (as HTML comments or separate file)\n\n---\n\n## Phase 5: Delivery\n\n### Final Output\n\nWhen the presentation is complete:\n\n1. **Clean up temporary files**\n   - Delete `.claude-design\u002Fslide-previews\u002F` if it exists\n\n2. **Open the presentation**\n   - Use `open [filename].html` to launch in browser\n\n3. **Provide summary**\n```\nYour presentation is ready!\n\n? File: [filename].html\n? Style: [Style Name]\n? Slides: [count]\n\n**Navigation:**\n- Arrow keys (← →) or Space to navigate\n- Scroll\u002Fswipe also works\n- Click the dots on the right to jump to a slide\n\n**To customize:**\n- Colors: Look for `:root` CSS variables at the top\n- Fonts: Change the Fontshare\u002FGoogle Fonts link\n- Animations: Modify `.reveal` class timings\n\nWould you like me to make any adjustments?\n```\n\n---\n\n## Style Reference: Effect → Feeling Mapping\n\nUse this guide to match animations to intended feelings:\n\n### Dramatic \u002F Cinematic\n- Slow fade-ins (1-1.5s)\n- Large scale transitions (0.9 → 1)\n- Dark backgrounds with spotlight effects\n- Parallax scrolling\n- Full-bleed images\n\n### Techy \u002F Futuristic\n- Neon glow effects (box-shadow with accent color)\n- Particle systems (canvas background)\n- Grid patterns\n- Monospace fonts for accents\n- Glitch or scramble text effects\n- Cyan, magenta, electric blue palette\n\n### Playful \u002F Friendly\n- Bouncy easing (spring physics)\n- Rounded corners (large radius)\n- Pastel or bright colors\n- Floating\u002Fbobbing animations\n- Hand-drawn or illustrated elements\n\n### Professional \u002F Corporate\n- Subtle, fast animations (200-300ms)\n- Clean sans-serif fonts\n- Navy, slate, or charcoal backgrounds\n- Precise spacing and alignment\n- Minimal decorative elements\n- Data visualization focus\n\n### Calm \u002F Minimal\n- Very slow, subtle motion\n- High whitespace\n- Muted color palette\n- Serif typography\n- Generous padding\n- Content-focused, no distractions\n\n### Editorial \u002F Magazine\n- Strong typography hierarchy\n- Pull quotes and callouts\n- Image-text interplay\n- Grid-breaking layouts\n- Serif headlines, sans-serif body\n- Black and white with one accent\n\n---\n\n## Animation Patterns Reference\n\n### Entrance Animations\n\n```css\n\u002F* Fade + Slide Up (most common) *\u002F\n.reveal {\n    opacity: 0;\n    transform: translateY(30px);\n    transition: opacity 0.6s var(--ease-out-expo),\n                transform 0.6s var(--ease-out-expo);\n}\n\n.visible .reveal {\n    opacity: 1;\n    transform: translateY(0);\n}\n\n\u002F* Scale In *\u002F\n.reveal-scale {\n    opacity: 0;\n    transform: scale(0.9);\n    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);\n}\n\n\u002F* Slide from Left *\u002F\n.reveal-left {\n    opacity: 0;\n    transform: translateX(-50px);\n    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);\n}\n\n\u002F* Blur In *\u002F\n.reveal-blur {\n    opacity: 0;\n    filter: blur(10px);\n    transition: opacity 0.8s, filter 0.8s var(--ease-out-expo);\n}\n```\n\n### Background Effects\n\n```css\n\u002F* Gradient Mesh *\u002F\n.gradient-bg {\n    background:\n        radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),\n        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 200, 0.2) 0%, transparent 50%),\n        var(--bg-primary);\n}\n\n\u002F* Noise Texture *\u002F\n.noise-bg {\n    background-image: url(\"data:image\u002Fsvg+xml,...\"); \u002F* Inline SVG noise *\u002F\n}\n\n\u002F* Grid Pattern *\u002F\n.grid-bg {\n    background-image:\n        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);\n    background-size: 50px 50px;\n}\n```\n\n### Interactive Effects\n\n```javascript\n\u002F* 3D Tilt on Hover *\u002F\nclass TiltEffect {\n    constructor(element) {\n        this.element = element;\n        this.element.style.transformStyle = 'preserve-3d';\n        this.element.style.perspective = '1000px';\n        this.bindEvents();\n    }\n\n    bindEvents() {\n        this.element.addEventListener('mousemove', (e) => {\n            const rect = this.element.getBoundingClientRect();\n            const x = (e.clientX - rect.left) \u002F rect.width - 0.5;\n            const y = (e.clientY - rect.top) \u002F rect.height - 0.5;\n\n            this.element.style.transform = `\n                rotateY(${x * 10}deg)\n                rotateX(${-y * 10}deg)\n            `;\n        });\n\n        this.element.addEventListener('mouseleave', () => {\n            this.element.style.transform = 'rotateY(0) rotateX(0)';\n        });\n    }\n}\n```\n\n---\n\n## Troubleshooting\n\n### Common Issues\n\n**Fonts not loading:**\n- Check Fontshare\u002FGoogle Fonts URL\n- Ensure font names match in CSS\n\n**Animations not triggering:**\n- Verify Intersection Observer is running\n- Check that `.visible` class is being added\n\n**Scroll snap not working:**\n- Ensure `scroll-snap-type` on html\u002Fbody\n- Each slide needs `scroll-snap-align: start`\n\n**Mobile issues:**\n- Disable heavy effects at 768px breakpoint\n- Test touch events\n- Reduce particle count or disable canvas\n\n**Performance issues:**\n- Use `will-change` sparingly\n- Prefer `transform` and `opacity` animations\n- Throttle scroll\u002Fmousemove handlers\n\n---\n\n## Related Skills\n\n- **learn** — Generate FORZARA.md documentation for the presentation\n- **frontend-design** — For more complex interactive pages beyond slides\n- **design-and-refine:design-lab** — For iterating on component designs\n\n---\n\n## Example Session Flow\n\n1. User: \"I want to create a pitch deck for my AI startup\"\n2. Skill asks about purpose, length, content\n3. User shares their bullet points and key messages\n4. Skill asks about desired feeling (Impressed + Excited)\n5. Skill generates 3 style previews\n6. User picks Style B (Neon Cyber), asks for darker background\n7. Skill generates full presentation with all slides\n8. Skill opens the presentation in browser\n9. User requests tweaks to specific slides\n10. Final presentation delivered\n\n---\n\n## Conversion Session Flow\n\n1. User: \"Convert my slides.pptx to a web presentation\"\n2. Skill extracts content and images from PPT\n3. Skill confirms extracted content with user\n4. Skill asks about desired feeling\u002Fstyle\n5. Skill generates style previews\n6. User picks a style\n7. Skill generates HTML presentation with preserved assets\n8. Final presentation delivered\n","# Frontend Slides Skill\n\nCreate 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.\n\n## Core Philosophy\n\n1. **Zero Dependencies** — Single HTML files with inline CSS\u002FJS. No npm, no build tools.\n2. **Show, Don't Tell** — People don't know what they want until they see it. Generate visual previews, not abstract choices.\n3. **Distinctive Design** — Avoid generic \"AI slop\" aesthetics. Every presentation should feel custom-crafted.\n4. **Production Quality** — Code should be well-commented, accessible, and performant.\n5. **Viewport Fitting (CRITICAL)** — Every slide MUST fit exactly within the viewport. No scrolling within slides, ever. This is non-negotiable.\n\n---\n\n## CRITICAL: Viewport Fitting Requirements\n\n**This section is mandatory for ALL presentations. Every slide must be fully visible without scrolling on any screen size.**\n\n### The Golden Rule\n\n```\nEach slide = exactly one viewport height (100vh\u002F100dvh)\nContent overflows? → Split into multiple slides or reduce content\nNever scroll within a slide.\n```\n\n### Content Density Limits\n\nTo guarantee viewport fitting, enforce these limits per slide:\n\n| Slide Type | Maximum Content |\n|------------|-----------------|\n| Title slide | 1 heading + 1 subtitle + optional tagline |\n| Content slide | 1 heading + 4-6 bullet points OR 1 heading + 2 paragraphs |\n| Feature grid | 1 heading + 6 cards maximum (2x3 or 3x2 grid) |\n| Code slide | 1 heading + 8-10 lines of code maximum |\n| Quote slide | 1 quote (max 3 lines) + attribution |\n| Image slide | 1 heading + 1 image (max 60vh height) |\n\n**If content exceeds these limits → Split into multiple slides**\n\n### Required CSS Architecture\n\nEvery presentation MUST include this base CSS for viewport fitting:\n\n```css\n\u002F* ===========================================\n   VIEWPORT FITTING: MANDATORY BASE STYLES\n   These styles MUST be included in every presentation.\n   They ensure slides fit exactly in the viewport.\n   =========================================== *\u002F\n\n\u002F* 1. Lock html\u002Fbody to viewport *\u002F\nhtml, body {\n    height: 100%;\n    overflow-x: hidden;\n}\n\nhtml {\n    scroll-snap-type: y mandatory;\n    scroll-behavior: smooth;\n}\n\n\u002F* 2. Each slide = exact viewport height *\u002F\n.slide {\n    width: 100vw;\n    height: 100vh;\n    height: 100dvh; \u002F* Dynamic viewport height for mobile browsers *\u002F\n    overflow: hidden; \u002F* CRITICAL: Prevent ANY overflow *\u002F\n    scroll-snap-align: start;\n    display: flex;\n    flex-direction: column;\n    position: relative;\n}\n\n\u002F* 3. Content container with flex for centering *\u002F\n.slide-content {\n    flex: 1;\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    max-height: 100%;\n    overflow: hidden; \u002F* Double-protection against overflow *\u002F\n    padding: var(--slide-padding);\n}\n\n\u002F* 4. ALL typography uses clamp() for responsive scaling *\u002F\n:root {\n    \u002F* Titles scale from mobile to desktop *\u002F\n    --title-size: clamp(1.5rem, 5vw, 4rem);\n    --h2-size: clamp(1.25rem, 3.5vw, 2.5rem);\n    --h3-size: clamp(1rem, 2.5vw, 1.75rem);\n\n    \u002F* Body text *\u002F\n    --body-size: clamp(0.75rem, 1.5vw, 1.125rem);\n    --small-size: clamp(0.65rem, 1vw, 0.875rem);\n\n    \u002F* Spacing scales with viewport *\u002F\n    --slide-padding: clamp(1rem, 4vw, 4rem);\n    --content-gap: clamp(0.5rem, 2vw, 2rem);\n    --element-gap: clamp(0.25rem, 1vw, 1rem);\n}\n\n\u002F* 5. Cards\u002Fcontainers use viewport-relative max sizes *\u002F\n.card, .container, .content-box {\n    max-width: min(90vw, 1000px);\n    max-height: min(80vh, 700px);\n}\n\n\u002F* 6. Lists auto-scale with viewport *\u002F\n.feature-list, .bullet-list {\n    gap: clamp(0.4rem, 1vh, 1rem);\n}\n\n.feature-list li, .bullet-list li {\n    font-size: var(--body-size);\n    line-height: 1.4;\n}\n\n\u002F* 7. Grids adapt to available space *\u002F\n.grid {\n    display: grid;\n    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));\n    gap: clamp(0.5rem, 1.5vw, 1rem);\n}\n\n\u002F* 8. Images constrained to viewport *\u002F\nimg, .image-container {\n    max-width: 100%;\n    max-height: min(50vh, 400px);\n    object-fit: contain;\n}\n\n\u002F* ===========================================\n   RESPONSIVE BREAKPOINTS\n   Aggressive scaling for smaller viewports\n   =========================================== *\u002F\n\n\u002F* Short viewports (\u003C 700px height) *\u002F\n@media (max-height: 700px) {\n    :root {\n        --slide-padding: clamp(0.75rem, 3vw, 2rem);\n        --content-gap: clamp(0.4rem, 1.5vw, 1rem);\n        --title-size: clamp(1.25rem, 4.5vw, 2.5rem);\n        --h2-size: clamp(1rem, 3vw, 1.75rem);\n    }\n}\n\n\u002F* Very short viewports (\u003C 600px height) *\u002F\n@media (max-height: 600px) {\n    :root {\n        --slide-padding: clamp(0.5rem, 2.5vw, 1.5rem);\n        --content-gap: clamp(0.3rem, 1vw, 0.75rem);\n        --title-size: clamp(1.1rem, 4vw, 2rem);\n        --body-size: clamp(0.7rem, 1.2vw, 0.95rem);\n    }\n\n    \u002F* Hide non-essential elements *\u002F\n    .nav-dots, .keyboard-hint, .decorative {\n        display: none;\n    }\n}\n\n\u002F* Extremely short (landscape phones, \u003C 500px height) *\u002F\n@media (max-height: 500px) {\n    :root {\n        --slide-padding: clamp(0.4rem, 2vw, 1rem);\n        --title-size: clamp(1rem, 3.5vw, 1.5rem);\n        --h2-size: clamp(0.9rem, 2.5vw, 1.25rem);\n        --body-size: clamp(0.65rem, 1vw, 0.85rem);\n    }\n}\n\n\u002F* Narrow viewports (\u003C 600px width) *\u002F\n@media (max-width: 600px) {\n    :root {\n        --title-size: clamp(1.25rem, 7vw, 2.5rem);\n    }\n\n    \u002F* Stack grids vertically *\u002F\n    .grid {\n        grid-template-columns: 1fr;\n    }\n}\n\n\u002F* ===========================================\n   REDUCED MOTION\n   Respect user preferences\n   =========================================== *\u002F\n@media (prefers-reduced-motion: reduce) {\n    *, *::before, *::after {\n        animation-duration: 0.01ms !important;\n        transition-duration: 0.2s !important;\n    }\n\n    html {\n        scroll-behavior: auto;\n    }\n}\n```\n\n### Overflow Prevention Checklist\n\nBefore generating any presentation, mentally verify:\n\n1. ✅ Every `.slide` has `height: 100vh; height: 100dvh; overflow: hidden;`\n2. ✅ All font sizes use `clamp(min, preferred, max)`\n3. ✅ All spacing uses `clamp()` or viewport units\n4. ✅ Content containers have `max-height` constraints\n5. ✅ Images have `max-height: min(50vh, 400px)` or similar\n6. ✅ Grids use `auto-fit` with `minmax()` for responsive columns\n7. ✅ Breakpoints exist for heights: 700px, 600px, 500px\n8. ✅ No fixed pixel heights on content elements\n9. ✅ Content per slide respects density limits\n\n### When Content Doesn't Fit\n\nIf you find yourself with too much content:\n\n**DO:**\n- Split into multiple slides\n- Reduce bullet points (max 5-6 per slide)\n- Shorten text (aim for 1-2 lines per bullet)\n- Use smaller code snippets\n- Create a \"continued\" slide\n\n**DON'T:**\n- Reduce font size below readable limits\n- Remove padding\u002Fspacing entirely\n- Allow any scrolling\n- Cram content to fit\n\n### Testing Viewport Fit\n\nAfter generating, recommend the user test at these sizes:\n- Desktop: 1920×1080, 1440×900, 1280×720\n- Tablet: 1024×768, 768×1024 (portrait)\n- Mobile: 375×667, 414×896\n- Landscape phone: 667×375, 896×414\n\n---\n\n## Phase 0: Detect Mode\n\nFirst, determine what the user wants:\n\n**Mode A: New Presentation**\n- User wants to create slides from scratch\n- Proceed to Phase 1 (Content Discovery)\n\n**Mode B: PPT Conversion**\n- User has a PowerPoint file (.ppt, .pptx) to convert\n- Proceed to Phase 4 (PPT Extraction)\n\n**Mode C: Existing Presentation Enhancement**\n- User has an HTML presentation and wants to improve it\n- Read the existing file, understand the structure, then enhance\n\n---\n\n## Phase 1: Content Discovery (New Presentations)\n\nBefore designing, understand the content. Ask via AskUserQuestion:\n\n### Step 1.1: Presentation Context\n\n**Question 1: Purpose**\n- Header: \"Purpose\"\n- Question: \"What is this presentation for?\"\n- Options:\n  - \"Pitch deck\" — Selling an idea, product, or company to investors\u002Fclients\n  - \"Teaching\u002FTutorial\" — Explaining concepts, how-to guides, educational content\n  - \"Conference talk\" — Speaking at an event, tech talk, keynote\n  - \"Internal presentation\" — Team updates, strategy meetings, company updates\n\n**Question 2: Slide Count**\n- Header: \"Length\"\n- Question: \"Approximately how many slides?\"\n- Options:\n  - \"Short (5-10)\" — Quick pitch, lightning talk\n  - \"Medium (10-20)\" — Standard presentation\n  - \"Long (20+)\" — Deep dive, comprehensive talk\n\n**Question 3: Content**\n- Header: \"Content\"\n- Question: \"Do you have the content ready, or do you need help structuring it?\"\n- Options:\n  - \"I have all content ready\" — Just need to design the presentation\n  - \"I have rough notes\" — Need help organizing into slides\n  - \"I have a topic only\" — Need help creating the full outline\n\nIf user has content, ask them to share it (text, bullet points, images, etc.).\n\n---\n\n## Phase 2: Style Discovery (Visual Exploration)\n\n**CRITICAL: This is the \"show, don't tell\" phase.**\n\nMost people can't articulate design preferences in words. Instead of asking \"do you want minimalist or bold?\", we generate mini-previews and let them react.\n\n### How Users Choose Presets\n\nUsers can select a style in **two ways**:\n\n**Option A: Guided Discovery (Default)**\n- User answers mood questions\n- Skill generates 3 preview files based on their answers\n- User views previews in browser and picks their favorite\n- This is best for users who don't have a specific style in mind\n\n**Option B: Direct Selection**\n- If user already knows what they want, they can request a preset by name\n- Example: \"Use the Bold Signal style\" or \"I want something like Dark Botanical\"\n- Skip to Phase 3 immediately\n\n**Available Presets:**\n| Preset | Vibe | Best For |\n|--------|------|----------|\n| Bold Signal | Confident, high-impact | Pitch decks, keynotes |\n| Electric Studio | Clean, professional | Agency presentations |\n| Creative Voltage | Energetic, retro-modern | Creative pitches |\n| Dark Botanical | Elegant, sophisticated | Premium brands |\n| Notebook Tabs | Editorial, organized | Reports, reviews |\n| Pastel Geometry | Friendly, approachable | Product overviews |\n| Split Pastel | Playful, modern | Creative agencies |\n| Vintage Editorial | Witty, personality-driven | Personal brands |\n| Neon Cyber | Futuristic, techy | Tech startups |\n| Terminal Green | Developer-focused | Dev tools, APIs |\n| Swiss Modern | Minimal, precise | Corporate, data |\n| Paper & Ink | Literary, thoughtful | Storytelling |\n\n### Step 2.0: Style Path Selection\n\nFirst, ask how the user wants to choose their style:\n\n**Question: Style Selection Method**\n- Header: \"Style\"\n- Question: \"How would you like to choose your presentation style?\"\n- Options:\n  - \"Show me options\" — Generate 3 previews based on my needs (recommended for most users)\n  - \"I know what I want\" — Let me pick from the preset list directly\n  - \"Use client branding\" — Apply a client's brand colors, fonts, and aesthetic\n\n**If \"Show me options\"** → Continue to Step 2.1 (Mood Selection)\n\n**If \"I know what I want\"** → Show preset picker:\n\n**Question: Pick a Preset**\n- Header: \"Preset\"\n- Question: \"Which style would you like to use?\"\n- Options:\n  - \"Bold Signal\" — Vibrant card on dark, confident and high-impact\n  - \"Dark Botanical\" — Elegant dark with soft abstract shapes\n  - \"Notebook Tabs\" — Editorial paper look with colorful section tabs\n  - \"Pastel Geometry\" — Friendly pastels with decorative pills\n\n(If user picks one, skip to Phase 3. If they want to see more options, show additional presets or proceed to guided discovery.)\n\n**If \"Use client branding\"** → Load client visual identity:\n\n1. Ask which client this presentation is for (or infer from context)\n2. Check for `clients\u002F\u003Cclient-name>\u002Fbrand\u002Fvisual-identity.md`\n3. **If the file exists:** Read the \"Slide Preset\" section. Use its CSS `:root` custom properties as the presentation's theme variables, its typography as the font pairing, its font loading `\u003Clink>` tag, and its signature elements as design guidance for decorative CSS.\n4. **If the file does not exist:** Tell the user: \"No visual identity has been extracted yet for [client]. Would you like me to extract it now? Please provide the client's website URL.\" Then run the `visual-brand-extractor` skill to generate the file, and continue.\n5. Skip to Phase 3 with the client preset loaded.\n\n### Step 2.1: Mood Selection (Guided Discovery)\n\n**Question 1: Feeling**\n- Header: \"Vibe\"\n- Question: \"What feeling should the audience have when viewing your slides?\"\n- Options:\n  - \"Impressed\u002FConfident\" — Professional, trustworthy, this team knows what they're doing\n  - \"Excited\u002FEnergized\" — Innovative, bold, this is the future\n  - \"Calm\u002FFocused\" — Clear, thoughtful, easy to follow\n  - \"Inspired\u002FMoved\" — Emotional, storytelling, memorable\n- multiSelect: true (can choose up to 2)\n\n### Step 2.2: Generate Style Previews\n\nBased on their mood selection, generate **3 distinct style previews** as mini HTML files in a temporary directory. Each preview should be a single title slide showing:\n\n- Typography (font choices, heading\u002Fbody hierarchy)\n- Color palette (background, accent, text colors)\n- Animation style (how elements enter)\n- Overall aesthetic feel\n\n**Preview Styles to Consider (pick 3 based on mood):**\n\n| Mood | Style Options |\n|------|---------------|\n| Impressed\u002FConfident | \"Bold Signal\", \"Electric Studio\", \"Dark Botanical\" |\n| Excited\u002FEnergized | \"Creative Voltage\", \"Neon Cyber\", \"Split Pastel\" |\n| Calm\u002FFocused | \"Notebook Tabs\", \"Paper & Ink\", \"Swiss Modern\" |\n| Inspired\u002FMoved | \"Dark Botanical\", \"Vintage Editorial\", \"Pastel Geometry\" |\n\n**IMPORTANT: Never use these generic patterns:**\n- Purple gradients on white backgrounds\n- Inter, Roboto, or system fonts\n- Standard blue primary colors\n- Predictable hero layouts\n\n**Instead, use distinctive choices:**\n- Unique font pairings (Clash Display, Satoshi, Cormorant Garamond, DM Sans, etc.)\n- Cohesive color themes with personality\n- Atmospheric backgrounds (gradients, subtle patterns, depth)\n- Signature animation moments\n\n### Step 2.3: Present Previews\n\nCreate the previews in: `.claude-design\u002Fslide-previews\u002F`\n\n```\n.claude-design\u002Fslide-previews\u002F\n├── style-a.html   # First style option\n├── style-b.html   # Second style option\n├── style-c.html   # Third style option\n└── assets\u002F        # Any shared assets\n```\n\nEach preview file should be:\n- Self-contained (inline CSS\u002FJS)\n- A single \"title slide\" showing the aesthetic\n- Animated to demonstrate motion style\n- ~50-100 lines, not a full presentation\n\nPresent to user:\n```\nI've created 3 style previews for you to compare:\n\n**Style A: [Name]** — [1 sentence description]\n**Style B: [Name]** — [1 sentence description]\n**Style C: [Name]** — [1 sentence description]\n\nOpen each file to see them in action:\n- .claude-design\u002Fslide-previews\u002Fstyle-a.html\n- .claude-design\u002Fslide-previews\u002Fstyle-b.html\n- .claude-design\u002Fslide-previews\u002Fstyle-c.html\n\nTake a look and tell me:\n1. Which style resonates most?\n2. What do you like about it?\n3. Anything you'd change?\n```\n\nThen use AskUserQuestion:\n\n**Question: Pick Your Style**\n- Header: \"Style\"\n- Question: \"Which style preview do you prefer?\"\n- Options:\n  - \"Style A: [Name]\" — [Brief description]\n  - \"Style B: [Name]\" — [Brief description]\n  - \"Style C: [Name]\" — [Brief description]\n  - \"Mix elements\" — Combine aspects from different styles\n\nIf \"Mix elements\", ask for specifics.\n\n---\n\n## Phase 3: Generate Presentation\n\nNow generate the full presentation based on:\n- Content from Phase 1\n- Style from Phase 2\n\n### File Structure\n\nFor single presentations:\n```\npresentation.html    # Self-contained presentation\nassets\u002F              # Images, if any\n```\n\nFor projects with multiple presentations:\n```\n[presentation-name].html\n[presentation-name]-assets\u002F\n```\n\n### HTML Architecture\n\nFollow this structure for all presentations:\n\n```html\n\u003C!DOCTYPE html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n    \u003Cmeta charset=\"UTF-8\">\n    \u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    \u003Ctitle>Presentation Title\u003C\u002Ftitle>\n\n    \u003C!-- Fonts (use Fontshare or Google Fonts) -->\n    \u003Clink rel=\"stylesheet\" href=\"https:\u002F\u002Fapi.fontshare.com\u002Fv2\u002Fcss?f[]=...\">\n\n    \u003Cstyle>\n        \u002F* ===========================================\n           CSS CUSTOM PROPERTIES (THEME)\n           Easy to modify: change these to change the whole look\n           =========================================== *\u002F\n        :root {\n            \u002F* Colors *\u002F\n            --bg-primary: #0a0f1c;\n            --bg-secondary: #111827;\n            --text-primary: #ffffff;\n            --text-secondary: #9ca3af;\n            --accent: #00ffcc;\n            --accent-glow: rgba(0, 255, 204, 0.3);\n\n            \u002F* Typography - MUST use clamp() for responsive scaling *\u002F\n            --font-display: 'Clash Display', sans-serif;\n            --font-body: 'Satoshi', sans-serif;\n            --title-size: clamp(2rem, 6vw, 5rem);\n            --subtitle-size: clamp(0.875rem, 2vw, 1.25rem);\n            --body-size: clamp(0.75rem, 1.2vw, 1rem);\n\n            \u002F* Spacing - MUST use clamp() for responsive scaling *\u002F\n            --slide-padding: clamp(1.5rem, 4vw, 4rem);\n            --content-gap: clamp(1rem, 2vw, 2rem);\n\n            \u002F* Animation *\u002F\n            --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);\n            --duration-normal: 0.6s;\n        }\n\n        \u002F* ===========================================\n           BASE STYLES\n           =========================================== *\u002F\n        * {\n            margin: 0;\n            padding: 0;\n            box-sizing: border-box;\n        }\n\n        html {\n            scroll-behavior: smooth;\n            scroll-snap-type: y mandatory;\n            height: 100%;\n        }\n\n        body {\n            font-family: var(--font-body);\n            background: var(--bg-primary);\n            color: var(--text-primary);\n            overflow-x: hidden;\n            height: 100%;\n        }\n\n        \u002F* ===========================================\n           SLIDE CONTAINER\n           CRITICAL: Each slide MUST fit exactly in viewport\n           - Use height: 100vh (NOT min-height)\n           - Use overflow: hidden to prevent scroll\n           - Content must scale with clamp() values\n           =========================================== *\u002F\n        .slide {\n            width: 100vw;\n            height: 100vh; \u002F* EXACT viewport height - no scrolling *\u002F\n            height: 100dvh; \u002F* Dynamic viewport height for mobile *\u002F\n            padding: var(--slide-padding);\n            scroll-snap-align: start;\n            display: flex;\n            flex-direction: column;\n            justify-content: center;\n            position: relative;\n            overflow: hidden; \u002F* Prevent any content overflow *\u002F\n        }\n\n        \u002F* Content wrapper that prevents overflow *\u002F\n        .slide-content {\n            flex: 1;\n            display: flex;\n            flex-direction: column;\n            justify-content: center;\n            max-height: 100%;\n            overflow: hidden;\n        }\n\n        \u002F* ===========================================\n           RESPONSIVE BREAKPOINTS\n           Adjust content for different screen sizes\n           =========================================== *\u002F\n        @media (max-height: 600px) {\n            :root {\n                --slide-padding: clamp(1rem, 3vw, 2rem);\n                --content-gap: clamp(0.5rem, 1.5vw, 1rem);\n            }\n        }\n\n        @media (max-width: 768px) {\n            :root {\n                --title-size: clamp(1.5rem, 8vw, 3rem);\n            }\n        }\n\n        @media (max-height: 500px) and (orientation: landscape) {\n            \u002F* Extra compact for landscape phones *\u002F\n            :root {\n                --title-size: clamp(1.25rem, 5vw, 2rem);\n                --slide-padding: clamp(0.75rem, 2vw, 1.5rem);\n            }\n        }\n\n        \u002F* ===========================================\n           ANIMATIONS\n           Trigger via .visible class (added by JS on scroll)\n           =========================================== *\u002F\n        .reveal {\n            opacity: 0;\n            transform: translateY(30px);\n            transition: opacity var(--duration-normal) var(--ease-out-expo),\n                        transform var(--duration-normal) var(--ease-out-expo);\n        }\n\n        .slide.visible .reveal {\n            opacity: 1;\n            transform: translateY(0);\n        }\n\n        \u002F* Stagger children *\u002F\n        .reveal:nth-child(1) { transition-delay: 0.1s; }\n        .reveal:nth-child(2) { transition-delay: 0.2s; }\n        .reveal:nth-child(3) { transition-delay: 0.3s; }\n        .reveal:nth-child(4) { transition-delay: 0.4s; }\n\n        \u002F* ... more styles ... *\u002F\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003C!-- Progress bar (optional) -->\n    \u003Cdiv class=\"progress-bar\">\u003C\u002Fdiv>\n\n    \u003C!-- Navigation dots (optional) -->\n    \u003Cnav class=\"nav-dots\">\n        \u003C!-- Generated by JS -->\n    \u003C\u002Fnav>\n\n    \u003C!-- Slides -->\n    \u003Csection class=\"slide title-slide\">\n        \u003Ch1 class=\"reveal\">Presentation Title\u003C\u002Fh1>\n        \u003Cp class=\"reveal\">Subtitle or author\u003C\u002Fp>\n    \u003C\u002Fsection>\n\n    \u003Csection class=\"slide\">\n        \u003Ch2 class=\"reveal\">Slide Title\u003C\u002Fh2>\n        \u003Cp class=\"reveal\">Content...\u003C\u002Fp>\n    \u003C\u002Fsection>\n\n    \u003C!-- More slides... -->\n\n    \u003Cscript>\n        \u002F* ===========================================\n           SLIDE PRESENTATION CONTROLLER\n           Handles navigation, animations, and interactions\n           =========================================== *\u002F\n\n        class SlidePresentation {\n            constructor() {\n                \u002F\u002F ... initialization\n            }\n\n            \u002F\u002F ... methods\n        }\n\n        \u002F\u002F Initialize\n        new SlidePresentation();\n    \u003C\u002Fscript>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n```\n\n### Required JavaScript Features\n\nEvery presentation should include:\n\n1. **SlidePresentation Class** — Main controller\n   - Keyboard navigation (arrows, space)\n   - Touch\u002Fswipe support\n   - Mouse wheel navigation\n   - Progress bar updates\n   - Navigation dots\n\n2. **Intersection Observer** — For scroll-triggered animations\n   - Add `.visible` class when slides enter viewport\n   - Trigger CSS animations efficiently\n\n3. **Optional Enhancements** (based on style):\n   - Custom cursor with trail\n   - Particle system background (canvas)\n   - Parallax effects\n   - 3D tilt on hover\n   - Magnetic buttons\n   - Counter animations\n\n### Code Quality Requirements\n\n**Comments:**\nEvery section should have clear comments explaining:\n- What it does\n- Why it exists\n- How to modify it\n\n```javascript\n\u002F* ===========================================\n   CUSTOM CURSOR\n   Creates a stylized cursor that follows mouse with a trail effect.\n   - Uses lerp (linear interpolation) for smooth movement\n   - Grows larger when hovering over interactive elements\n   =========================================== *\u002F\nclass CustomCursor {\n    constructor() {\n        \u002F\u002F ...\n    }\n}\n```\n\n**Accessibility:**\n- Semantic HTML (`\u003Csection>`, `\u003Cnav>`, `\u003Cmain>`)\n- Keyboard navigation works\n- ARIA labels where needed\n- Reduced motion support\n\n```css\n@media (prefers-reduced-motion: reduce) {\n    .reveal {\n        transition: opacity 0.3s ease;\n        transform: none;\n    }\n}\n```\n\n**Responsive & Viewport Fitting (CRITICAL):**\n\n**See the \"CRITICAL: Viewport Fitting Requirements\" section above for complete CSS and guidelines.**\n\nQuick reference:\n- Every `.slide` must have `height: 100vh; height: 100dvh; overflow: hidden;`\n- All typography and spacing must use `clamp()`\n- Respect content density limits (max 4-6 bullets, max 6 cards, etc.)\n- Include breakpoints for heights: 700px, 600px, 500px\n- When content doesn't fit → split into multiple slides, never scroll\n\n---\n\n## Phase 4: PPT Conversion\n\nWhen converting PowerPoint files:\n\n### Step 4.1: Extract Content\n\nUse Python with `python-pptx` to extract:\n\n```python\nfrom pptx import Presentation\nfrom pptx.util import Inches, Pt\nimport json\nimport os\nimport base64\n\ndef extract_pptx(file_path, output_dir):\n    \"\"\"\n    Extract all content from a PowerPoint file.\n    Returns a JSON structure with slides, text, and images.\n    \"\"\"\n    prs = Presentation(file_path)\n    slides_data = []\n\n    # Create assets directory\n    assets_dir = os.path.join(output_dir, 'assets')\n    os.makedirs(assets_dir, exist_ok=True)\n\n    for slide_num, slide in enumerate(prs.slides):\n        slide_data = {\n            'number': slide_num + 1,\n            'title': '',\n            'content': [],\n            'images': [],\n            'notes': ''\n        }\n\n        for shape in slide.shapes:\n            # Extract title\n            if shape.has_text_frame:\n                if shape == slide.shapes.title:\n                    slide_data['title'] = shape.text\n                else:\n                    slide_data['content'].append({\n                        'type': 'text',\n                        'content': shape.text\n                    })\n\n            # Extract images\n            if shape.shape_type == 13:  # Picture\n                image = shape.image\n                image_bytes = image.blob\n                image_ext = image.ext\n                image_name = f\"slide{slide_num + 1}_img{len(slide_data['images']) + 1}.{image_ext}\"\n                image_path = os.path.join(assets_dir, image_name)\n\n                with open(image_path, 'wb') as f:\n                    f.write(image_bytes)\n\n                slide_data['images'].append({\n                    'path': f\"assets\u002F{image_name}\",\n                    'width': shape.width,\n                    'height': shape.height\n                })\n\n        # Extract notes\n        if slide.has_notes_slide:\n            notes_frame = slide.notes_slide.notes_text_frame\n            slide_data['notes'] = notes_frame.text\n\n        slides_data.append(slide_data)\n\n    return slides_data\n```\n\n### Step 4.2: Confirm Content Structure\n\nPresent the extracted content to the user:\n\n```\nI've extracted the following from your PowerPoint:\n\n**Slide 1: [Title]**\n- [Content summary]\n- Images: [count]\n\n**Slide 2: [Title]**\n- [Content summary]\n- Images: [count]\n\n...\n\nAll images have been saved to the assets folder.\n\nDoes this look correct? Should I proceed with style selection?\n```\n\n### Step 4.3: Style Selection\n\nProceed to Phase 2 (Style Discovery) with the extracted content in mind.\n\n### Step 4.4: Generate HTML\n\nConvert the extracted content into the chosen style, preserving:\n- All text content\n- All images (referenced from assets folder)\n- Slide order\n- Any speaker notes (as HTML comments or separate file)\n\n---\n\n## Phase 5: Delivery\n\n### Final Output\n\nWhen the presentation is complete:\n\n1. **Clean up temporary files**\n   - Delete `.claude-design\u002Fslide-previews\u002F` if it exists\n\n2. **Open the presentation**\n   - Use `open [filename].html` to launch in browser\n\n3. **Provide summary**\n```\nYour presentation is ready!\n\n? File: [filename].html\n? Style: [Style Name]\n? Slides: [count]\n\n**Navigation:**\n- Arrow keys (← →) or Space to navigate\n- Scroll\u002Fswipe also works\n- Click the dots on the right to jump to a slide\n\n**To customize:**\n- Colors: Look for `:root` CSS variables at the top\n- Fonts: Change the Fontshare\u002FGoogle Fonts link\n- Animations: Modify `.reveal` class timings\n\nWould you like me to make any adjustments?\n```\n\n---\n\n## Style Reference: Effect → Feeling Mapping\n\nUse this guide to match animations to intended feelings:\n\n### Dramatic \u002F Cinematic\n- Slow fade-ins (1-1.5s)\n- Large scale transitions (0.9 → 1)\n- Dark backgrounds with spotlight effects\n- Parallax scrolling\n- Full-bleed images\n\n### Techy \u002F Futuristic\n- Neon glow effects (box-shadow with accent color)\n- Particle systems (canvas background)\n- Grid patterns\n- Monospace fonts for accents\n- Glitch or scramble text effects\n- Cyan, magenta, electric blue palette\n\n### Playful \u002F Friendly\n- Bouncy easing (spring physics)\n- Rounded corners (large radius)\n- Pastel or bright colors\n- Floating\u002Fbobbing animations\n- Hand-drawn or illustrated elements\n\n### Professional \u002F Corporate\n- Subtle, fast animations (200-300ms)\n- Clean sans-serif fonts\n- Navy, slate, or charcoal backgrounds\n- Precise spacing and alignment\n- Minimal decorative elements\n- Data visualization focus\n\n### Calm \u002F Minimal\n- Very slow, subtle motion\n- High whitespace\n- Muted color palette\n- Serif typography\n- Generous padding\n- Content-focused, no distractions\n\n### Editorial \u002F Magazine\n- Strong typography hierarchy\n- Pull quotes and callouts\n- Image-text interplay\n- Grid-breaking layouts\n- Serif headlines, sans-serif body\n- Black and white with one accent\n\n---\n\n## Animation Patterns Reference\n\n### Entrance Animations\n\n```css\n\u002F* Fade + Slide Up (most common) *\u002F\n.reveal {\n    opacity: 0;\n    transform: translateY(30px);\n    transition: opacity 0.6s var(--ease-out-expo),\n                transform 0.6s var(--ease-out-expo);\n}\n\n.visible .reveal {\n    opacity: 1;\n    transform: translateY(0);\n}\n\n\u002F* Scale In *\u002F\n.reveal-scale {\n    opacity: 0;\n    transform: scale(0.9);\n    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);\n}\n\n\u002F* Slide from Left *\u002F\n.reveal-left {\n    opacity: 0;\n    transform: translateX(-50px);\n    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);\n}\n\n\u002F* Blur In *\u002F\n.reveal-blur {\n    opacity: 0;\n    filter: blur(10px);\n    transition: opacity 0.8s, filter 0.8s var(--ease-out-expo);\n}\n```\n\n### Background Effects\n\n```css\n\u002F* Gradient Mesh *\u002F\n.gradient-bg {\n    background:\n        radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),\n        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 200, 0.2) 0%, transparent 50%),\n        var(--bg-primary);\n}\n\n\u002F* Noise Texture *\u002F\n.noise-bg {\n    background-image: url(\"data:image\u002Fsvg+xml,...\"); \u002F* Inline SVG noise *\u002F\n}\n\n\u002F* Grid Pattern *\u002F\n.grid-bg {\n    background-image:\n        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);\n    background-size: 50px 50px;\n}\n```\n\n### Interactive Effects\n\n```javascript\n\u002F* 3D Tilt on Hover *\u002F\nclass TiltEffect {\n    constructor(element) {\n        this.element = element;\n        this.element.style.transformStyle = 'preserve-3d';\n        this.element.style.perspective = '1000px';\n        this.bindEvents();\n    }\n\n    bindEvents() {\n        this.element.addEventListener('mousemove', (e) => {\n            const rect = this.element.getBoundingClientRect();\n            const x = (e.clientX - rect.left) \u002F rect.width - 0.5;\n            const y = (e.clientY - rect.top) \u002F rect.height - 0.5;\n\n            this.element.style.transform = `\n                rotateY(${x * 10}deg)\n                rotateX(${-y * 10}deg)\n            `;\n        });\n\n        this.element.addEventListener('mouseleave', () => {\n            this.element.style.transform = 'rotateY(0) rotateX(0)';\n        });\n    }\n}\n```\n\n---\n\n## Troubleshooting\n\n### Common Issues\n\n**Fonts not loading:**\n- Check Fontshare\u002FGoogle Fonts URL\n- Ensure font names match in CSS\n\n**Animations not triggering:**\n- Verify Intersection Observer is running\n- Check that `.visible` class is being added\n\n**Scroll snap not working:**\n- Ensure `scroll-snap-type` on html\u002Fbody\n- Each slide needs `scroll-snap-align: start`\n\n**Mobile issues:**\n- Disable heavy effects at 768px breakpoint\n- Test touch events\n- Reduce particle count or disable canvas\n\n**Performance issues:**\n- Use `will-change` sparingly\n- Prefer `transform` and `opacity` animations\n- Throttle scroll\u002Fmousemove handlers\n\n---\n\n## Related Skills\n\n- **learn** — Generate FORZARA.md documentation for the presentation\n- **frontend-design** — For more complex interactive pages beyond slides\n- **design-and-refine:design-lab** — For iterating on component designs\n\n---\n\n## Example Session Flow\n\n1. User: \"I want to create a pitch deck for my AI startup\"\n2. Skill asks about purpose, length, content\n3. User shares their bullet points and key messages\n4. Skill asks about desired feeling (Impressed + Excited)\n5. Skill generates 3 style previews\n6. User picks Style B (Neon Cyber), asks for darker background\n7. Skill generates full presentation with all slides\n8. Skill opens the presentation in browser\n9. User requests tweaks to specific slides\n10. Final presentation delivered\n\n---\n\n## Conversion Session Flow\n\n1. User: \"Convert my slides.pptx to a web presentation\"\n2. Skill extracts content and images from PPT\n3. Skill confirms extracted content with user\n4. Skill asks about desired feeling\u002Fstyle\n5. Skill generates style previews\n6. User picks a style\n7. Skill generates HTML presentation with preserved assets\n8. Final presentation delivered\n",{"name":5,"description":7},"master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill gtm-create-html-slides",{"tool":55,"command":56},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill gtm-create-html-slides",{"tool":58,"command":59},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill gtm-create-html-slides","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides\u002FSKILL.md",true,[63,69,73,77],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"index.json","REFERENCE","参考文档",644,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Flinux-hw-firmware-binwalk-detect\u002Findex.json",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"README.md",4689,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides\u002FREADME.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"skill.meta.json",261,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides\u002Fskill.meta.json",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"STYLE_PRESETS.md",12934,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fgtm\u002Fgtm-create-html-slides\u002FSTYLE_PRESETS.md",[82,94,107,120,133,146],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":37},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[89,90,23,91,92,93],"writing skills","writing","editing","work","deployment",{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":37},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[101,102,90,103,104,23,105,106],"plans","writing plans","requirements","task","code","spec",{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":37},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[114,115,116,117,118,119,90],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":37},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[122,127,128,129,130,131,132],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"publishedAt":37},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[140,141,142,143,105,144,145],"verification loop","verification","loop","sessions","claude code sessions","system",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":37},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[153,141,154,92,23,155,156,157],"verification before completion","commands","evidence","claim","complete"]