deck-swiss-international
16-column grid + single saturated accent + 22 locked layouts (Klein Blue / Lemon / Mint / Safety Orange)
1How It Works & Mechanism
This skill serves as a "template pack" for html-anything: frontmatter provides metadata for selectors, while the main body of SKILL.md (after frontmatter) is read verbatim by loader and passed as model instructions.
const { fm, body } = parseFrontmatter(raw);
The prompt actually sent to the model consists of 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 caps.
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 and saved to disk by the frontend.
- **禁止使用 Write / Edit / MultiEdit / Bash / Create / 任何文件系统工具**。不要把 HTML 写到任何
Style is locked via "select one of 4 themes": Klein Blue (IKB) / Lemon Yellow / Lemon Green / Safety Orange, each providing accent+paper+ink tri-colors, with mixing or modifying hex strictly forbidden.
- 🔵 **Klein Blue (IKB)** — accent `#002FA7`, paper `#fafaf8`, ink `#0a0a0a`. 商业 / AI / 设计场景。
22 locked layouts (S01 Cover … S22 Image Hero) form a reusable layout pool: full-screen accent covers, KPI Tower tall pillars, Duo Compare before/after comparisons, etc.
- **S06 KPI Tower** — 4 列变高蓝色柱状; 柱顶 icon; 柱底大数字 + 标签。
The ironclad rules section turns style into verifiable rules: sharp right angles only (border-radius: 0), 1px hairlines, 16-column grid, extreme font size contrast, and no fabricating numbers.
- **只用直角**: 全程 `border-radius: 0`。圆角 = 立刻违反。
Sourced from a third-party port with attribution preserved: frontmatter records example_source_url = op7418/guizang-ppt-skill, and the README third-party sources table synchronously records "Original LICENSE + authorship preserved".
example_source_url: "https://github.com/op7418/guizang-ppt-skill"
2Core Capabilities
3External Dependencies
| Kind | Dependency / Endpoint |
|---|---|
| cli | 宿主本机 agent CLI(应用侧 spawn;非本 skill 指令) |
| network | Tailwind CDN(产物示例引用,非 skill 正文要求) |
| network | Google Fonts(产物示例引用) |
| network | 出处置标(frontmatter 元数据,非调用) |
4Recommended Governance & Evidence
- 网络端点: Declared external network access: example.html contains <script src="https://cdn.tailwindcss.com"> and a Google Fonts link
5Second-Pass Verification
- [ok] 文件清单(4 项,无脚本) — SKILL.md(4865B) / example.md(331B) / example.html(6131B) / docs/screenshots/skills/deck-swiss-international.png;无 .sh/.py/.js/.ts。
- [ok] 正文端点复核 — SKILL.md 内无 http URL;字体只写 Inter Tight / Inter / Noto Sans SC / JetBrains Mono 等字族名。
- [ok] 目录内端点自证 — example.html: cdn.tailwindcss.com(远程 script)+ fonts.googleapis.com(@import);SKILL.md: frontmatter 的 github.com/op7418/guizang-ppt-skill 出处置标。
- [ok] 无凭证读取 — key/secret/token/.env 零命中。
- [ok] 无写盘指令 — SKILL.md 无 write/save 类指令;shared.ts 明令禁文件工具。
- [ok] 22 个版面清单完整 — S01 Cover → S22 Image Hero 逐条在正文;抽查 S06 KPI Tower、S08 Duo Compare、S18 Why Now 均逐字存在。
- [ok] 4 套主题 hex 逐字可复核 — #002FA7 / #FFD500 / #C5E803 / #FF6B35 与各自 paper/ink 均在正文。
- [ok] 6 条铁律逐字可复核 — 直角 border-radius:0 / 1px hairline / 16 列网格 / 字体族 / 字号反差 / 不许编造,全部命中。
6Verdict & Scenarios
6d2dc3f18adde621…