[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EAB4NFYK43HYVBVDZP3SDT":3,"skill-same:01M7EAB4NFYK43HYVBVDZP3SDT":114},{"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":49,"commitSha":50,"skillDirectory":51,"forksCount":14,"repositoryHtmlUrl":52,"repositoryHomepageUrl":6,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":67},"01M7EAB4NFYK43HYVBVDZP3SDT","html-ppt",null,"For consulting delivery work: turn diagnosis, frameworks, and project work into a client-adoptable action plan. Built around the core query \"consulting-final-deck\", with engagement manager judgment, buyer-ready proof, and this outcome: accept the recommendation and commit owners to the roadmap.","testground-lab\u002Fdesignground","testground-lab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F213383747?v=4","01M7E8Q0BABJ7Q9AVGKG7SM9V4","TestGround Inc","01M7E8Q0BV18ZX6XCJTGNN3096",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: html-ppt\nen_name: \"Brief AI in Your Industry like a Tier-1 Consulting AI Vertical Lead\"\nzh_name: \"像一线咨询 AI 行业负责人一样讲清行业 AI\"\ndescription: |\n  For consulting delivery work: turn diagnosis, frameworks, and project work into a client-adoptable action plan. Built around the core query \"consulting-final-deck\", with engagement manager judgment, buyer-ready proof, and this outcome: accept the recommendation and commit owners to the roadmap.\nen_description: |\n  For consulting delivery work: turn diagnosis, frameworks, and project work into a client-adoptable action plan. Built around the core query \"consulting-final-deck\", with engagement manager judgment, buyer-ready proof, and this outcome: accept the recommendation and commit owners to the roadmap.\nzh_description: |\n  咨询\u002F客户交付场景：围绕 core query「consulting-final-deck」把粗糙材料整理成“像一线咨询 AI 行业负责人一样讲清行业 AI”这类可购买、可复用的专业 Deck；突出受众、决策目标、证据链、风险取舍和评审标准。\ntags:\n  - \"consulting\"\n  - \"consulting-final-deck\"\n  - \"consulting-deliverable\"\n  - \"strategy\"\n  - \"client\"\n  - \"decision-deck\"\n  - \"commercial-slide-agent\"\n  - \"html-ppt\"\ntriggers:\n  - \"consulting-final-deck\"\n  - \"consulting\"\n  - \"Brief AI in Your Industry like a Tier-1 Consulting AI Vertical Lead\"\n  - \"像一线咨询 AI 行业负责人一样讲清行业 AI\"\n  - \"consulting-deliverable\"\n  - \"strategy\"\n  - \"client\"\n  - \"html deck\"\n  - \"html slides\"\nod:\n  mode: deck\n  featured: 19\n  upstream: \"https:\u002F\u002Fgithub.com\u002Flewislulu\u002Fhtml-ppt-skill\"\n  preview:\n    type: html\n    entry: index.html\n  design_system:\n    requires: false\n  speaker_notes: true\n  animations: true\n  scenario: \"strategy\"\n  example_prompt: \"Create \\\"Brief AI in Your Industry like a Tier-1 Consulting AI Vertical Lead\\\" as a Consulting delivery deck in the Html Ppt visual system. Scene: consulting-final-deck. First ask only for missing essentials: audience, decision target, source-of-truth materials, deadline, and must-keep numbers. Then produce a commercial-grade slide plan, written slides, visual direction, speaker-ready structure, and critic pass against this rubric: would a client know what to do Monday morning.\"\n---\n\n# html-ppt — HTML PPT Studio\n\nAuthor professional HTML presentations as static files. One theme file = one\nlook. One layout file = one page type. One animation class = one entry effect.\nAll pages share a token-based design system in `assets\u002Fbase.css`.\n\n## Install\n\n```bash\nnpx skills add https:\u002F\u002Fgithub.com\u002Flewislulu\u002Fhtml-ppt-skill\n```\n\nOne command, no build. Pure static HTML\u002FCSS\u002FJS with only CDN webfonts.\n\n## What the skill gives you\n\n- **36 themes** (`assets\u002Fthemes\u002F*.css`) — minimal-white, editorial-serif, soft-pastel, sharp-mono, arctic-cool, sunset-warm, catppuccin-latte\u002Fmocha, dracula, tokyo-night, nord, solarized-light, gruvbox-dark, rose-pine, neo-brutalism, glassmorphism, bauhaus, swiss-grid, terminal-green, xiaohongshu-white, rainbow-gradient, aurora, blueprint, memphis-pop, cyberpunk-neon, y2k-chrome, retro-tv, japanese-minimal, vaporwave, midcentury, corporate-clean, academic-paper, news-broadcast, pitch-deck-vc, magazine-bold, engineering-whiteprint\n- **15 full-deck templates** (`templates\u002Ffull-decks\u002F\u003Cname>\u002F`) — complete multi-slide decks with scoped `.tpl-\u003Cname>` CSS. 8 extracted from real-world decks (xhs-white-editorial, graphify-dark-graph, knowledge-arch-blueprint, hermes-cyber-terminal, obsidian-claude-gradient, testing-safety-alert, xhs-pastel-card, dir-key-nav-minimal), 7 scenario scaffolds (pitch-deck, product-launch, tech-sharing, weekly-report, xhs-post 3:4, course-module, **presenter-mode-reveal** — 演讲者模式专用)\n- **31 layouts** (`templates\u002Fsingle-page\u002F*.html`) with realistic demo data\n- **27 CSS animations** (`assets\u002Fanimations\u002Fanimations.css`) via `data-anim`\n- **20 canvas FX animations** (`assets\u002Fanimations\u002Ffx\u002F*.js`) via `data-fx` — particle-burst, confetti-cannon, firework, starfield, matrix-rain, knowledge-graph (force-directed), neural-net (pulses), constellation, orbit-ring, galaxy-swirl, word-cascade, letter-explode, chain-react, magnetic-field, data-stream, gradient-blob, sparkle-trail, shockwave, typewriter-multi, counter-explosion\n- **Keyboard runtime** (`assets\u002Fruntime.js`) — arrows, T (theme), A (anim), F\u002FO, **S (presenter mode: magnetic-card popup with CURRENT \u002F NEXT \u002F SCRIPT \u002F TIMER cards)**, N (notes drawer), R (reset timer in presenter)\n- **FX runtime** (`assets\u002Fanimations\u002Ffx-runtime.js`) — auto-inits `[data-fx]` on slide enter, cleans up on leave\n- **Showcase decks** for themes \u002F layouts \u002F animations \u002F full-decks gallery\n- **Headless Chrome render script** for PNG export\n\n## When to use\n\nUse when the user asks for any kind of slide-based output or wants to turn\ntext\u002Fnotes into a presentable deck. Prefer this over building from scratch.\n\n### 🎤 Presenter Mode (演讲者模式 + 逐字稿)\n\nIf the user mentions any of: **演讲 \u002F 分享 \u002F 讲稿 \u002F 逐字稿 \u002F speaker notes \u002F presenter view \u002F 演讲者视图 \u002F 提词器**, or says things like \"我要去给团队讲 xxx\", \"要做一场技术分享\", \"怕讲不流畅\", \"想要一份带逐字稿的 PPT\" — **use the `presenter-mode-reveal` full-deck template** and write 150–300 words of 逐字稿 in each slide's `\u003Caside class=\"notes\">`.\n\nSee [references\u002Fpresenter-mode.md](references\u002Fpresenter-mode.md) for the full authoring guide including the 3 rules of speaker script writing:\n1. **不是讲稿，是提示信号** — 加粗核心词 + 过渡句独立成段\n2. **每页 150–300 字** — 2–3 分钟\u002F页的节奏\n3. **用口语，不用书面语** — \"因此\"→\"所以\"，\"该方案\"→\"这个方案\"\n\nAll full-deck templates support the S key presenter mode (it's built into `runtime.js`). **S opens a new popup window with 4 magnetic cards**:\n- 🔵 **CURRENT** — pixel-perfect iframe preview of the current slide\n- 🟣 **NEXT** — pixel-perfect iframe preview of the next slide\n- 🟠 **SPEAKER SCRIPT** — large-font 逐字稿 (scrollable)\n- 🟢 **TIMER** — elapsed time + slide counter + prev\u002Fnext\u002Freset buttons\n\nEach card is **draggable by its header** and **resizable by the bottom-right corner handle**. Card positions\u002Fsizes persist to `localStorage` per deck. A \"Reset layout\" button restores the default arrangement.\n\n**Why the previews are pixel-perfect**: each preview is an `\u003Ciframe>` that loads the actual deck HTML with a `?preview=N` query param; `runtime.js` detects this and renders only slide N with no chrome. So the preview uses the **same CSS, theme, fonts, and viewport as the audience view** — colors and layout are guaranteed identical.\n\n**Smooth navigation**: on slide change, the presenter window sends `postMessage({type:'preview-goto', idx:N})` to each iframe. The iframe just toggles `.is-active` between slides — **no reload, no flicker**. The two windows also stay in sync via `BroadcastChannel`.\n\nOnly `presenter-mode-reveal` is designed from the ground up around the feature with proper example 逐字稿 on every slide.\n\nKeyboard in presenter window: `← →` navigate (syncs audience) · `R` reset timer · `Esc` close popup.\nKeyboard in audience window: `S` open presenter · `T` cycle theme · `← →` navigate (syncs presenter) · `F` fullscreen · `O` overview.\n\n## Before you author anything — infer first, ask only when blocked\n\nBefore writing slides, resolve the three decisions below from the user's brief,\nproject metadata, supplied content, and conversation. If they are sufficiently\nclear, choose a tasteful default and proceed without waiting for confirmation;\nstate the choices briefly in the plan. Ask one consolidated clarification only\nwhen a missing answer would materially change the deck.\n\n1. **Content & audience.** What's the deck about, how many slides, who's\n   watching (engineers \u002F execs \u002F 小红书读者 \u002F 学生 \u002F VC)?\n2. **Style \u002F theme.** Which of the 36 themes fits? If unsure, recommend 2-3\n   candidates based on tone:\n   - Business \u002F investor pitch → `pitch-deck-vc`, `corporate-clean`, `swiss-grid`\n   - Tech sharing \u002F engineering → `tokyo-night`, `dracula`, `catppuccin-mocha`,\n     `terminal-green`, `blueprint`\n   - 小红书图文 → `xiaohongshu-white`, `soft-pastel`, `rainbow-gradient`,\n     `magazine-bold`\n   - Academic \u002F report → `academic-paper`, `editorial-serif`, `minimal-white`\n   - Edgy \u002F cyber \u002F launch → `cyberpunk-neon`, `vaporwave`, `y2k-chrome`,\n     `neo-brutalism`\n3. **Starting point.** One of the 14 full-deck templates, or scratch? Choose\n   the closest `templates\u002Ffull-decks\u002F\u003Cname>\u002F`. If the\n   user's content suggests something obvious (e.g. \"我要做产品发布会\" →\n   `product-launch`), use it confidently instead of asking blindly.\n\nA good clarification, when one is actually needed, follows the active\n`discovery-question-form` protocol and contains only unresolved fields. For\nexample, if content and audience are known but the requested tone spans\nincompatible themes, ask one theme question with 2–3 recommended options. Do\nnot repeat the form as a markdown checklist.\n\nIf the known context already resolves them, scaffold the deck and start writing\nimmediately.\n\n## Quick start\n\n1. **Scaffold a new deck.** From the repo root:\n   ```bash\n   .\u002Fscripts\u002Fnew-deck.sh my-talk\n   open examples\u002Fmy-talk\u002Findex.html\n   ```\n2. **Pick a theme.** Open the deck and press `T` to cycle. Or hard-code it:\n   ```html\n   \u003Clink rel=\"stylesheet\" id=\"theme-link\" href=\"..\u002Fassets\u002Fthemes\u002Faurora.css\">\n   ```\n   Catalog in [references\u002Fthemes.md](references\u002Fthemes.md).\n3. **Pick layouts.** Copy `\u003Csection class=\"slide\">...\u003C\u002Fsection>` blocks out of\n   files in `templates\u002Fsingle-page\u002F` into your deck. Replace the demo data.\n   Catalog in [references\u002Flayouts.md](references\u002Flayouts.md).\n4. **Add animations.** Put `data-anim=\"fade-up\"` (or `class=\"anim-fade-up\"`) on\n   any element. On `\u003Cul>`\u002Fgrids, use `anim-stagger-list` for sequenced reveals.\n   For canvas FX, use `\u003Cdiv data-fx=\"knowledge-graph\">...\u003C\u002Fdiv>` and include\n   `\u003Cscript src=\"..\u002Fassets\u002Fanimations\u002Ffx-runtime.js\">\u003C\u002Fscript>`.\n   Catalog in [references\u002Fanimations.md](references\u002Fanimations.md).\n5. **Use a full-deck template.** Copy `templates\u002Ffull-decks\u002F\u003Cname>\u002F` into\n   `examples\u002Fmy-talk\u002F` as a starting point. Each folder is self-contained with\n   scoped CSS. Catalog in [references\u002Ffull-decks.md](references\u002Ffull-decks.md)\n   and gallery at `templates\u002Ffull-decks-index.html`.\n6. **Render to PNG.**\n   ```bash\n   .\u002Fscripts\u002Frender.sh templates\u002Ftheme-showcase.html       # one shot\n   .\u002Fscripts\u002Frender.sh examples\u002Fmy-talk\u002Findex.html 12      # 12 slides\n   ```\n\n## Authoring rules (important)\n\n- **Always start from a template.** Don't author slides from scratch — copy the\n  closest layout from `templates\u002Fsingle-page\u002F` first, then replace content.\n- **Use tokens, not literal colors.** Every color, radius, shadow should come\n  from CSS variables defined in `assets\u002Fbase.css` and overridden by a theme.\n  Good: `color: var(--text-1)`. Bad: `color: #111`.\n- **Don't invent new layout files.** Prefer composing existing ones. Only add\n  a new `templates\u002Fsingle-page\u002F*.html` if none of the 30 fit.\n- **Respect chrome slots.** `.deck-header`, `.deck-footer`, `.slide-number`\n  and the progress bar are provided by `assets\u002Fbase.css` + `runtime.js`.\n- **Keyboard-first.** Always include `\u003Cscript src=\"..\u002Fassets\u002Fruntime.js\">\u003C\u002Fscript>`\n  so the deck supports ← → \u002F T \u002F A \u002F F \u002F S \u002F O \u002F hash deep-links.\n- **One `.slide` per logical page.** `runtime.js` makes `.slide.is-active`\n  visible; all others are hidden.\n- **Supply notes.** Wrap speaker notes in `\u003Cdiv class=\"notes\">…\u003C\u002Fdiv>` inside\n  each slide. Press S to open the overlay.\n- **NEVER put presenter-only text on the slide itself.** Descriptive text like\n  \"这一页展示了……\" or \"Speaker: 这里可以补充……\" or small explanatory captions\n  aimed at the presenter MUST go inside `\u003Cdiv class=\"notes\">`, NOT as visible\n  `\u003Cp>` \u002F `\u003Cspan>` elements on the slide. The `.notes` class is `display:none`\n  by default — it only appears in the S overlay. Slides should contain ONLY\n  audience-facing content (titles, bullet points, data, charts, images).\n\n## Writing guide\n\nSee [references\u002Fauthoring-guide.md](references\u002Fauthoring-guide.md) for a\nstep-by-step walkthrough: file structure, naming, how to transform an outline\ninto a deck, how to choose layouts and themes per audience, how to do a\nChinese + English deck, and how to export.\n\n## Catalogs (load when needed)\n\n- [references\u002Fthemes.md](references\u002Fthemes.md) — all 36 themes with when-to-use.\n- [references\u002Flayouts.md](references\u002Flayouts.md) — all 31 layout types.\n- [references\u002Fanimations.md](references\u002Fanimations.md) — 27 CSS + 20 canvas FX animations.\n- [references\u002Ffull-decks.md](references\u002Ffull-decks.md) — all 15 full-deck templates.\n- [references\u002Fpresenter-mode.md](references\u002Fpresenter-mode.md) — **演讲者模式 + 逐字稿编写指南（技术分享\u002F演讲必看）**.\n- [references\u002Fauthoring-guide.md](references\u002Fauthoring-guide.md) — full workflow.\n\n## File structure\n\n```\nhtml-ppt\u002F\n├── SKILL.md                 (this file)\n├── references\u002F              (detailed catalogs, load as needed)\n├── assets\u002F\n│   ├── base.css             (tokens + primitives — do not edit per deck)\n│   ├── fonts.css            (webfont imports)\n│   ├── runtime.js           (keyboard + presenter + overview + theme cycle)\n│   ├── themes\u002F*.css         (36 token overrides, one per theme)\n│   └── animations\u002F\n│       ├── animations.css   (27 named CSS entry animations)\n│       ├── fx-runtime.js    (auto-init [data-fx] on slide enter)\n│       └── fx\u002F*.js          (20 canvas FX modules: particles\u002Fgraph\u002Ffireworks…)\n├── templates\u002F\n│   ├── deck.html                  (minimal 6-slide starter)\n│   ├── theme-showcase.html        (36 slides, iframe-isolated per theme)\n│   ├── layout-showcase.html       (iframe tour of all 31 layouts)\n│   ├── animation-showcase.html    (20 FX + 27 CSS animation slides)\n│   ├── full-decks-index.html      (gallery of all 14 full-deck templates)\n│   ├── full-decks\u002F\u003Cname>\u002F         (14 scoped multi-slide deck templates)\n│   └── single-page\u002F*.html         (31 layout files with demo data)\n├── scripts\u002F\n│   ├── new-deck.sh                (scaffold a deck from deck.html)\n│   └── render.sh                  (headless Chrome → PNG)\n└── examples\u002Fdemo-deck\u002F            (complete working deck)\n```\n\n## Rendering to PNG\n\n`scripts\u002Frender.sh` wraps headless Chrome at\n`\u002FApplications\u002FGoogle Chrome.app\u002FContents\u002FMacOS\u002FGoogle Chrome`. For multi-slide\ncapture, runtime.js exposes `#\u002FN` deep-links, and render.sh iterates 1..N.\n\n```bash\n.\u002Fscripts\u002Frender.sh templates\u002Fsingle-page\u002Fkpi-grid.html        # single page\n.\u002Fscripts\u002Frender.sh examples\u002Fdemo-deck\u002Findex.html 8 out-dir    # 8 slides, custom dir\n```\n\n## Keyboard cheat sheet\n\n```\n←  →  Space  PgUp  PgDn  Home  End    navigate\nF                                       fullscreen\nS                                       open presenter window (magnetic cards: current\u002Fnext\u002Fscript\u002Ftimer)\nN                                       quick notes drawer (bottom overlay)\nR                                       reset timer (in presenter window)\n?preview=N                              URL param — force preview-only mode (single slide, no chrome)\nO                                       slide overview grid\nT                                       cycle themes (reads data-themes attr)\nA                                       cycle demo animation on current slide\n#\u002FN in URL                              deep-link to slide N\nEsc                                     close all overlays\n```\n\n## License & author\n\nMIT. Copyright (c) 2026 lewis &lt;sudolewis@gmail.com&gt;.\n","# html-ppt — HTML PPT Studio\n\nAuthor professional HTML presentations as static files. One theme file = one\nlook. One layout file = one page type. One animation class = one entry effect.\nAll pages share a token-based design system in `assets\u002Fbase.css`.\n\n## Install\n\n```bash\nnpx skills add https:\u002F\u002Fgithub.com\u002Flewislulu\u002Fhtml-ppt-skill\n```\n\nOne command, no build. Pure static HTML\u002FCSS\u002FJS with only CDN webfonts.\n\n## What the skill gives you\n\n- **36 themes** (`assets\u002Fthemes\u002F*.css`) — minimal-white, editorial-serif, soft-pastel, sharp-mono, arctic-cool, sunset-warm, catppuccin-latte\u002Fmocha, dracula, tokyo-night, nord, solarized-light, gruvbox-dark, rose-pine, neo-brutalism, glassmorphism, bauhaus, swiss-grid, terminal-green, xiaohongshu-white, rainbow-gradient, aurora, blueprint, memphis-pop, cyberpunk-neon, y2k-chrome, retro-tv, japanese-minimal, vaporwave, midcentury, corporate-clean, academic-paper, news-broadcast, pitch-deck-vc, magazine-bold, engineering-whiteprint\n- **15 full-deck templates** (`templates\u002Ffull-decks\u002F\u003Cname>\u002F`) — complete multi-slide decks with scoped `.tpl-\u003Cname>` CSS. 8 extracted from real-world decks (xhs-white-editorial, graphify-dark-graph, knowledge-arch-blueprint, hermes-cyber-terminal, obsidian-claude-gradient, testing-safety-alert, xhs-pastel-card, dir-key-nav-minimal), 7 scenario scaffolds (pitch-deck, product-launch, tech-sharing, weekly-report, xhs-post 3:4, course-module, **presenter-mode-reveal** — 演讲者模式专用)\n- **31 layouts** (`templates\u002Fsingle-page\u002F*.html`) with realistic demo data\n- **27 CSS animations** (`assets\u002Fanimations\u002Fanimations.css`) via `data-anim`\n- **20 canvas FX animations** (`assets\u002Fanimations\u002Ffx\u002F*.js`) via `data-fx` — particle-burst, confetti-cannon, firework, starfield, matrix-rain, knowledge-graph (force-directed), neural-net (pulses), constellation, orbit-ring, galaxy-swirl, word-cascade, letter-explode, chain-react, magnetic-field, data-stream, gradient-blob, sparkle-trail, shockwave, typewriter-multi, counter-explosion\n- **Keyboard runtime** (`assets\u002Fruntime.js`) — arrows, T (theme), A (anim), F\u002FO, **S (presenter mode: magnetic-card popup with CURRENT \u002F NEXT \u002F SCRIPT \u002F TIMER cards)**, N (notes drawer), R (reset timer in presenter)\n- **FX runtime** (`assets\u002Fanimations\u002Ffx-runtime.js`) — auto-inits `[data-fx]` on slide enter, cleans up on leave\n- **Showcase decks** for themes \u002F layouts \u002F animations \u002F full-decks gallery\n- **Headless Chrome render script** for PNG export\n\n## When to use\n\nUse when the user asks for any kind of slide-based output or wants to turn\ntext\u002Fnotes into a presentable deck. Prefer this over building from scratch.\n\n### 🎤 Presenter Mode (演讲者模式 + 逐字稿)\n\nIf the user mentions any of: **演讲 \u002F 分享 \u002F 讲稿 \u002F 逐字稿 \u002F speaker notes \u002F presenter view \u002F 演讲者视图 \u002F 提词器**, or says things like \"我要去给团队讲 xxx\", \"要做一场技术分享\", \"怕讲不流畅\", \"想要一份带逐字稿的 PPT\" — **use the `presenter-mode-reveal` full-deck template** and write 150–300 words of 逐字稿 in each slide's `\u003Caside class=\"notes\">`.\n\nSee [references\u002Fpresenter-mode.md](references\u002Fpresenter-mode.md) for the full authoring guide including the 3 rules of speaker script writing:\n1. **不是讲稿，是提示信号** — 加粗核心词 + 过渡句独立成段\n2. **每页 150–300 字** — 2–3 分钟\u002F页的节奏\n3. **用口语，不用书面语** — \"因此\"→\"所以\"，\"该方案\"→\"这个方案\"\n\nAll full-deck templates support the S key presenter mode (it's built into `runtime.js`). **S opens a new popup window with 4 magnetic cards**:\n- 🔵 **CURRENT** — pixel-perfect iframe preview of the current slide\n- 🟣 **NEXT** — pixel-perfect iframe preview of the next slide\n- 🟠 **SPEAKER SCRIPT** — large-font 逐字稿 (scrollable)\n- 🟢 **TIMER** — elapsed time + slide counter + prev\u002Fnext\u002Freset buttons\n\nEach card is **draggable by its header** and **resizable by the bottom-right corner handle**. Card positions\u002Fsizes persist to `localStorage` per deck. A \"Reset layout\" button restores the default arrangement.\n\n**Why the previews are pixel-perfect**: each preview is an `\u003Ciframe>` that loads the actual deck HTML with a `?preview=N` query param; `runtime.js` detects this and renders only slide N with no chrome. So the preview uses the **same CSS, theme, fonts, and viewport as the audience view** — colors and layout are guaranteed identical.\n\n**Smooth navigation**: on slide change, the presenter window sends `postMessage({type:'preview-goto', idx:N})` to each iframe. The iframe just toggles `.is-active` between slides — **no reload, no flicker**. The two windows also stay in sync via `BroadcastChannel`.\n\nOnly `presenter-mode-reveal` is designed from the ground up around the feature with proper example 逐字稿 on every slide.\n\nKeyboard in presenter window: `← →` navigate (syncs audience) · `R` reset timer · `Esc` close popup.\nKeyboard in audience window: `S` open presenter · `T` cycle theme · `← →` navigate (syncs presenter) · `F` fullscreen · `O` overview.\n\n## Before you author anything — infer first, ask only when blocked\n\nBefore writing slides, resolve the three decisions below from the user's brief,\nproject metadata, supplied content, and conversation. If they are sufficiently\nclear, choose a tasteful default and proceed without waiting for confirmation;\nstate the choices briefly in the plan. Ask one consolidated clarification only\nwhen a missing answer would materially change the deck.\n\n1. **Content & audience.** What's the deck about, how many slides, who's\n   watching (engineers \u002F execs \u002F 小红书读者 \u002F 学生 \u002F VC)?\n2. **Style \u002F theme.** Which of the 36 themes fits? If unsure, recommend 2-3\n   candidates based on tone:\n   - Business \u002F investor pitch → `pitch-deck-vc`, `corporate-clean`, `swiss-grid`\n   - Tech sharing \u002F engineering → `tokyo-night`, `dracula`, `catppuccin-mocha`,\n     `terminal-green`, `blueprint`\n   - 小红书图文 → `xiaohongshu-white`, `soft-pastel`, `rainbow-gradient`,\n     `magazine-bold`\n   - Academic \u002F report → `academic-paper`, `editorial-serif`, `minimal-white`\n   - Edgy \u002F cyber \u002F launch → `cyberpunk-neon`, `vaporwave`, `y2k-chrome`,\n     `neo-brutalism`\n3. **Starting point.** One of the 14 full-deck templates, or scratch? Choose\n   the closest `templates\u002Ffull-decks\u002F\u003Cname>\u002F`. If the\n   user's content suggests something obvious (e.g. \"我要做产品发布会\" →\n   `product-launch`), use it confidently instead of asking blindly.\n\nA good clarification, when one is actually needed, follows the active\n`discovery-question-form` protocol and contains only unresolved fields. For\nexample, if content and audience are known but the requested tone spans\nincompatible themes, ask one theme question with 2–3 recommended options. Do\nnot repeat the form as a markdown checklist.\n\nIf the known context already resolves them, scaffold the deck and start writing\nimmediately.\n\n## Quick start\n\n1. **Scaffold a new deck.** From the repo root:\n   ```bash\n   .\u002Fscripts\u002Fnew-deck.sh my-talk\n   open examples\u002Fmy-talk\u002Findex.html\n   ```\n2. **Pick a theme.** Open the deck and press `T` to cycle. Or hard-code it:\n   ```html\n   \u003Clink rel=\"stylesheet\" id=\"theme-link\" href=\"..\u002Fassets\u002Fthemes\u002Faurora.css\">\n   ```\n   Catalog in [references\u002Fthemes.md](references\u002Fthemes.md).\n3. **Pick layouts.** Copy `\u003Csection class=\"slide\">...\u003C\u002Fsection>` blocks out of\n   files in `templates\u002Fsingle-page\u002F` into your deck. Replace the demo data.\n   Catalog in [references\u002Flayouts.md](references\u002Flayouts.md).\n4. **Add animations.** Put `data-anim=\"fade-up\"` (or `class=\"anim-fade-up\"`) on\n   any element. On `\u003Cul>`\u002Fgrids, use `anim-stagger-list` for sequenced reveals.\n   For canvas FX, use `\u003Cdiv data-fx=\"knowledge-graph\">...\u003C\u002Fdiv>` and include\n   `\u003Cscript src=\"..\u002Fassets\u002Fanimations\u002Ffx-runtime.js\">\u003C\u002Fscript>`.\n   Catalog in [references\u002Fanimations.md](references\u002Fanimations.md).\n5. **Use a full-deck template.** Copy `templates\u002Ffull-decks\u002F\u003Cname>\u002F` into\n   `examples\u002Fmy-talk\u002F` as a starting point. Each folder is self-contained with\n   scoped CSS. Catalog in [references\u002Ffull-decks.md](references\u002Ffull-decks.md)\n   and gallery at `templates\u002Ffull-decks-index.html`.\n6. **Render to PNG.**\n   ```bash\n   .\u002Fscripts\u002Frender.sh templates\u002Ftheme-showcase.html       # one shot\n   .\u002Fscripts\u002Frender.sh examples\u002Fmy-talk\u002Findex.html 12      # 12 slides\n   ```\n\n## Authoring rules (important)\n\n- **Always start from a template.** Don't author slides from scratch — copy the\n  closest layout from `templates\u002Fsingle-page\u002F` first, then replace content.\n- **Use tokens, not literal colors.** Every color, radius, shadow should come\n  from CSS variables defined in `assets\u002Fbase.css` and overridden by a theme.\n  Good: `color: var(--text-1)`. Bad: `color: #111`.\n- **Don't invent new layout files.** Prefer composing existing ones. Only add\n  a new `templates\u002Fsingle-page\u002F*.html` if none of the 30 fit.\n- **Respect chrome slots.** `.deck-header`, `.deck-footer`, `.slide-number`\n  and the progress bar are provided by `assets\u002Fbase.css` + `runtime.js`.\n- **Keyboard-first.** Always include `\u003Cscript src=\"..\u002Fassets\u002Fruntime.js\">\u003C\u002Fscript>`\n  so the deck supports ← → \u002F T \u002F A \u002F F \u002F S \u002F O \u002F hash deep-links.\n- **One `.slide` per logical page.** `runtime.js` makes `.slide.is-active`\n  visible; all others are hidden.\n- **Supply notes.** Wrap speaker notes in `\u003Cdiv class=\"notes\">…\u003C\u002Fdiv>` inside\n  each slide. Press S to open the overlay.\n- **NEVER put presenter-only text on the slide itself.** Descriptive text like\n  \"这一页展示了……\" or \"Speaker: 这里可以补充……\" or small explanatory captions\n  aimed at the presenter MUST go inside `\u003Cdiv class=\"notes\">`, NOT as visible\n  `\u003Cp>` \u002F `\u003Cspan>` elements on the slide. The `.notes` class is `display:none`\n  by default — it only appears in the S overlay. Slides should contain ONLY\n  audience-facing content (titles, bullet points, data, charts, images).\n\n## Writing guide\n\nSee [references\u002Fauthoring-guide.md](references\u002Fauthoring-guide.md) for a\nstep-by-step walkthrough: file structure, naming, how to transform an outline\ninto a deck, how to choose layouts and themes per audience, how to do a\nChinese + English deck, and how to export.\n\n## Catalogs (load when needed)\n\n- [references\u002Fthemes.md](references\u002Fthemes.md) — all 36 themes with when-to-use.\n- [references\u002Flayouts.md](references\u002Flayouts.md) — all 31 layout types.\n- [references\u002Fanimations.md](references\u002Fanimations.md) — 27 CSS + 20 canvas FX animations.\n- [references\u002Ffull-decks.md](references\u002Ffull-decks.md) — all 15 full-deck templates.\n- [references\u002Fpresenter-mode.md](references\u002Fpresenter-mode.md) — **演讲者模式 + 逐字稿编写指南（技术分享\u002F演讲必看）**.\n- [references\u002Fauthoring-guide.md](references\u002Fauthoring-guide.md) — full workflow.\n\n## File structure\n\n```\nhtml-ppt\u002F\n├── SKILL.md                 (this file)\n├── references\u002F              (detailed catalogs, load as needed)\n├── assets\u002F\n│   ├── base.css             (tokens + primitives — do not edit per deck)\n│   ├── fonts.css            (webfont imports)\n│   ├── runtime.js           (keyboard + presenter + overview + theme cycle)\n│   ├── themes\u002F*.css         (36 token overrides, one per theme)\n│   └── animations\u002F\n│       ├── animations.css   (27 named CSS entry animations)\n│       ├── fx-runtime.js    (auto-init [data-fx] on slide enter)\n│       └── fx\u002F*.js          (20 canvas FX modules: particles\u002Fgraph\u002Ffireworks…)\n├── templates\u002F\n│   ├── deck.html                  (minimal 6-slide starter)\n│   ├── theme-showcase.html        (36 slides, iframe-isolated per theme)\n│   ├── layout-showcase.html       (iframe tour of all 31 layouts)\n│   ├── animation-showcase.html    (20 FX + 27 CSS animation slides)\n│   ├── full-decks-index.html      (gallery of all 14 full-deck templates)\n│   ├── full-decks\u002F\u003Cname>\u002F         (14 scoped multi-slide deck templates)\n│   └── single-page\u002F*.html         (31 layout files with demo data)\n├── scripts\u002F\n│   ├── new-deck.sh                (scaffold a deck from deck.html)\n│   └── render.sh                  (headless Chrome → PNG)\n└── examples\u002Fdemo-deck\u002F            (complete working deck)\n```\n\n## Rendering to PNG\n\n`scripts\u002Frender.sh` wraps headless Chrome at\n`\u002FApplications\u002FGoogle Chrome.app\u002FContents\u002FMacOS\u002FGoogle Chrome`. For multi-slide\ncapture, runtime.js exposes `#\u002FN` deep-links, and render.sh iterates 1..N.\n\n```bash\n.\u002Fscripts\u002Frender.sh templates\u002Fsingle-page\u002Fkpi-grid.html        # single page\n.\u002Fscripts\u002Frender.sh examples\u002Fdemo-deck\u002Findex.html 8 out-dir    # 8 slides, custom dir\n```\n\n## Keyboard cheat sheet\n\n```\n←  →  Space  PgUp  PgDn  Home  End    navigate\nF                                       fullscreen\nS                                       open presenter window (magnetic cards: current\u002Fnext\u002Fscript\u002Ftimer)\nN                                       quick notes drawer (bottom overlay)\nR                                       reset timer (in presenter window)\n?preview=N                              URL param — force preview-only mode (single slide, no chrome)\nO                                       slide overview grid\nT                                       cycle themes (reads data-themes attr)\nA                                       cycle demo animation on current slide\n#\u002FN in URL                              deep-link to slide N\nEsc                                     close all overlays\n```\n\n## License & author\n\nMIT. Copyright (c) 2026 lewis &lt;sudolewis@gmail.com&gt;.\n",{"od":24,"name":5,"tags":35,"en_name":42,"zh_name":43,"triggers":44,"description":47,"en_description":47,"zh_description":48},{"mode":25,"preview":26,"featured":29,"scenario":30,"upstream":31,"animations":32,"design_system":33,"speaker_notes":32,"example_prompt":34},"deck",{"type":27,"entry":28},"html","index.html",19,"strategy","https:\u002F\u002Fgithub.com\u002Flewislulu\u002Fhtml-ppt-skill",true,{"requires":20},"Create \"Brief AI in Your Industry like a Tier-1 Consulting AI Vertical Lead\" as a Consulting delivery deck in the Html Ppt visual system. Scene: consulting-final-deck. First ask only for missing essentials: audience, decision target, source-of-truth materials, deadline, and must-keep numbers. Then produce a commercial-grade slide plan, written slides, visual direction, speaker-ready structure, and critic pass against this rubric: would a client know what to do Monday morning.",[36,37,38,30,39,40,41,5],"consulting","consulting-final-deck","consulting-deliverable","client","decision-deck","commercial-slide-agent","Brief AI in Your Industry like a Tier-1 Consulting AI Vertical Lead","像一线咨询 AI 行业负责人一样讲清行业 AI",[37,36,42,43,38,30,39,45,46],"html deck","html slides","For consulting delivery work: turn diagnosis, frameworks, and project work into a client-adoptable action plan. Built around the core query \"consulting-final-deck\", with engagement manager judgment, buyer-ready proof, and this outcome: accept the recommendation and commit owners to the roadmap.\n","咨询\u002F客户交付场景：围绕 core query「consulting-final-deck」把粗糙材料整理成“像一线咨询 AI 行业负责人一样讲清行业 AI”这类可购买、可复用的专业 Deck；突出受众、决策目标、证据链、风险取舍和评审标准。\n","main","53231d40b778d88eba23f35547bf99485d3ae9fc","plugins\u002F_official\u002Fexamples\u002Fhtml-ppt","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground","https:\u002F\u002Fgithub.com\u002Ftestground-lab","2026-10-06 15:26:48",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":32},[57,60,63],{"tool":58,"command":59},"npx","npx skills add testground-lab\u002Fdesignground --skill html-ppt",{"tool":61,"command":62},"bunx","bunx skills add testground-lab\u002Fdesignground --skill html-ppt",{"tool":64,"command":65},"pnpm","pnpm dlx skills add testground-lab\u002Fdesignground --skill html-ppt","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002FSKILL.md",[68,74,78,84,90,94,98,102,106,110],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"assets\u002Fbase.css","ASSET","资产文件",8187,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Fassets\u002Fbase.css",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"assets\u002Ffonts.css",889,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Fassets\u002Ffonts.css",{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"assets\u002Fruntime.js","SCRIPT","脚本",37082,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Fassets\u002Fruntime.js",{"path":85,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":88,"sourceHtmlUrl":89},"open-design.json","REFERENCE","参考文档",5010,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Fopen-design.json",{"path":91,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Fanimations.md",7708,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Fanimations.md",{"path":95,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fauthoring-guide.md",5128,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Fauthoring-guide.md",{"path":99,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Ffull-decks.md",8614,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Ffull-decks.md",{"path":103,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Flayouts.md",4043,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Flayouts.md",{"path":107,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fpresenter-mode.md",9918,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Fpresenter-mode.md",{"path":111,"resourceType":86,"resourceTypeDesc":87,"sizeBytes":112,"sourceHtmlUrl":113},"references\u002Fthemes.md",5264,"https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fplugins\u002F_official\u002Fexamples\u002Fhtml-ppt\u002Freferences\u002Fthemes.md",[115,122,129,136,143,152],{"skillNo":116,"name":117,"nameZh":6,"description":118,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":19},"01M7EBNKQZ9A2JHZDHZHQ94JDM","Beta Skill","Instruction-only fixture skill.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":123,"name":124,"nameZh":6,"description":125,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":128,"publishedAt":19},"01M7EBNJDND50BQN37ZETG1R52","Alpha Skill","First fixture skill with a runnable demo.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fskills\u002Falpha\u002FSKILL.md",[],[],{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":19},"01M7EBNG48FMGPH5KMW4D0FAAH","Deck One","A small deck template fixture.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Ftools\u002Frelease\u002Ftests\u002Ffixtures\u002Fcatalog\u002Fdesign-templates\u002Fdeck-one\u002FSKILL.md",[],[],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":19},"01M7EBNDZS46J6JG0BPPPWBR0C","youtube-clipper","YouTube clip generation and editing with automated workflows — pull source video, slice highlights, add captions, and export.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-clipper\u002FSKILL.md",[],[],{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":147,"licenseFileUrl":148,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":19},"01M7EBN9KVM1DJCX1A7T4S7S24","writing-guidelines","Review docs\u002Fprose for Writing Guidelines compliance. Use when asked to \"review my docs\", \"check writing style\", \"audit prose\", \"review docs voice and tone\", or \"check this page against the writing handbook\".","MIT","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-guidelines\u002FSKILL.md",[],[],{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":19},"01M7EBN797QTQP07GBV32T8TPF","wpds","WordPress Design System. Apply WordPress's official design tokens, typography, and component patterns to themes and sites.","https:\u002F\u002Fgithub.com\u002Ftestground-lab\u002Fdesignground\u002Fblob\u002Fmain\u002Fskills\u002Fwpds\u002FSKILL.md",[],[]]