deck-replit
Eight Replit Slides themes (helix/holm/vance/bevel/world/atlas/bluehouse)
1How It Works & Mechanism
This skill is a "template pack" for html-anything: frontmatter supplies metadata for the selector, and the SKILL.md body (content following the frontmatter) is read verbatim by the loader as model instructions.
const { fm, body } = parseFrontmatter(raw);
The actual prompt sent to the model = shared design instructions + this template body + [Input Format] + [User Content]; the shared instructions also include an override rule declaring that slide/layout counts in the template are not upper limits.
return `${SHARED_DESIGN_DIRECTIVES} ${opts.body.trim()}
Output discipline is strictly enforced by shared instructions: agents are forbidden from using any file system tools, and HTML must be streamed as text via stdout and persisted by the frontend.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何
The theme mechanism follows an "exclusive 1-of-8" pattern: helix / holm / vance / bevel / world-dark / world-mint / atlas / bluehouse, each carrying a complete palette + typography + accent.
- Pick one theme: helix / holm / vance / bevel / world-dark / world-mint / atlas / bluehouse
Slide counts explicitly depend on content length: cover + agenda + N content slides + closing, starting from 6-10 for short content and more for longer content.
- Cover + agenda + N 个 content + 收尾 (N 由【用户内容】长度决定, 完整覆盖每个要点; 短内容 6-10 起步, 长内容应更多)
The accompanying example.md serves as an "input sample" rather than a draft template: providing a theme (world-mint), deck title, and 5 agenda items to demonstrate the short input → dual-page preview workflow.
## Agenda
Provenance is fully credited: frontmatter records example_source_url = replit.com/slides, along with six other fields including example_id/example_name/example_format.
example_source_url: "https://replit.com/slides"
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | 宿主本机 agent CLI(应用侧 spawn;非本 skill 指令) |
| network | Tailwind CDN(产物示例引用,非 skill 正文要求) |
| network | Google Fonts(产物示例引用) |
| network | 出处置标(frontmatter 元数据,非调用) |
4Recommended Governance & Evidence
- 网络端点: External network access declared: example.html contains <script src="https://cdn.tailwindcss.com"> and a Google Fonts reference
5Second-Pass Verification
- [ok] 文件清单(3 个文件,无脚本) — SKILL.md(1074B) + example.md(380B) + example.html(5051B)。
- [ok] 正文端点复核(仅元数据 URL) — SKILL.md 第 13 行 example_source_url = https://replit.com/slides(出处置标);正文无 CDN/接口要求。
- [ok] 目录内端点自证 — example.html: cdn.tailwindcss.com(远程 script)+ fonts.googleapis.com(@import)。
- [ok] 无凭证读取 — key/secret/token/.env 零命中。
- [ok] 无写盘指令 — SKILL.md 无 write/save 类指令;shared.ts 明令禁文件工具。
- [ok] 8 套主题清单逐字可复核 — helix / holm / vance / bevel / world-dark / world-mint / atlas / bluehouse 全在正文与 example.md。
- [ok] 页数自决规则逐字可复核 — 「短内容 6-10 起步, 长内容应更多」原句存在。
- [ok] official_desc 逐字命中 — 与第 6 行 description 引号内文本一致。
6Verdict & Scenarios
7370702e0d48661d…