deck-hermes-cyber
Black background + CRT grid scanlines + $ CLI prompt titles + mint green display text + three-tier tags
1How It Works & Mechanism
The CRT visual effect is achieved through three absolute positioned overlay layers: scanlines (repeating-linear-gradient with 4px period + mix-blend-mode:screen), a 56px cyber grid (with radial feathered mask), and vignette (radial-gradient darkening all four corners). All are pure CSS layers requiring no external textures.
.tpl-hermes-cyber-terminal .hc-scanlines{position:absolute;inset:0;pointer-events:none;z-index:3;background:repeating-linear-gradient(180deg,transparent 0,transparent 3px,rgba(126,211,164,.025) 3px,rgba(126,211,164,.025) 4px);mix-blend-mode:screen}
The grid layer uses 56px linear-gradient lines + radial mask retained only at the center, strictly fulfilling the '56px cyber grid' specification in SKILL.md.
.tpl-hermes-cyber-terminal .hc-grid{position:absolute;inset:0;pointer-events:none;opacity:.35;background-image:linear-gradient(rgba(126,211,164,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(126,211,164,.08) 1px,transparent 1px);background-size:56px 56px;mask-image:radial-gradient(ellipse at 50% 50%,black 30%,transparent 80%)}
"Window traffic light chrome + $ prompt title" = three span dots styled via nth-child (#ff5f57 red / #febc2e yellow / mint green), with a cyan "$ " prefix generated before the title using ::before—a pure CSS simulation of a terminal window with zero icons or external SVGs.
.tpl-hermes-cyber-terminal .hc-prompt::before{content:'$ ';color:var(--hc-cyan)}
"Blinking cursor" = a 12px vertical bar + steps(2) 1s infinite animation (@keyframes hcBlink{50%{opacity:0}}), positioned immediately after the title text (HERMES AGENT / v0.9.2).
.tpl-hermes-cyber-terminal .hc-cursor{display:inline-block;width:12px;height:1em;background:var(--hc-green);vertical-align:middle;margin-left:6px;animation:hcBlink 1s steps(2) infinite}
"Stroke-only bar chart" = inline SVG: bar fills use faint 15% / 12% opacities, strokes use solid 1.5px outlines, and axes use 20% transparent lines; two color palettes (mint green / amber) differentiate evaluated targets.
<rect x="130" y="80" width="80" height="240" fill="rgba(126,211,164,.15)" stroke="#7ed3a4" stroke-width="1.5"/>
"Three-tier tags" = .hc-tag default green / .amber / .red semantic colors, used in examples as "intensity & risk" badges (rust-core, mcp-native, 72h-benchmark, honest-review), with amber applied to needs-api-key on the CTA page.
<span class="hc-tag red">honest-review</span>
The example fully executes the narrative arc of a "CLI / agent / dev tool review": Cover → Sections → Spec Cards → Code → CHART → STATS (benchmark n=48) → CTA → THANKS, enriched with real trace excerpts and strong/weak points.
<h3 class="hc-h3" style="margin-top:12px">↓ 真实 trace (节选)</h3>
Runtime execution is handled entirely by the host: the template directory contains zero executables, and the host assembles the prompt before delegating it to the local agent CLI for execution.
import { spawn, type ChildProcessWithoutNullStreams } from "node:child_process";
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| network | Google Fonts(JetBrains Mono / Inter / Noto Sans SC) |
| network | 宿主共享指令声明的 Tailwind CDN(宿主侧要求,非本模板要求) |
4Recommended Governance & Evidence
- SKILL.md: Contains only prompt instructions and formatting rules text; executes no scripts and causes no external side effects.
5Second-Pass Verification
- [ok] 「56px 赛博网格」是否兑现 — .hc-grid 的 background-size:56px 56px + radial mask,与 SKILL.md 的 56px 逐字一致。
- [ok] 「blinking 光标」是否有真动画 — hc-cursor 使用 animation:hcBlink 1s steps(2) infinite,配套 @keyframes hcBlink{50%{opacity:0}}。
- [ok] 「Stroke-only 柱状图」是否真为描边 — SVG rect 的 fill 仅 15% / 12% 透明填充、stroke 实色 1.5px 描边;坐标轴为 20% 透明线。
- [unlocatable] 示例中的测评数据是否可回源核实(n=48、trace 节选) — 示例文案把「48 个任务的 PR 列表」「完整 trace」指向 github.com/lewis/hermes-review,仓库内无对应文件,无法回源核实;这些数字只存在于预览文案中,属示例内容而非模板规范,不代表模板会产出此类数据。
- [ok] 目录内是否有脚本 / 网络调用 / 凭证读取 — 目录仅 SKILL.md + example.html;<script> 计数 0;无 fetch/XHR/env/写盘代码;无凭证读取。
- [ok] SKILL.md 是否要求运行时外链 — SKILL.md 只列色值与版式(无 URL);字体 @import 属 example.html(产物示例)。
- [ok] pin commit 与路径 — HEAD = 553ed98c283f9c0f489902d035416a972d6a9699;skill.path = next/src/lib/templates/skills/deck-hermes-cyber,含 SKILL.md。
- [ok] README 收录一致性 — README deck 表列出 deck-hermes-cyber(Hermes Cyber neon-luxe),与目录内容相符。
6Verdict & Scenarios
1065c8cc4396d02f…