[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CK2CX33RQBN474F10AA34K":3,"skill-same:01M7CK2CX33RQBN474F10AA34K":76},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CK2CX33RQBN474F10AA34K","frontend-slides",null,"Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files.","YYC-Cube\u002FYYC3-Knowledge-Base","YYC-Cube","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F235006543?v=4","01M79J2PH4SWD2X0825X6PN748","yyc3","01M79J2PHVK3F6ZBYT8K2SCZCW",1,"MIT","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: frontend-slides\ndescription: Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files.\nrisk: safe\nsource: https:\u002F\u002Fgithub.com\u002Fzarazhangrui\u002Ffrontend-slides\ndate_added: \"2026-03-07\"\n---\n\n# Frontend Slides\n\nCreate zero-dependency, animation-rich HTML presentations that run entirely in the browser.\n\n## When to Use This Skill\n\n- Use when the user asks to create a presentation, slide deck, or pitch from scratch.\n- Use when the user wants to convert an existing PPT or PPTX file into a web-based presentation.\n- Use when designing visually rich, animated HTML content that needs to fit exactly within the viewport.\n\n## Core Principles\n\n1. **Zero Dependencies** — Single HTML files with inline CSS\u002FJS. No npm, no build tools.\n2. **Show, Don't Tell** — Generate visual previews, not abstract choices. People discover what they want by seeing it.\n3. **Distinctive Design** — No generic \"AI slop.\" Every presentation must feel custom-crafted.\n4. **Viewport Fitting (NON-NEGOTIABLE)** — Every slide MUST fit exactly within 100vh. No scrolling within slides, ever. Content overflows? Split into multiple slides.\n\n## Design Aesthetics\n\nYou tend to converge toward generic, \"on distribution\" outputs. In frontend design, this creates what users call the \"AI slop\" aesthetic. Avoid this: make creative, distinctive frontends that surprise and delight.\n\nFocus on:\n\n- Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics.\n- Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Draw from IDE themes and cultural aesthetics for inspiration.\n- Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions.\n- Backgrounds: Create atmosphere and depth rather than defaulting to solid colors. Layer CSS gradients, use geometric patterns, or add contextual effects that match the overall aesthetic.\n\nAvoid generic AI-generated aesthetics:\n\n- Overused font families (Inter, Roboto, Arial, system fonts)\n- Cliched color schemes (particularly purple gradients on white backgrounds)\n- Predictable layouts and component patterns\n- Cookie-cutter design that lacks context-specific character\n\nInterpret creatively and make unexpected choices that feel genuinely designed for the context. Vary between light and dark themes, different fonts, different aesthetics. You still tend to converge on common choices (Space Grotesk, for example) across generations. Avoid this: it is critical that you think outside the box!\n\n## Viewport Fitting Rules\n\nThese invariants apply to EVERY slide in EVERY presentation:\n\n- Every `.slide` must have `height: 100vh; height: 100dvh; overflow: hidden;`\n- ALL font sizes and spacing must use `clamp(min, preferred, max)` — never fixed px\u002Frem\n- Content containers need `max-height` constraints\n- Images: `max-height: min(50vh, 400px)`\n- Breakpoints required for heights: 700px, 600px, 500px\n- Include `prefers-reduced-motion` support\n- Never negate CSS functions directly (`-clamp()`, `-min()`, `-max()` are silently ignored) — use `calc(-1 * clamp(...))` instead\n\n**When generating, read `viewport-base.css` and include its full contents in every presentation.**\n\n### Content Density 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)                  |\n| Code slide    | 1 heading + 8-10 lines of code                            |\n| Quote slide   | 1 quote (max 3 lines) + attribution                       |\n| Image slide   | 1 heading + 1 image (max 60vh height)                     |\n\n**Content exceeds limits? Split into multiple slides. Never cram, never scroll.**\n\n---\n\n## Phase 0: Detect Mode\n\nDetermine what the user wants:\n\n- **Mode A: New Presentation** — Create from scratch. Go to Phase 1.\n- **Mode B: PPT Conversion** — Convert a .pptx file. Go to Phase 4.\n- **Mode C: Enhancement** — Improve an existing HTML presentation. Read it, understand it, enhance. **Follow Mode C modification rules below.**\n\n### Mode C: Modification Rules\n\nWhen enhancing existing presentations, viewport fitting is the biggest risk:\n\n1. **Before adding content:** Count existing elements, check against density limits\n2. **Adding images:** Must have `max-height: min(50vh, 400px)`. If slide already has max content, split into two slides\n3. **Adding text:** Max 4-6 bullets per slide. Exceeds limits? Split into continuation slides\n4. **After ANY modification, verify:** `.slide` has `overflow: hidden`, new elements use `clamp()`, images have viewport-relative max-height, content fits at 1280x720\n5. **Proactively reorganize:** If modifications will cause overflow, automatically split content and inform the user. Don't wait to be asked\n\n**When adding images to existing slides:** Move image to new slide or reduce other content first. Never add images without checking if existing content already fills the viewport.\n\n---\n\n## Phase 1: Content Discovery (New Presentations)\n\n**Ask ALL questions in a single AskUserQuestion call** so the user fills everything out at once:\n\n**Question 1 — Purpose** (header: \"Purpose\"):\nWhat is this presentation for? Options: Pitch deck \u002F Teaching-Tutorial \u002F Conference talk \u002F Internal presentation\n\n**Question 2 — Length** (header: \"Length\"):\nApproximately how many slides? Options: Short 5-10 \u002F Medium 10-20 \u002F Long 20+\n\n**Question 3 — Content** (header: \"Content\"):\nDo you have content ready? Options: All content ready \u002F Rough notes \u002F Topic only\n\n**Question 4 — Inline Editing** (header: \"Editing\"):\nDo you need to edit text directly in the browser after generation? Options:\n\n- \"Yes (Recommended)\" — Can edit text in-browser, auto-save to localStorage, export file\n- \"No\" — Presentation only, keeps file smaller\n\n**Remember the user's editing choice — it determines whether edit-related code is included in Phase 3.**\n\nIf user has content, ask them to share it.\n\n### Step 1.2: Image Evaluation (if images provided)\n\nIf user selected \"No images\" → skip to Phase 2.\n\nIf user provides an image folder:\n\n1. **Scan** — List all image files (.png, .jpg, .svg, .webp, etc.)\n2. **View each image** — Use the Read tool (Claude is multimodal)\n3. **Evaluate** — For each: what it shows, USABLE or NOT USABLE (with reason), what concept it represents, dominant colors\n4. **Co-design the outline** — Curated images inform slide structure alongside text. This is NOT \"plan slides then add images\" — design around both from the start (e.g., 3 screenshots → 3 feature slides, 1 logo → title\u002Fclosing slide)\n5. **Confirm via AskUserQuestion** (header: \"Outline\"): \"Does this slide outline and image selection look right?\" Options: Looks good \u002F Adjust images \u002F Adjust outline\n\n**Logo in previews:** If a usable logo was identified, embed it (base64) into each style preview in Phase 2 — the user sees their brand styled three different ways.\n\n---\n\n## Phase 2: Style Discovery\n\n**This is the \"show, don't tell\" phase.** Most people can't articulate design preferences in words.\n\n### Step 2.0: Style Path\n\nAsk how they want to choose (header: \"Style\"):\n\n- \"Show me options\" (recommended) — Generate 3 previews based on mood\n- \"I know what I want\" — Pick from preset list directly\n\n**If direct selection:** Show preset picker and skip to Phase 3. Available presets are defined in [STYLE_PRESETS.md](STYLE_PRESETS.md).\n\n### Step 2.1: Mood Selection (Guided Discovery)\n\nAsk (header: \"Vibe\", multiSelect: true, max 2):\nWhat feeling should the audience have? Options:\n\n- Impressed\u002FConfident — Professional, trustworthy\n- Excited\u002FEnergized — Innovative, bold\n- Calm\u002FFocused — Clear, thoughtful\n- Inspired\u002FMoved — Emotional, memorable\n\n### Step 2.2: Generate 3 Style Previews\n\nBased on mood, generate 3 distinct single-slide HTML previews showing typography, colors, animation, and overall aesthetic. Read [STYLE_PRESETS.md](STYLE_PRESETS.md) for available presets and their specifications.\n\n| Mood                | Suggested Presets                                  |\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\nSave previews to `.claude-design\u002Fslide-previews\u002F` (style-a.html, style-b.html, style-c.html). Each should be self-contained, ~50-100 lines, showing one animated title slide.\n\nOpen each preview automatically for the user.\n\n### Step 2.3: User Picks\n\nAsk (header: \"Style\"):\nWhich style preview do you prefer? Options: Style A: [Name] \u002F Style B: [Name] \u002F Style C: [Name] \u002F Mix elements\n\nIf \"Mix elements\", ask for specifics.\n\n---\n\n## Phase 3: Generate Presentation\n\nGenerate the full presentation using content from Phase 1 (text, or text + curated images) and style from Phase 2.\n\nIf images were provided, the slide outline already incorporates them from Step 1.2. If not, CSS-generated visuals (gradients, shapes, patterns) provide visual interest — this is a fully supported first-class path.\n\n**Before generating, read these supporting files:**\n\n- [html-template.md](html-template.md) — HTML architecture and JS features\n- [viewport-base.css](viewport-base.css) — Mandatory CSS (include in full)\n- [animation-patterns.md](animation-patterns.md) — Animation reference for the chosen feeling\n\n**Key requirements:**\n\n- Single self-contained HTML file, all CSS\u002FJS inline\n- Include the FULL contents of viewport-base.css in the `\u003Cstyle>` block\n- Use fonts from Fontshare or Google Fonts — never system fonts\n- Add detailed comments explaining each section\n- Every section needs a clear `\u002F* === SECTION NAME === *\u002F` comment block\n\n---\n\n## Phase 4: PPT Conversion\n\nWhen converting PowerPoint files:\n\n1. **Extract content** — Run `python scripts\u002Fextract-pptx.py \u003Cinput.pptx> \u003Coutput_dir>` (install python-pptx if needed: `pip install python-pptx`)\n2. **Confirm with user** — Present extracted slide titles, content summaries, and image counts\n3. **Style selection** — Proceed to Phase 2 for style discovery\n4. **Generate HTML** — Convert to chosen style, preserving all text, images (from assets\u002F), slide order, and speaker notes (as HTML comments)\n\n---\n\n## Phase 5: Delivery\n\n1. **Clean up** — Delete `.claude-design\u002Fslide-previews\u002F` if it exists\n2. **Open** — Use `open [filename].html` to launch in browser\n3. **Summarize** — Tell the user:\n   - File location, style name, slide count\n   - Navigation: Arrow keys, Space, scroll\u002Fswipe, click nav dots\n   - How to customize: `:root` CSS variables for colors, font link for typography, `.reveal` class for animations\n   - If inline editing was enabled: Hover top-left corner or press E to enter edit mode, click any text to edit, Ctrl+S to save\n\n---\n\n## Supporting Files\n\n| File                                               | Purpose                                                              | When to Read              |\n| -------------------------------------------------- | -------------------------------------------------------------------- | ------------------------- |\n| [STYLE_PRESETS.md](STYLE_PRESETS.md)               | 12 curated visual presets with colors, fonts, and signature elements | Phase 2 (style selection) |\n| [viewport-base.css](viewport-base.css)             | Mandatory responsive CSS — copy into every presentation              | Phase 3 (generation)      |\n| [html-template.md](html-template.md)               | HTML structure, JS features, code quality standards                  | Phase 3 (generation)      |\n| [animation-patterns.md](animation-patterns.md)     | CSS\u002FJS animation snippets and effect-to-feeling guide                | Phase 3 (generation)      |\n| [scripts\u002Fextract-pptx.py](scripts\u002Fextract-pptx.py) | Python script for PPT content extraction                             | Phase 4 (conversion)      |\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","# Frontend Slides\n\nCreate zero-dependency, animation-rich HTML presentations that run entirely in the browser.\n\n## When to Use This Skill\n\n- Use when the user asks to create a presentation, slide deck, or pitch from scratch.\n- Use when the user wants to convert an existing PPT or PPTX file into a web-based presentation.\n- Use when designing visually rich, animated HTML content that needs to fit exactly within the viewport.\n\n## Core Principles\n\n1. **Zero Dependencies** — Single HTML files with inline CSS\u002FJS. No npm, no build tools.\n2. **Show, Don't Tell** — Generate visual previews, not abstract choices. People discover what they want by seeing it.\n3. **Distinctive Design** — No generic \"AI slop.\" Every presentation must feel custom-crafted.\n4. **Viewport Fitting (NON-NEGOTIABLE)** — Every slide MUST fit exactly within 100vh. No scrolling within slides, ever. Content overflows? Split into multiple slides.\n\n## Design Aesthetics\n\nYou tend to converge toward generic, \"on distribution\" outputs. In frontend design, this creates what users call the \"AI slop\" aesthetic. Avoid this: make creative, distinctive frontends that surprise and delight.\n\nFocus on:\n\n- Typography: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics.\n- Color & Theme: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes. Draw from IDE themes and cultural aesthetics for inspiration.\n- Motion: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions.\n- Backgrounds: Create atmosphere and depth rather than defaulting to solid colors. Layer CSS gradients, use geometric patterns, or add contextual effects that match the overall aesthetic.\n\nAvoid generic AI-generated aesthetics:\n\n- Overused font families (Inter, Roboto, Arial, system fonts)\n- Cliched color schemes (particularly purple gradients on white backgrounds)\n- Predictable layouts and component patterns\n- Cookie-cutter design that lacks context-specific character\n\nInterpret creatively and make unexpected choices that feel genuinely designed for the context. Vary between light and dark themes, different fonts, different aesthetics. You still tend to converge on common choices (Space Grotesk, for example) across generations. Avoid this: it is critical that you think outside the box!\n\n## Viewport Fitting Rules\n\nThese invariants apply to EVERY slide in EVERY presentation:\n\n- Every `.slide` must have `height: 100vh; height: 100dvh; overflow: hidden;`\n- ALL font sizes and spacing must use `clamp(min, preferred, max)` — never fixed px\u002Frem\n- Content containers need `max-height` constraints\n- Images: `max-height: min(50vh, 400px)`\n- Breakpoints required for heights: 700px, 600px, 500px\n- Include `prefers-reduced-motion` support\n- Never negate CSS functions directly (`-clamp()`, `-min()`, `-max()` are silently ignored) — use `calc(-1 * clamp(...))` instead\n\n**When generating, read `viewport-base.css` and include its full contents in every presentation.**\n\n### Content Density 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)                  |\n| Code slide    | 1 heading + 8-10 lines of code                            |\n| Quote slide   | 1 quote (max 3 lines) + attribution                       |\n| Image slide   | 1 heading + 1 image (max 60vh height)                     |\n\n**Content exceeds limits? Split into multiple slides. Never cram, never scroll.**\n\n---\n\n## Phase 0: Detect Mode\n\nDetermine what the user wants:\n\n- **Mode A: New Presentation** — Create from scratch. Go to Phase 1.\n- **Mode B: PPT Conversion** — Convert a .pptx file. Go to Phase 4.\n- **Mode C: Enhancement** — Improve an existing HTML presentation. Read it, understand it, enhance. **Follow Mode C modification rules below.**\n\n### Mode C: Modification Rules\n\nWhen enhancing existing presentations, viewport fitting is the biggest risk:\n\n1. **Before adding content:** Count existing elements, check against density limits\n2. **Adding images:** Must have `max-height: min(50vh, 400px)`. If slide already has max content, split into two slides\n3. **Adding text:** Max 4-6 bullets per slide. Exceeds limits? Split into continuation slides\n4. **After ANY modification, verify:** `.slide` has `overflow: hidden`, new elements use `clamp()`, images have viewport-relative max-height, content fits at 1280x720\n5. **Proactively reorganize:** If modifications will cause overflow, automatically split content and inform the user. Don't wait to be asked\n\n**When adding images to existing slides:** Move image to new slide or reduce other content first. Never add images without checking if existing content already fills the viewport.\n\n---\n\n## Phase 1: Content Discovery (New Presentations)\n\n**Ask ALL questions in a single AskUserQuestion call** so the user fills everything out at once:\n\n**Question 1 — Purpose** (header: \"Purpose\"):\nWhat is this presentation for? Options: Pitch deck \u002F Teaching-Tutorial \u002F Conference talk \u002F Internal presentation\n\n**Question 2 — Length** (header: \"Length\"):\nApproximately how many slides? Options: Short 5-10 \u002F Medium 10-20 \u002F Long 20+\n\n**Question 3 — Content** (header: \"Content\"):\nDo you have content ready? Options: All content ready \u002F Rough notes \u002F Topic only\n\n**Question 4 — Inline Editing** (header: \"Editing\"):\nDo you need to edit text directly in the browser after generation? Options:\n\n- \"Yes (Recommended)\" — Can edit text in-browser, auto-save to localStorage, export file\n- \"No\" — Presentation only, keeps file smaller\n\n**Remember the user's editing choice — it determines whether edit-related code is included in Phase 3.**\n\nIf user has content, ask them to share it.\n\n### Step 1.2: Image Evaluation (if images provided)\n\nIf user selected \"No images\" → skip to Phase 2.\n\nIf user provides an image folder:\n\n1. **Scan** — List all image files (.png, .jpg, .svg, .webp, etc.)\n2. **View each image** — Use the Read tool (Claude is multimodal)\n3. **Evaluate** — For each: what it shows, USABLE or NOT USABLE (with reason), what concept it represents, dominant colors\n4. **Co-design the outline** — Curated images inform slide structure alongside text. This is NOT \"plan slides then add images\" — design around both from the start (e.g., 3 screenshots → 3 feature slides, 1 logo → title\u002Fclosing slide)\n5. **Confirm via AskUserQuestion** (header: \"Outline\"): \"Does this slide outline and image selection look right?\" Options: Looks good \u002F Adjust images \u002F Adjust outline\n\n**Logo in previews:** If a usable logo was identified, embed it (base64) into each style preview in Phase 2 — the user sees their brand styled three different ways.\n\n---\n\n## Phase 2: Style Discovery\n\n**This is the \"show, don't tell\" phase.** Most people can't articulate design preferences in words.\n\n### Step 2.0: Style Path\n\nAsk how they want to choose (header: \"Style\"):\n\n- \"Show me options\" (recommended) — Generate 3 previews based on mood\n- \"I know what I want\" — Pick from preset list directly\n\n**If direct selection:** Show preset picker and skip to Phase 3. Available presets are defined in [STYLE_PRESETS.md](STYLE_PRESETS.md).\n\n### Step 2.1: Mood Selection (Guided Discovery)\n\nAsk (header: \"Vibe\", multiSelect: true, max 2):\nWhat feeling should the audience have? Options:\n\n- Impressed\u002FConfident — Professional, trustworthy\n- Excited\u002FEnergized — Innovative, bold\n- Calm\u002FFocused — Clear, thoughtful\n- Inspired\u002FMoved — Emotional, memorable\n\n### Step 2.2: Generate 3 Style Previews\n\nBased on mood, generate 3 distinct single-slide HTML previews showing typography, colors, animation, and overall aesthetic. Read [STYLE_PRESETS.md](STYLE_PRESETS.md) for available presets and their specifications.\n\n| Mood                | Suggested Presets                                  |\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\nSave previews to `.claude-design\u002Fslide-previews\u002F` (style-a.html, style-b.html, style-c.html). Each should be self-contained, ~50-100 lines, showing one animated title slide.\n\nOpen each preview automatically for the user.\n\n### Step 2.3: User Picks\n\nAsk (header: \"Style\"):\nWhich style preview do you prefer? Options: Style A: [Name] \u002F Style B: [Name] \u002F Style C: [Name] \u002F Mix elements\n\nIf \"Mix elements\", ask for specifics.\n\n---\n\n## Phase 3: Generate Presentation\n\nGenerate the full presentation using content from Phase 1 (text, or text + curated images) and style from Phase 2.\n\nIf images were provided, the slide outline already incorporates them from Step 1.2. If not, CSS-generated visuals (gradients, shapes, patterns) provide visual interest — this is a fully supported first-class path.\n\n**Before generating, read these supporting files:**\n\n- [html-template.md](html-template.md) — HTML architecture and JS features\n- [viewport-base.css](viewport-base.css) — Mandatory CSS (include in full)\n- [animation-patterns.md](animation-patterns.md) — Animation reference for the chosen feeling\n\n**Key requirements:**\n\n- Single self-contained HTML file, all CSS\u002FJS inline\n- Include the FULL contents of viewport-base.css in the `\u003Cstyle>` block\n- Use fonts from Fontshare or Google Fonts — never system fonts\n- Add detailed comments explaining each section\n- Every section needs a clear `\u002F* === SECTION NAME === *\u002F` comment block\n\n---\n\n## Phase 4: PPT Conversion\n\nWhen converting PowerPoint files:\n\n1. **Extract content** — Run `python scripts\u002Fextract-pptx.py \u003Cinput.pptx> \u003Coutput_dir>` (install python-pptx if needed: `pip install python-pptx`)\n2. **Confirm with user** — Present extracted slide titles, content summaries, and image counts\n3. **Style selection** — Proceed to Phase 2 for style discovery\n4. **Generate HTML** — Convert to chosen style, preserving all text, images (from assets\u002F), slide order, and speaker notes (as HTML comments)\n\n---\n\n## Phase 5: Delivery\n\n1. **Clean up** — Delete `.claude-design\u002Fslide-previews\u002F` if it exists\n2. **Open** — Use `open [filename].html` to launch in browser\n3. **Summarize** — Tell the user:\n   - File location, style name, slide count\n   - Navigation: Arrow keys, Space, scroll\u002Fswipe, click nav dots\n   - How to customize: `:root` CSS variables for colors, font link for typography, `.reveal` class for animations\n   - If inline editing was enabled: Hover top-left corner or press E to enter edit mode, click any text to edit, Ctrl+S to save\n\n---\n\n## Supporting Files\n\n| File                                               | Purpose                                                              | When to Read              |\n| -------------------------------------------------- | -------------------------------------------------------------------- | ------------------------- |\n| [STYLE_PRESETS.md](STYLE_PRESETS.md)               | 12 curated visual presets with colors, fonts, and signature elements | Phase 2 (style selection) |\n| [viewport-base.css](viewport-base.css)             | Mandatory responsive CSS — copy into every presentation              | Phase 3 (generation)      |\n| [html-template.md](html-template.md)               | HTML structure, JS features, code quality standards                  | Phase 3 (generation)      |\n| [animation-patterns.md](animation-patterns.md)     | CSS\u002FJS animation snippets and effect-to-feeling guide                | Phase 3 (generation)      |\n| [scripts\u002Fextract-pptx.py](scripts\u002Fextract-pptx.py) | Python script for PPT content extraction                             | Phase 4 (conversion)      |\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n",{"name":5,"risk":24,"source":25,"date_added":26,"description":7},"safe","https:\u002F\u002Fgithub.com\u002Fzarazhangrui\u002Ffrontend-slides","2026-03-07","main","87afe6ce96220accf50a345dea46784c8c9f210e","YYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides",0,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base","https:\u002F\u002Fkb.yyc3.top\u002F","https:\u002F\u002Fgithub.com\u002FYYC-Cube","万象归元于云枢 | 深栈智启新纪元","2026-11-10 10:37:32",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill frontend-slides",{"tool":42,"command":43},"bunx","bunx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill frontend-slides",{"tool":45,"command":46},"pnpm","pnpm dlx skills add YYC-Cube\u002FYYC3-Knowledge-Base --skill frontend-slides","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002FSKILL.md",true,[50,56,60,66,70],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"animation-patterns.md","REFERENCE","参考文档",4030,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002Fanimation-patterns.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"html-template.md",10691,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002Fhtml-template.md",{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fextract-pptx.py","SCRIPT","脚本",2917,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002Fscripts\u002Fextract-pptx.py",{"path":67,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":68,"sourceHtmlUrl":69},"STYLE_PRESETS.md",8202,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002FSTYLE_PRESETS.md",{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"viewport-base.css","OTHER","其他",4037,"https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-Skills-技能包\u002FYYC3-Skills-技能包-antigravity-awesome-skills\u002Fskills\u002Ffrontend-slides\u002Fviewport-base.css",[77,84,91,98,105,112],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7CTDWHERCXPQCP0K03A86AS","vercel-sandbox","Run agent-browser + Chrome inside Vercel Sandbox microVMs for browser automation from any Vercel-deployed app. Use when the user needs browser automation in a Vercel app (Next.js, SvelteKit, Nuxt, Remix, Astro, etc.), wants to run headless Chrome without binary size limits, needs persistent browser sessions across commands, or wants ephemeral isolated browser environments. Triggers include \"Vercel Sandbox browser\", \"microVM Chrome\", \"agent-browser in sandbox\", \"browser automation on Vercel\", or any task requiring Chrome in a Vercel Sandbox.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fvercel-sandbox\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7CTD8D2BNJY54S65M47HEJA","slack","Interact with Slack workspaces using browser automation. Use when the user needs to check unread channels, navigate Slack, send messages, extract data, find information, search conversations, or automate any Slack task. Triggers include \"check my Slack\", \"what channels have unreads\", \"send a message to\", \"search Slack for\", \"extract from Slack\", \"find who said\", or any task requiring programmatic Slack interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fslack\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7CTCSSB8ZP3Q58C3YZDZK1W","electron","Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include \"automate Slack app\", \"control VS Code\", \"interact with Discord app\", \"test this Electron app\", \"connect to desktop app\", or any task requiring automation of a native Electron application.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Felectron\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M7CTCBJY76688V4DCZGWFHGQ","dogfood","Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to \"dogfood\", \"QA\", \"exploratory test\", \"find issues\", \"bug hunt\", \"test this app\u002Fsite\u002Fplatform\", or review the quality of a web application. Produces a structured report with full reproduction evidence -- step-by-step screenshots, repro videos, and detailed repro steps for every issue -- so findings can be handed directly to the responsible teams.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fdogfood\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M7CTC4H0FFGVEAQR9PA4GA1A","agent-browser","Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to \"open a website\", \"fill out a form\", \"click a button\", \"take a screenshot\", \"scrape data from a page\", \"test this web app\", \"login to a site\", \"automate browser actions\", or any task requiring programmatic web interaction.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-WebSpec-Web标准\u002FYYC3-WebSpec-Web标准-standards\u002Fbrowser-agent\u002Fskills\u002Fagent-browser\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":19},"01M7CTBKVFYBG78FDSABSDJTTQ","shadcn","Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn\u002Fui, component registries, presets, --preset codes, or any project with a components.json file. Also triggers for \"shadcn init\", \"create an app with --preset\", \"switch to --preset\", and for building a design system or applying a DESIGN.md or brand spec to shadcn\u002Fui.","https:\u002F\u002Fgithub.com\u002FYYC-Cube\u002FYYC3-Knowledge-Base\u002Fblob\u002Fmain\u002FYYC3-UI-界面组件\u002FYYC3-UI-界面组件-ui\u002Fskills\u002Fshadcn\u002FSKILL.md",[],[]]