← 返回 Skills 市场
kaisersong

Slide Creator Release V2242

作者 Kaiser · GitHub ↗ · v2.24.2 · MIT-0
darwinlinuxwindows ✓ 安全检测通过
889
总下载
1
收藏
1
当前安装
24
版本数
在 OpenClaw 中安装
/install kai-slide-creator
功能描述
生成HTML演示文稿/幻灯片 — 21 种风格模版,播放/演讲者模式。适用于路演、产品发布、技术分享、方案宣讲等场景。
使用说明 (SKILL.md)

kai-slide-creator

生成零依赖 HTML 演示文稿,纯浏览器运行。主路径是 IR-first:user prompt → BRIEF.json → HTML → validate

安装

Claude Code: 告诉 Claude「安装 https://github.com/kaisersong/slide-creator
OpenClaw: clawhub install kai-slide-creator

使用方式

/slide-creator ... 是 Claude/OpenClaw 的 slash 技能调用,不是 bash 命令。

规划深度:

  • 自动 (Auto) — 快速出稿,约 3-6 分钟
  • 精修 (Polish) — 深度规划,约 8-15 分钟,自动执行 Review

内容类型 → 风格推荐:

内容类型 推荐风格
数据报告 / KPI 看板 Data Story、Enterprise Dark、Swiss Modern
商业路演 / VC Deck Bold Signal、Aurora Mesh、Enterprise Dark
产品发布 / SaaS Blud Sky、Aurora Mesh、Glassmorphism、Electric Studio
开发工具 / API 文档 Terminal Green、Neon Cyber、Neo-Retro Dev Deck
研究 / 思想领导力 Modern Newspaper、Paper & Ink、Swiss Modern
创意 / 个人品牌 Vintage Editorial、Split Pastel、Neo-Brutalism
哲学 / 思想 Chinese chan

命令路由

自动 (Auto) — 快速出稿 | 精修 (Polish) — 深度规划,自动执行 Review

