html-ppt-xhs-pastel-card
它能做什么
这是一个现成的模板,用于制作采用特定视觉风格“xhs-pastel-card”的演示文稿。如果你希望演示文稿拥有明确且现代的外观,它会非常合适。
适用场景
- ✓当你需要采用“xhs-pastel-card”视觉风格的演示文稿时。
- ✓为社区或活动制作高质量的决策型故事演示稿时。
- ✓如果你已经在使用“html-ppt”系统,并希望应用这个特定模板时。
技能链接
https://github.com/nexu-io/open-design/blob/main/design-templates/html-ppt-xhs-pastel-card/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请制作一份采用 xhs-pastel-card 视觉风格的演示文稿。”
每周 5 个新技能,1 分钟读完。
工作原理
你可以直接使用一个已经完成视觉设计的预设模板。你只需要把示例内容替换成你的文字,如有需要,再调整颜色即可。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
HTML PPT · 柔和马卡龙慢生活
A focused entry point into the html-ppt master skill that lands the user directly on the xhs-pastel-card full-deck template.
When this card is picked
The Examples gallery wires "Use this prompt" to the example_prompt above. When you accept that prompt, this card is the right pick if the user wants exactly the visual identity of xhs-pastel-card (see the upstream full-decks catalog for screenshots and rationale).
How to author the deck
- Read the master skill first. All authoring rules live in
design-templates/html-ppt/SKILL.md— content/audience checklist, token rules, layout reuse, presenter mode, the keyboard runtime, and the "never put presenter-only text on the slide" rule. - Start from the matching template folder:
design-templates/html-ppt/templates/full-decks/xhs-pastel-card/— copyindex.htmlandstyle.cssinto the project, keep the.tpl-xhs-pastel-cardbody class. - Bring the shared runtime with the template. The upstream
index.htmllinks the shared CSS/JS via../../../assets/...because it sits three folders deep insidedesign-templates/html-ppt/templates/full-decks/. Once you copyindex.htmlinto the project, those parent-relative URLs no longer resolve andbase.css,animations.css, andruntime.jswill 404 — meaning the deck never activates and slide navigation is dead. Pick one of these two recipes per project:- Recipe A — copy + rewrite (preferred): copy
design-templates/html-ppt/assets/fonts.css,design-templates/html-ppt/assets/base.css,design-templates/html-ppt/assets/animations/animations.css, anddesign-templates/html-ppt/assets/runtime.jsinto a project-localassets/(withassets/animations/animations.css), then rewrite the four<link>/<script>tags inindex.htmlfrom../../../assets/...to the matching project-local paths (assets/fonts.css,assets/base.css,assets/animations/animations.css,assets/runtime.js). - Recipe B — inline: read the same four files and replace each
<link rel="stylesheet" href="../../../assets/...">with a<style>...</style>containing the file's contents, and the<script src="../../../assets/runtime.js">with a<script>...</script>containingruntime.js. Yields a single self-containedindex.html. Either way, do not ship the upstream../../../assets/...URLs verbatim into a project artifact — they only work in-tree.
- Recipe A — copy + rewrite (preferred): copy
- Pick a theme. Default tokens look fine; if the user wants a different
feel, swap in any of the 36 themes from
design-templates/html-ppt/assets/themes/*.cssvia<link id="theme-link">and letTcycle. - Replace demo content, not classes. The
.tpl-xhs-pastel-cardscoped CSS only recognises the structural classes shipped in the template — keep them. - Speaker notes go inside
<aside class="notes">or<div class="notes">— never as visible text on the slide.
Attribution
Visual system, layouts, themes and the runtime keyboard model come from
the upstream MIT-licensed lewislulu/html-ppt-skill. The
LICENSE file ships at design-templates/html-ppt/LICENSE; please keep it in place when
redistributing.
常见问题
什么是“xhs-pastel-card”?
它是一种特定的演示文稿视觉风格,设计灵感来自粉彩卡片。
使用它需要会写代码吗?
不需要。这个系统对新手很友好,你只需替换现有的文字即可。
演讲者备注应该放在哪里?
备注应放在 `<aside class="notes">` 或 `<div class="notes">` 等特定标签内,这样它们就不会显示在幻灯片上。
详情
作者的原始描述
A personal manifesto: a year of saying yes — the premise, the scenes, the turn, and the meaning that lands. Built as a decision-grade story deck for community, talk audience.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #895
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …