deck-tech-sharing
GitHub-dark + JetBrains Mono + terminal code blocks, including agenda + Q&A
1How It Works & Mechanism
This skill is a "template package" for html-anything: frontmatter provides metadata for the selector, and the body of SKILL.md (after frontmatter) is read verbatim by the loader to serve as model instructions.
const { fm, body } = parseFrontmatter(raw);
The prompt actually 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/layout numbers in the template are not 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 as text via stdout, to be persisted to disk by the frontend.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何
The sharing narrative is structured in a five-part sequence: "Cover → Agenda → Body slides → Demo → Q&A", where body slides carry code blocks + key insights.
- 正文页若干 (代码块 + 关键观点)
The visual tone is based on the GitHub-dark palette + JetBrains Mono monospace font, prioritizing code readability.
- GitHub-dark 配色 + JetBrains Mono
CLI keyword routing: tech / sharing / 技术分享 / tech talk → deck-tech-sharing.
[["tech", "sharing", "技术分享", "tech talk"], "deck-tech-sharing"],
Page containers conform to the repo-wide deck convention: all 8 sections in example.html include slide in their class, enabling host export pipeline processing.
/** Export the deck as a multi-slide PPTX. Each slide goes in as a full-bleed PNG. */
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 hits multiple fonts.googleapis.com font @import rules (including JetBrains Mono); no remote <sc
5Second-Pass Verification
- [ok] 文件清单(2 个文件,无脚本) — SKILL.md(597B) + example.html(30407B)。
- [ok] 正文零端点复核 — SKILL.md 内 http/CDN/fetch/script 零命中(JetBrains Mono 是字族名不是 URL)。
- [ok] 目录内端点自证 — example.html: 多条 fonts.googleapis.com @import(含 JetBrains Mono);无远程 script、无 fetch/XHR。
- [ok] 无凭证读取 — key/secret/token/.env 零命中。
- [ok] 无写盘指令 — SKILL.md 无 write/save 类指令;shared.ts 明令禁文件工具。
- [ok] 五段结构逐条可复核 — Cover(议题+讲者+handle) / Agenda / 正文页若干(代码块+关键观点) / Demo(terminal 截图) / Q&A 全在正文。
- [ok] official_desc 逐字命中 — 与第 6 行 description 引号内文本一致。
- [ok] CLI 路由行存在 — cli/src/skills-matcher.ts 第 74 行 tech-sharing 行逐字命中。
6Verdict & Scenarios
0f3b5b26571a3c37…