html-ppt-dir-key-nav-minimal
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHTML PPT · 8 色极简方向键
HTML PPT · 8色极简方向键
A focused entry point into the master skill that lands the user directly on the full-deck template.
html-pptdir-key-nav-minimal这是主技能的一个聚焦入口,可直接将用户引导至****完整演示文稿模板。
html-pptdir-key-nav-minimalWhen 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 (see the upstream full-decks catalog for screenshots and rationale).
dir-key-nav-minimal示例画廊将“使用此提示”关联至上方的示例提示。当用户接受该提示后,若其明确需要的视觉风格(可查看上游完整演示文稿目录获取截图和设计说明),则此卡片为正确选择。
dir-key-nav-minimalHow to author the deck
如何制作演示文稿
- Read the master skill first. All authoring rules live in
— content/audience checklist, token rules, layout reuse, presenter mode, the keyboard runtime, and the "never put presenter-only text on the slide" rule.
skills/html-ppt/SKILL.md - Start from the matching template folder:
— copy
skills/html-ppt/templates/full-decks/dir-key-nav-minimal/andindex.htmlinto the project, keep thestyle.cssbody class..tpl-dir-key-nav-minimal - Bring the shared runtime with the template. The upstream
links the shared CSS/JS via
index.htmlbecause it sits three folders deep inside../../../assets/.... Once you copyskills/html-ppt/templates/full-decks/into the project, those parent-relative URLs no longer resolve andindex.html,base.css, andanimations.csswill 404 — meaning the deck never activates and slide navigation is dead. Pick one of these two recipes per project:runtime.js- Recipe A — copy + rewrite (preferred): copy
,
skills/html-ppt/assets/fonts.css,skills/html-ppt/assets/base.css, andskills/html-ppt/assets/animations/animations.cssinto a project-localskills/html-ppt/assets/runtime.js(withassets/), then rewrite the fourassets/animations/animations.css/<link>tags in<script>fromindex.htmlto the matching project-local paths (../../../assets/...,assets/fonts.css,assets/base.css,assets/animations/animations.css).assets/runtime.js - Recipe B — inline: read the same four files and replace each
with a
<link rel="stylesheet" href="../../../assets/...">containing the file's contents, and the<style>...</style>with a<script src="../../../assets/runtime.js">containing<script>...</script>. Yields a single self-containedruntime.js. Either way, do not ship the upstreamindex.htmlURLs verbatim into a project artifact — they only work in-tree.../../../assets/...
- 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 via
skills/html-ppt/assets/themes/*.cssand let<link id="theme-link">cycle.T - Replace demo content, not classes. The scoped CSS only recognises the structural classes shipped in the template — keep them.
.tpl-dir-key-nav-minimal - Speaker notes go inside or
<aside class="notes">— never as visible text on the slide.<div class="notes">
- 先阅读主技能文档:所有制作规则均位于中——包括内容/受众检查清单、标记规则、布局复用、演示者模式、键盘运行机制,以及“切勿将仅演示者可见的文本放在幻灯片上”的规则。
skills/html-ppt/SKILL.md - 从匹配的模板文件夹开始:——将
skills/html-ppt/templates/full-decks/dir-key-nav-minimal/和index.html复制到项目中,保留style.css的body类。.tpl-dir-key-nav-minimal - 随模板引入共享运行时文件:上游通过
index.html链接共享的CSS/JS文件,因为它位于../../../assets/...下三级目录。将skills/html-ppt/templates/full-decks/复制到项目后,这些相对父级的URL将无法解析,index.html、base.css和animations.css会出现404错误——导致演示文稿无法激活,幻灯片导航失效。可根据项目情况选择以下两种方案之一:runtime.js- 方案A——复制并重写(推荐):将、
skills/html-ppt/assets/fonts.css、skills/html-ppt/assets/base.css和skills/html-ppt/assets/animations/animations.css复制到项目本地的skills/html-ppt/assets/runtime.js目录(需包含assets/),然后将assets/animations/animations.css中的四个index.html/<link>标签路径从<script>修改为项目本地路径(../../../assets/...、assets/fonts.css、assets/base.css、assets/animations/animations.css)。assets/runtime.js - 方案B——内联代码:读取上述四个文件的内容,将每个替换为包含文件内容的
<link rel="stylesheet" href="../../../assets/...">,将<style>...</style>替换为包含<script src="../../../assets/runtime.js">内容的runtime.js。最终生成单个独立的<script>...</script>文件。 无论选择哪种方案,都不要将上游的index.htmlURL直接用于项目产物——它们仅在技能目录内有效。../../../assets/...
- 方案A——复制并重写(推荐):将
- 选择主题:默认标记样式已足够美观;若用户想要不同风格,可通过引入
<link id="theme-link">中的任意36个主题,按skills/html-ppt/assets/themes/*.css键可切换主题。T - 替换演示内容,保留结构类:作用域下的CSS仅识别模板中自带的结构类——请保留这些类。
.tpl-dir-key-nav-minimal - 演讲者备注放在或
<aside class="notes">内——切勿作为可见文本放在幻灯片上。<div class="notes">
Attribution
版权说明
Visual system, layouts, themes and the runtime keyboard model come from
the upstream MIT-licensed . The
LICENSE file ships at ; please keep it in place when
redistributing.
lewislulu/html-ppt-skillskills/html-ppt/LICENSE视觉系统、布局、主题和键盘运行机制均来自MIT许可的上游项目。许可文件位于;重新分发时请保留该文件。
lewislulu/html-ppt-skillskills/html-ppt/LICENSE