hps-y2k-chrome
它能做什么
这个插件可以用特定的“Y2K Chrome”设计风格制作演示文稿。它能帮你展示关键的业务数据,比如哪些做法效果不错,以及接下来应该重点改进哪个指标。
适用场景
- ✓为管理层制作业务报告时。
- ✓展示客户激活和留存指标时。
- ✓判断哪个绩效指标最需要改进时。
技能链接
https://github.com/nexu-io/open-design/blob/main/plugins/_official/examples/hps-y2k-chrome/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“做一份关于客户激活和留存关键驱动因素的演示文稿,重点说明目前有效的做法,以及下一步应该优化的指标。”
每周 5 个新技能,1 分钟读完。
工作原理
你提供数据和主要内容,插件会套用预设的设计模板,并自动加入渐变、磨砂玻璃和镀铬效果的文字等视觉元素,完成排版。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Y2K Chrome (hps-y2k-chrome)
Single-theme deck plugin locked to the y2k-chrome theme from the upstream
MIT-licensed lewislulu/html-ppt-skill
(36 themes × 31 layouts × 27 animations — this plugin ships exactly one of
those skins, fully baked into one self-contained seed: example.html).
Start from example.html. Replace content only. Never rewrite the design
system or the runtime script. No colors or fonts outside this spec.
Locked token sheet (:root — do not add, remove, or recolor)
:root{
--bg:#dfe4ec; --bg-soft:#eef1f6;
--surface:rgba(255,255,255,.72); --surface-2:rgba(255,255,255,.5);
--border:rgba(120,135,170,.32); --border-strong:rgba(80,100,140,.55);
--text-1:#1a1f2e; --text-2:#4a536a; --text-3:#8590a6;
--accent:#8a5cff; --accent-2:#3ccfd8; --accent-3:#ff84c4;
--good:#1fb98c; --warn:#e8a13d; --bad:#e0445a;
--grad:linear-gradient(135deg,#b8c4d8 0%,#f5f7fb 30%,#8a9ab8 55%,#e8ecf4 80%,#6b7a95 100%);
--grad-soft:linear-gradient(135deg,#c9e4ff,#f5d6ff 50%,#d6fffa);
--chrome-text:linear-gradient(180deg,#f8faff 0%,#9aa8c4 50%,#4a5670 100%);
--radius:26px; --radius-sm:16px; --radius-lg:36px;
--shadow:0 12px 30px rgba(70,90,130,.22),inset 0 1px 0 rgba(255,255,255,.9),inset 0 -1px 0 rgba(80,100,140,.2);
--shadow-lg:0 24px 60px rgba(70,90,130,.35),inset 0 2px 0 rgba(255,255,255,.95);
--font-sans:'Space Grotesk','Inter','Noto Sans SC',sans-serif;
--font-display:'Space Grotesk','Inter',sans-serif;
--font-mono:'JetBrains Mono',SFMono-Regular,Menlo,monospace;
--letter-tight:-.03em; --letter-normal:-.01em;
--ease:cubic-bezier(.4,0,.2,1);
}
Fonts: Space Grotesk is both display and body type ('Noto Sans SC'
fallback for CJK), JetBrains Mono for code/labels. Loaded via Google Fonts
@import only — the sole permitted external resource.
Signature devices (use these, nothing else)
- Silver-metal canvas —
bodycarries the full-bleed 5-stop gradientlinear-gradient(135deg,#c4cfe0 0%,#f0f3f8 25%,#aab8d0 50%,#f5f7fb 75%,#b8c4d8 100%). Every slide is transparent over it. Never paint an opaque slide background. - Chrome-clipped type —
.h1,.chrome-text,.stat-bigclip--chrome-text(white→steel→gunmetal) viabackground-clip:text, plusfilter:drop-shadow(0 2px 3px rgba(40,55,85,.38))so the white top stop keeps letter definition over the light canvas. Display numerals and hero words are always chrome, never flat color. - Frosted-glass cards —
.card=--surface(72% white) +backdrop-filter:blur(16px) saturate(140%)+--shadow. Theinset 0 1px 0 rgba(255,255,255,.9)top highlight is the signature — never drop it. Mega radius--radius:26px(lg surfaces 36px). - Candy accents — purple
--accentleads (kickers, progress bar, checks), aqua--accent-2and pink--accent-3support (orbs, chart bars, eyebrow tints). Accents are for small surfaces only; large fills use--grad/--grad-soft. - Glossy orbs —
.orbradial-gradient candy spheres with a white specular highlight, absolutely positioned,z-index:0, decor only. - Chrome sparkles — inline 4-point star SVGs (
.sparkle) filled with the chrome gradient or candy accents. - Chrome capsule pills —
.pill=linear-gradient(180deg,#fff,#d4dcec)with--borderstroke;.pill-accenttints with--accent.
Forbidden: dark mode, neon-on-black, hard offset shadows, flat untextured H1 color, any hex value or font family not listed above.
Page structure & runtime (keep verbatim from the seed)
- One self-contained HTML file: inline
<style>+ inline<script>, zero build, zero external JS. Charts are pure CSS / inline SVG — never Chart.js or mermaid. Icons are inline SVG. No external images. - Every page is
<section class="slide" data-title="…">inside<div class="deck" id="deck">— a horizontal scroll-snap strip, one100vw × 100vhscreen per slide, padding72px 96px, no internal scrolling. - Fixed chrome:
.deck-header(deck name +y2k-chrometheme chip),.deck-footer(attribution +N / totalcounter),.progress-bar(accent fill). - Keyboard runtime:
←→SpacePageUpPageDownHomeEndnavigate;#/N(1-based) hash deep-links withhistory.replaceStatein try/catch (srcdoc-safe). The script dedupes the dual window/document
…
常见问题
“Y2K Chrome”是什么意思?
这是演示文稿的视觉风格名称,灵感来自 2000 年前后的审美,又加入了现代的“镀铬”质感。
我可以修改颜色和字体吗?
不可以。为了保持视觉统一,设计是固定的,你只能修改已定义元素中的内容。
内容应该怎么填入?
编辑提供的 HTML 文件,把示例文字和数据替换成你自己的内容,同时保留原有的类名和结构。
详情
作者的原始描述
OpenDesign's KPI decision brief: activation and retention drivers, what's working, and the one metric to move next. Built as a decision-grade data & finance deck for CRO, RevOps, leadership.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #1020
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …