first-commit
ci / Validate workspace (push) Has been cancelled
landing-page-ci / Validate landing page (push) Has been cancelled
landing-page-deploy / Deploy landing page (push) Has been cancelled
github-metrics / Generate repository metrics SVG (push) Has been cancelled
refresh-contributors-wall / Refresh contributors wall cache bust (push) Waiting to run
ci / Validate workspace (push) Has been cancelled
landing-page-ci / Validate landing page (push) Has been cancelled
landing-page-deploy / Deploy landing page (push) Has been cancelled
github-metrics / Generate repository metrics SVG (push) Has been cancelled
refresh-contributors-wall / Refresh contributors wall cache bust (push) Waiting to run
This commit is contained in:
@@ -0,0 +1,78 @@
|
||||
---
|
||||
name: html-ppt-dir-key-nav-minimal
|
||||
description: 8 页极简方向键 keynote — 每页一个独立单色背景(靛 / 奶 / 绛 / 翠 / 灰 / 紫 / 白 / 炭),各自配色,160px display 标题 + 4px 短粗 accent 线分隔、箭头 → 前缀的 Mono 列表、左下 ← → kbd 提示 + 右下页码、巨大呼吸留白。适合"有话要说但没什么可看"的 keynote、launch、公开演讲。
|
||||
triggers:
|
||||
- "minimal keynote"
|
||||
- "极简"
|
||||
- "mono color"
|
||||
- "one idea per slide"
|
||||
- "public talk"
|
||||
- "launch keynote"
|
||||
od:
|
||||
mode: deck
|
||||
scenario: personal
|
||||
featured: 34
|
||||
upstream: "https://github.com/lewislulu/html-ppt-skill"
|
||||
preview:
|
||||
type: html
|
||||
entry: index.html
|
||||
design_system:
|
||||
requires: false
|
||||
speaker_notes: true
|
||||
animations: true
|
||||
example_prompt: "用 html-ppt-dir-key-nav-minimal 模板做一份 8 页极简 keynote。每页一个单色背景 + 一句 160px 大标题 + 几条箭头列表。先告诉我演讲主题,然后帮我把 8 个核心观点拍成 8 页(每页一个 idea)。"
|
||||
---
|
||||
# HTML PPT · 8 色极简方向键
|
||||
|
||||
A focused entry point into the [`html-ppt`](../html-ppt/SKILL.md) master skill that lands the user directly on the **`dir-key-nav-minimal`** 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 `dir-key-nav-minimal` (see the upstream [full-decks catalog](../html-ppt/references/full-decks.md) for screenshots and rationale).
|
||||
|
||||
## How to author the deck
|
||||
|
||||
1. **Read the master skill first.** All authoring rules live in
|
||||
[`skills/html-ppt/SKILL.md`](../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.
|
||||
2. **Start from the matching template folder:**
|
||||
`skills/html-ppt/templates/full-decks/dir-key-nav-minimal/` — copy `index.html` and
|
||||
`style.css` into the project, keep the `.tpl-dir-key-nav-minimal` body class.
|
||||
3. **Bring the shared runtime with the template.** The upstream
|
||||
`index.html` links the shared CSS/JS via `../../../assets/...` because it
|
||||
sits three folders deep inside `skills/html-ppt/templates/full-decks/`.
|
||||
Once you copy `index.html` into the project, those parent-relative URLs
|
||||
no longer resolve and `base.css`, `animations.css`, and `runtime.js`
|
||||
will 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
|
||||
`skills/html-ppt/assets/fonts.css`, `skills/html-ppt/assets/base.css`,
|
||||
`skills/html-ppt/assets/animations/animations.css`, and
|
||||
`skills/html-ppt/assets/runtime.js` into a project-local
|
||||
`assets/` (with `assets/animations/animations.css`), then rewrite the
|
||||
four `<link>`/`<script>` tags in `index.html` from
|
||||
`../../../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>` containing `runtime.js`. Yields a single
|
||||
self-contained `index.html`.
|
||||
Either way, do not ship the upstream `../../../assets/...` URLs
|
||||
verbatim into a project artifact — they only work in-tree.
|
||||
4. **Pick a theme.** Default tokens look fine; if the user wants a different
|
||||
feel, swap in any of the 36 themes from `skills/html-ppt/assets/themes/*.css`
|
||||
via `<link id="theme-link">` and let `T` cycle.
|
||||
5. **Replace demo content, not classes.** The `.tpl-dir-key-nav-minimal` scoped CSS only
|
||||
recognises the structural classes shipped in the template — keep them.
|
||||
6. **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`](https://github.com/lewislulu/html-ppt-skill). The
|
||||
LICENSE file ships at `skills/html-ppt/LICENSE`; please keep it in place when
|
||||
redistributing.
|
||||
Reference in New Issue
Block a user