Tooluck logoTooluck
SKILL.md

deck-open-slide-canvas

Agent skill fromnexu-io/html-anything

锁死 1920×1080 画布, React 组件级自由组合, 不绑模板

How to install deck-open-slide-canvas

install deck-open-slide-canvas
# install the html-anything pack with the skills CLI
npx skills add nexu-io/html-anything

# or add only this skill to Claude Code: copy the folder

next/src/lib/templates/skills/deck-open-slide-canvas/

# into

~/.claude/skills/deck-open-slide-canvas/ (all projects)

.claude/skills/deck-open-slide-canvas/ (one project)

next/src/lib/templates/skills/deck-open-slide-canvas/SKILL.md

Apache-2.0Full file
1【模板: 1920 画布自由 Deck】
2【意图】不想被模板束缚的场景 (个人作品集、奇特演讲、艺术 / 设计课 deck)。给一个固定 1920×1080 画布 + 极强的类型 / 调色约束, 让 agent 像写 React 组件一样按内容自由排布每一页。Inspired by 1weiho/open-slide。
3
4【硬性技术规格】
5- 画布: 每页严格 `width: 1920px; height: 1080px;` 用 `transform: scale(...)` 适配视窗 (默认 `scale(0.7)` 居中)。
6- **绝对禁止 overflow**: 每页内容必须 fit in 1920×1080, 不许滚动条出现。
7- 字号 type scale (px): `2xs:18 · xs:22 · sm:28 · md:36 · lg:48 · xl:64 · 2xl:88 · 3xl:120 · 4xl:160 · 5xl:220`。
8- 边距 padding: 96 / 128 / 160 三档之一。
9- 每页有 `<section class="slide" data-slide-id="<n>">`。
10
11【调色板 — 每个 deck 选 1 套, 全程不改】
12- 🌫 **Ash & Lime** — bg `#f1efea`, ink `#161616`, accent `#c5e803`。
13- 🌌 **Sea Indigo** — bg `#0a0e1a`, ink `#f5f5f7`, accent `#5ac8fa`。
14- 🧉 **Mate Mocha** — bg `#1a1411`, ink `#f5e9d6`, accent `#d97757`。
15- 🌸 **Pearl Rose** — bg `#fdf6f3`, ink `#1a1015`, accent `#ff5d8f`。
16
17【布局自由度 — 这是核心】
18- 不强制模板, 每页根据**内容性质**自选布局: cover / question / quote / image-text / 三列 / 五列 / 列表 / 数据卡 / 满版图。
19- 但每页**必须遵守一条规则**: 视觉重心 (visual hierarchy) 只有 1 个 — 一句金句、一个数字、一张图, 不要"什么都强调"。
20- 不许塞两段平等的文字; 真要并列就上 3 列等权重网格。
21
22【字体】
23- 西文: `Inter Tight` (display) + `Inter` (body); 或 `Source Serif Pro` (editorial 风时)。
24- 中文: `Noto Sans SC` (sans 风) 或 `Noto Serif SC` (editorial 风); 不混 sans + serif。
25- mono: `JetBrains Mono` 给数据 / 时间戳。
26
27【设计细节】
28- 严禁 emoji 装饰 (内容里的允许); 严禁多色彩虹; accent 只用一个色。
29- 严禁 SVG icon 套用 lucide / feather 等通用库 (自己写 inline SVG)。
30- 加键盘 ← / → 切换 + hash 同步; 角标固定: 右下 `№N/M`, 左下 deck title。
31- 必须用用户的真实内容; 严禁 lorem ipsum。
32- 单文件 HTML; Tailwind CDN; 不要外链图片。

Excerpt shown under the repository's Apache-2.0 license.

More skills in html-anything

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates