deck-pitch
10-page pitch deck, white background + blue-violet gradient hero, traction bar charts, $X.XM ask
1How It Works & Mechanism
This skill acts as a "template pack" for html-anything: frontmatter supplies metadata to the selector, while the SKILL.md body (after frontmatter) is loaded verbatim by the loader as model instructions.
const { fm, body } = parseFrontmatter(raw);
The prompt sent to the model = shared design instructions + this template body + [Input Format] + [User Content]; the shared instructions also include an override rule stating that the page count/layout numbers in the template are not hard upper limits.
return `${SHARED_DESIGN_DIRECTIVES} ${opts.body.trim()}
Output discipline is strictly enforced by shared instructions: the agent is prohibited from using any file system tools, and HTML must be streamed via stdout text output to be persisted by the frontend.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何
The page structure delivers an investor pitch narrative through a "fixed narrative framework": Cover → Problem · Solution · Why Now → Product → Market → Traction → Business model → GTM → Team → Ask → Thanks.
- Ask: $4.5M-style page
The frontmatter directly encodes "10 pages" and the color palette direction, allowing the site details page and preview to display them without extra explanation.
description: "10 页融资 deck, 白底 + 蓝紫渐变 hero, traction 柱状, $X.XM ask"
CLI keyword routing maps Chinese roadshow terms to this template: hits on 融资 / 路演 / 投资人 / BP immediately select deck-pitch.
[["pitch", "融资", "pitch deck", "路演", "投资人", "BP"], "deck-pitch"],
The page container adheres to the repo-wide deck convention: all 10 <section> elements in example.html contain slide classes, enabling slide-by-slide parsing by deck.ts on the application side.
const SLIDE_RE =
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | 宿主本机 agent CLI(由 html-anything 侧 spawn,非本 skill 指令) |
| network | Google Fonts(产物示例引用,非 skill 正文要求) |
4Recommended Governance & Evidence
- 网络端点: External network access declared: 8 Google Fonts @import rules (fonts.googleapis.com) at the top of example.html, loaded within the preview iframe
5Second-Pass Verification
- [ok] 文件清单(2 个文件,无脚本) — SKILL.md(650B) + example.html(28988B);无 .sh/.py/.js/.ts。
- [ok] 正文零端点复核 — SKILL.md 内 http/CDN/fetch/script/API 零命中;仅含页面清单与意图句。
- [ok] 目录内端点自证 — example.html 命中 8 条 fonts.googleapis.com 字体 @import;无远程 script、无 fetch/XHR。
- [ok] 无凭证读取 — key/secret/token/.env 零命中。
- [ok] 无写盘指令(且共享指令禁止文件工具) — SKILL.md 无 write/save 类词;shared.ts 明令禁止 Write/Edit/Bash。
- [ok] 10 页骨架逐条可复核 — Cover / Problem · Solution · Why Now / Product / Market size / Traction / Business model / Go-to-market / Team / Ask / Thanks 全在正文。
- [ok] official_desc 逐字命中 — 与 SKILL.md 第 6 行 description 引号内文本逐字一致。
- [ok] CLI 路由行真实存在 — cli/src/skills-matcher.ts 第 60 行 deck-pitch 行逐字命中。
6Verdict & Scenarios
1572cd859b9a8468…