deck-product-launch
Dark hero + light content, warm orange to peach accent, feature cards + pricing tiers + CTA
1How It Works & Mechanism
This skill serves as a "template pack" for html-anything: frontmatter provides metadata for the selector, and the SKILL.md body (content following the frontmatter) is read verbatim by the loader to serve as model instructions.
const { fm, body } = parseFrontmatter(raw);
The prompt sent to the model consists of: shared design instructions + this template's body + [input format] + [user content]; the shared instructions also include an override rule stating that the page/layout numbers in the template are not hard caps.
return `${SHARED_DESIGN_DIRECTIVES} ${opts.body.trim()}
Output discipline is strictly enforced by shared instructions: the agent is prohibited from using any filesystem tools; HTML must be streamed as plain text via stdout and persisted to disk by the frontend.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何
Employs "chapter contrast" to establish launch event pacing: dark background with large text on the cover versus light background for body content creates a theatrical stage presence.
- Cover (暗背景 + 大字主题)
The commercial conversion section is anchored by "feature cards + tiered pricing": 3–6 cards for the feature page, tiered listings on the pricing page, and a closing CTA.
- Feature cards (3-6 个)
Color palette is provided only as a stylistic direction (warm orange to peach gradient) without locking down hex codes, serving as a directional constraint rather than an enumerative one.
- accent: 暖橙→桃 渐变
CLI keyword routing: product / launch / 产品发布 / 上线 → deck-product-launch.
[["product", "launch", "产品发布", "product launch", "上线"], "deck-product-launch"],
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | 宿主本机 agent CLI(应用侧 spawn;非本 skill 指令) |
| network | Google Fonts(产物示例引用,非 skill 正文要求) |
4Recommended Governance & Evidence
- 网络端点: Declared external network access: example.html matches multiple fonts.googleapis.com font @import rules (fetched by the browser during artifact rendering); no remote <script> tags present.
5Second-Pass Verification
- [ok] 文件清单(2 个文件,无脚本) — SKILL.md(623B) + example.html(27910B)。
- [ok] 正文零端点复核 — SKILL.md 内 http/CDN/fetch/script 零命中。
- [ok] 目录内端点自证 — example.html: 多条 fonts.googleapis.com @import;无远程 script、无 fetch/XHR。
- [ok] 无凭证读取 — key/secret/token/.env 零命中。
- [ok] 无写盘指令 — SKILL.md 无 write/save 类指令;shared.ts 明令禁文件工具。
- [ok] 6 段叙事骨架逐条可复核 — Cover / Why we built this / Introducing / Feature cards / Pricing tiers / CTA 全在正文。
- [ok] official_desc 逐字命中 — 与第 6 行 description 引号内文本一致。
- [ok] CLI 路由行存在 — cli/src/skills-matcher.ts 第 61 行 product-launch 行逐字命中。
6Verdict & Scenarios
4e266e7cb8b67546…