命令 加载内容 行为
--plan [prompt] references/brief-template.json 创建 BRIEF.json;仅在用户明确要求时额外派生 PLANNING.md
--generate SKILL.md + 已选风格文件(内置 references/*.md / blue-sky-starter.html;自定义 themes/\x3Cname>/reference.md)+ composition 源 + references/title-quality.md + references/html-template.md + references/js-engine.md + references/base-css.md + references/impeccable-anti-patterns.md BRIEF.json 生成 HTML,并执行写入前门禁
--review [file.html] references/review-checklist.md + 目标 HTML 执行 17 项检查点 → 确认窗口 → 修复/报告
无 flag (交互式) references/workflow.md + 其他按需 遵循 Phase 0-5
直接给内容 + 风格 --generate 先落一个有效 BRIEF.json,再走同一个 deterministic renderer 与 strict 写入前门禁;禁止手拼最终 HTML

渐进式披露: 每个命令只加载所需文件。--plan 只提炼 IR,不接触 CSS。

核心规则(按优先级)

  1. 风格强制 所有颜色、字体、组件、背景、动画、图表色、signature elements 都必须且只能来自选中的风格文件。模板里的 [from style file] 和示例值只是占位,禁止直接使用。
    默认推荐面第一阶段聚焦 4 个 production presets:Swiss Modern / Enterprise Dark / Data Story / Blue Sky但用户显式指定任意当前 preset 时,必须保留该选择。support tier 只影响默认推荐优先级,不影响显式指定。
    Swiss Modern 额外要求 canonical export path:面板保持 .slide direct child,token 保持 --bg/--text/--red,使用 canonical 类(.left-panel/.right-panel/.stat-row/.cta-block),并写入 data-export-role;不得生成 .left-col/.right-col--bg-primary/--accent 这类兼容别名。

  2. 叙事弧线 先锁内容结构,再锁 composition route。每页都要有明确 page role、不同布局意图和足够的信息推进;不要先拼播放/编辑壳子,再回头补故事。内部 route 名称属于实现细节,不要挤占用户入口层。

  3. 标题质量 标题必须是断言式,禁止 Overview / Introduction / Summary / 结论 / 概览 这类通用标签。多行标题必须平衡,不能出现孤儿行、塌陷中间行或靠过窄 measure 硬挤换行。规则和示例只看 references/title-quality.md

  4. 运行时与壳子基线 非 Blue Sky 风格必须走共享壳子:body[data-preset]scroll-snapSlidePresentationPresentMode、首屏 .visible 修复、data-notes、shell markers。Blue Sky 是唯一允许保留自身 #stage/#track 架构的 preset。

  5. 可降级功能 播放模式、编辑模式、水印都默认开启,但优先级低于风格、叙事和标题。

    • 播放模式:默认开启
    • 编辑模式:默认开启,可省略编辑模式,尤其在用户明确说不要或 existing HTML/导入场景受约束时
    • 水印:默认保留,但必须是 JS 注入到最后一页,position: absolute,禁止 position: fixed

详见 references/html-template.md。生成任何 HTML 前必读此文件。

Direct-route guard: 无论是 --generate 还是“直接给内容 + 风格”,都必须先 materialize 一个有效 BRIEF.json,再通过 render_from_brief() 同一路径渲染,并在写出最终文件前通过 python3 scripts/validate_html.py "$TMP_HTML" --strict。禁止在交互式路径里绕过 BRIEF 直接手写最终 HTML。

Pre-Write Validation Pipeline(写入前门禁)

组装完整 HTML 后,先写入临时文件,再运行:

任一失败都算生成失败,必须修复或重生直到通过。

核心门禁顺序:

  1. 风格强制 / canonical export 选中风格的 Signature Elements、Typography、Components、Background 必须完整注入;不得遗漏 checklist 项。Blue Sky 例外:使用 blue-sky-starter.html 基底。

  2. 叙事弧线 / composition route 页数、page roles、composition route 必须完整;连续两页不得使用相同布局;每页至少使用 2-3 种组件类型,不得只用 .g + .bl 堆砌。

  3. 标题质量 标题必须断言式;禁止通用标签;多行标题不得有孤儿行、塌陷中间行或浏览器自然换行失衡。规则只认 references/title-quality.md

  4. 架构隔离 / runtime 非 Blue Sky 风格必须使用 scroll-snap-type: y mandatory + SlidePresentation#stage/#track/translateX 只允许 Blue Sky。

  5. Preset metadata / shell markers body[data-preset] 必须存在且非占位;写出 id="slide-N"#brand-mark.nav-dots.progress-bar.slide-num-labeldata-export-role

  6. 对比度 / token 使用 文字对比必须正确;浅底不用浅字,深底不用深字;优先用风格 token,不要发明局部颜色。

  7. 字体 / CJK Google Fonts 合并为单一链接;\x3Cstyle> 开头要有 body { background-color: ... } 回退;CJK 页面追加对应 Noto Sans SC/JP/KR

  8. CSS 工程 布局、背景、间距通过 CSS 选择器定义;inline style="" ≤ 5 处,目标 0。

  9. 低级错误与模板完整性 禁止 U+FE0F。Blue Sky 模板路径还要检查 REQUIRED BLOCK、@keyframes、以及 go() 返回 boolean。

更多视觉和内容规则在 --review / Phase 3.5 Review 中执行。完整反模式映射表见 references/impeccable-anti-patterns.md

风格参考

只读取已选风格的文件:

  • 内置预设:完整列表、风格说明和选择建议都在 references/style-index.md

  • 支持层级:默认推荐面与 support tier 定义在 references/preset-support-tiers.json

  • 内置风格文件位置:统一在 references/ 下;Blue Sky 例外,使用 references/blue-sky-starter.html

  • 自定义主题themes/\x3Cname>/reference.md

  • 风格选择器:references/style-index.md

  • 视口与共享 CSS:references/base-css.md

  • 设计质量基线:references/design-quality.md

  • 标题规则:references/title-quality.md

  • 反模式:references/impeccable-anti-patterns.md


- `BRIEF.json` 已存在 → 直接读取并作为真相源
- 只有在用户明确要求人工审阅时才派生 `PLANNING.md`
- 现有 HTML 增强遵循 `references/workflow.md` 的 Enhancement Mode

## 相关技能

- **kai-html-export** — 导出 PPT(图片模式或 Native 模式)
安全使用建议
This skill appears coherent for generating HTML slide decks. Before installing or running it: 1) verify the referenced validation script (scripts/validate_html.py) exists in the package or confirm the documentation is up to date; 2) inspect any scripts you will run (main.py, render-from-brief.py, scripts/*) for network calls if you require offline execution; 3) if you intend to run it on sensitive systems, run it in an isolated environment (sandbox or container) the first time; and 4) note that some demos/templates reference external fonts/resources — if you need fully self-contained output, ensure the asset policy meets your requirements.
功能分析
Type: OpenClaw Skill Name: kai-slide-creator Version: 2.24.2 The kai-slide-creator skill is a comprehensive tool for generating zero-dependency HTML presentations. It employs a structured 'IR-first' workflow, distilling user prompts into a JSON brief before rendering the final HTML through a deterministic engine. The bundle includes extensive quality-assurance scripts (scripts/quality_eval.py, scripts/validate_html.py), regression tests, and a browser-based QA tool using Playwright (scripts/title_browser_qa.py) to ensure layout fidelity. All code logic and agent instructions in SKILL.md are strictly aligned with the stated purpose of slide generation and content review, with no evidence of data exfiltration, malicious execution, or unauthorized remote access.
能力标签
cryptorequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description (HTML slide generator, presets, presenter mode) align with the files and instructions: the repo bundles templates, reference docs, renderer scripts, and a Python-based CLI (main.py, scripts/*). Declared runtime requirement is only python3, which is appropriate for the included Python scripts.
Instruction Scope
SKILL.md gives a clear IR-first flow (BRIEF.json → render → pre-write validation) and limits which reference docs are loaded per command. One inconsistency: SKILL.md instructs running `python3 scripts/validate_html.py "$TMP_HTML" --strict`, but the provided file list (as shown) does not obviously include scripts/validate_html.py (there is scripts/validate-brief.py and a tests/validate.py). This may be an omission in the manifest excerpt or a documentation drift — verify that the referenced validation script exists and matches the described contract. Other runtime actions (writing temp HTML, running validation, rendering from BRIEF.json) are within the claimed purpose and do not request unrelated system data or credentials.
Install Mechanism
There is no remote install step in the skill metadata (instruction-only install guidance points at a GitHub clone or clawhub install). The repository includes many local Python scripts and static assets; no external arbitrary downloads or URL-extract install steps are declared in SKILL.md. This is low-risk provided you run code from the repository locally and review scripts before execution.
Credentials
The skill declares no required environment variables or credentials. The runtime only needs python3. There are no requests for unrelated cloud credentials or system tokens in SKILL.md. Bundled demos and references may include external font links (Google Fonts is permitted by the docs), which is expected for presentation output but worth noting if you need fully offline operation.
Persistence & Privilege
Skill flags are default (always: false, user-invocable, agent may invoke autonomously). It does not request elevated platform privileges or claim to modify other skills. Its behavior (writing temporary output, validating, then writing final HTML) is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install kai-slide-creator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /kai-slide-creator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.24.2
Enterprise Dark / Chinese Chan brand-mark and watermark gate hardening.
v2.24.0
- Major update: Restructured style/preset management and recommendation system. - Added support tier definitions and usage rules for presets. - Centralized style reference files and updated instructions for built-in and custom themes. - Improved style recommendation table for typical use cases. - Removed legacy demos, config, and obsolete scripts/files. - Refined documentation for clarity and accuracy, emphasizing preferred style handling and validation flow.
v2.23.1
Enterprise Dark runtime stability patch: fixed shared js-engine reveal toggling, hid default editing chrome, injected real watermark version/preset metadata, stabilized one-gesture-per-page pagination, and corrected Enterprise Dark narrative cover, split-title clipping, layout rhythm, and subtle grid overlay behavior.
v2.22.0
Style reference rollout and strict gate hardening
v2.21.0
kai-slide-creator 2.21.0 - 新增 PLANNING.md,支持额外派生规划视图(仅用户显式请求时) - 新增 demos/slide-creator-intro.html 示例文件 - 优化和更新多语言文档(README.md, README.zh-CN.md 等) - 多个 demo 文件和 references 文档细节更新 - 测试脚本和校验流程改进
v2.20.0
fix: wheel deltaX support, boundary deadlock, editable filter, deltaMode normalization, touch axis ratio; feat: CSS/animation integrity checks (1.7/1.8), REQUIRED BLOCK markers, template搬运 rule 12
v2.19.0
IR-first release: BRIEF-first workflow, late-context eval fixtures, updated design philosophy docs, and stronger regression coverage.
v2.18.1
fix: Paper & Ink style reference restored; .slide-content wrapper for centering
v2.18.0
JS engine extraction (html-template.md 557->222 lines); Style signature injection expanded to require all CSS classes from Typography/Components sections; Neon-cyber glow effects clarified; Style consistency audit tool
v2.17.0
Style reference system overhaul + Bold Signal contrast fix. Complete 14 style reference files. Add Rule 27 card text contrast check. Rebuild 12 demo files with scroll-snap architecture.
v2.16.0
- 新增多组测试与备份 demo 文件,增强样例覆盖及回归保障 - 更新现有所有风格演示 demo,细化中英文双版本覆盖 - 移除部分过时的 regenerated 测试文件,简化代码仓库 - 增加自动化生成和渲染测试脚本(如 test_generate_rendering.py) - 丰富 PLANNING.md 规划示例,提升任务起稿易用性
v2.15.0
Complete style reference system (21/21 presets), fix present mode JS, watermark only on last slide, add TestPresentMode/TestWatermark tests
v2.13.0
fix: enforce style adherence — template placeholders, Step 1.5 extraction, generation contract rule 4
v2.12.0
Expand pre-write validation to 16 checks; add component richness mandate; Blue Sky template gets content-type → component map; watermark as fixed HTML element
v2.11.0
Embed 7 hard rules in SKILL.md (content density, column balance, title wrap, forbidden titles, no 3+ same-layout, 3-concept rule, 90/8/2 color). Add heading quality rules with forbidden list and positive templates. Add Phase 3 Step 7: pre-write validation with 8 search-based checks in ALL modes (Auto, Polish, --generate).
v2.10.0
**kai-slide-creator 2.10.0 features a major documentation streamlining and simplified user experience:** - Documentation fully rewritten and condensed, now primarily in Chinese with streamlined instructions and quickstart usage. - Removed old roadmap and specification documents to reduce clutter. - Updated and merged planning depth and command routing details for better clarity. - Added mempalace.yaml; revised and translated README files. - Skill description now highlights core features, supported scenarios, and installation steps more concisely.
v2.9.0
Content Review System: 16 checkpoints with 3 rule types (hard/context-aware/advisory); Phase 3.5 Review auto-runs in Polish mode; --review command for on-demand diagnosis
v2.7.1
Added a zero-dependency doc contract checker to keep SKILL.md, README.md, and workflow docs aligned, and wired it into the regression test runner.
v2.7.0
Added enhancement-mode guardrails, clarified default-on optional editing, and bundled cloudhub/kingdee brand theme examples.
v2.6.1
**Design quality rules are now enforced during slide generation.** - Added `references/design-quality.md` with detailed design quality guidelines and self-checks. - `--generate` and interactive Phase 3 now require loading `references/design-quality.md` to improve output density, layout, and anti-slop checks. - Command routing and documentation updated to reflect the new design quality review step. - New theme ("kingdee") files added. - Documentation refreshed and clarified across major README and reference files.
元数据
Slug kai-slide-creator
版本 2.24.2
许可证 MIT-0
累计安装 2
当前安装数 1
历史版本数 24
常见问题

Slide Creator Release V2242 是什么?

生成HTML演示文稿/幻灯片 — 21 种风格模版,播放/演讲者模式。适用于路演、产品发布、技术分享、方案宣讲等场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 889 次。

如何安装 Slide Creator Release V2242?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install kai-slide-creator」即可一键安装,无需额外配置。

Slide Creator Release V2242 是免费的吗?

是的,Slide Creator Release V2242 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Slide Creator Release V2242 支持哪些平台?

Slide Creator Release V2242 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, windows)。

谁开发了 Slide Creator Release V2242?

由 Kaiser(@kaisersong)开发并维护,当前版本 v2.24.2。

💬 留言讨论