diff --git a/.clawscan-allow b/.clawscan-allow deleted file mode 100644 index 4c90d10..0000000 --- a/.clawscan-allow +++ /dev/null @@ -1,12 +0,0 @@ -# Security scan allowlist for html-ppt-skill -# These patterns are false positives from template content, not actual threats. - -# Path traversal: templates reference shared assets via relative paths -# e.g. templates/full-decks/weekly-report/ → ../../../assets/ -# This is the correct relative path to the skill root assets directory. -traversal:templates/full-decks/*/index.html - -# Destructive commands: testing-safety-alert template displays forbidden -# commands as text examples in a security policy demo slide. -# They are HTML content, not executable code. -destructive:templates/full-decks/testing-safety-alert/index.html diff --git a/README.md b/README.md index fe3b522..bb6fc9f 100644 --- a/README.md +++ b/README.md @@ -1,234 +1,111 @@ -# html-ppt — HTML PPT Studio +# html-ppt — 让你的 Agent 做出专业级 PPT -> A world-class AgentSkill for producing professional HTML presentations in -> **36 themes**, **15 full-deck templates**, **31 page layouts**, -> **47 animations** (27 CSS + 20 canvas FX), and a **true presenter mode** -> with pixel-perfect previews + speaker script + timer — all pure static -> HTML/CSS/JS, no build step. +> 一行命令安装,agent 立刻拥有 36 主题 × 15 模板 × 31 布局 × 47 动效的完整设计系统。 +> 纯静态 HTML/CSS/JS,零构建,零依赖。内置演讲者模式 + 逐字稿提词器。 -**Author:** lewis <sudolewis@gmail.com> -**License:** MIT -**中文文档:** [README.zh-CN.md](README.zh-CN.md) +**Hermes Agent** · **Claude Code** · **Codex** · MIT License -![html-ppt — cover with live previews](docs/readme/hero.gif) +![tech-sharing cover](showcase/tech-sharing-cover.png) -> One command installs **36 themes × 20 canvas FX × 31 layouts × 15 full decks + presenter mode**. Every preview above is a live iframe of a real template file rendering inside the deck — no screenshots, no mock-ups. +## 你什么时候需要它? -## 🎤 Presenter Mode (new!) +| 你说 | agent 做什么 | +|------|-------------| +| "做一份 8 页技术分享 slides" | 从 `tech-sharing` 模板组装,`tokyo-night` 主题 | +| "做一个小红书图文,9 张" | `xhs-post` 模板,3:4 比例,`xiaohongshu-white` 主题 | +| "我要做产品发布会 PPT" | `product-launch` 模板,`glassmorphism` 主题 | +| "做一份带逐字稿的演讲" | `presenter-mode-reveal` 模板,每页 150-300 字口语化逐字稿 | +| "把这段 outline 变成投资人 pitch deck" | `pitch-deck` 模板,`pitch-deck-vc` 主题 | +| "做一份周报" | `weekly-report` 模板,KPI 网格 + 图表 | -Press `S` on any deck to pop open a dedicated presenter window with four -draggable, resizable **magnetic cards**: current slide, next slide preview, -speaker script (逐字稿), and timer. Two windows stay in sync via -`BroadcastChannel`. - -![Presenter mode with 4 magnetic cards](docs/readme/presenter-mode.png) - -**Why previews are pixel-perfect:** each card is an `