replit-deck
它能做什么
这个工具使用 Replit 提供的 8 种预设视觉风格之一,以网页格式(HTML)创建演示文稿。它能把产品规划或技术报告等文档,转化为清晰的演示文稿,帮助大家做决策。
适用场景
- ✓当你需要把产品规划做成演示文稿,方便审批时。
- ✓当你要根据路线图或架构评审内容撰写决策文档时。
- ✓当你想用可视化的方式展示复盘结果时。
技能链接
https://github.com/nexu-io/open-design/blob/main/design-templates/replit-deck/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“把这份产品规划做成演示文稿,使用“helix”风格。”
每周 5 个新技能,1 分钟读完。
工作原理
你先从 8 种视觉风格(主题)中选择一种,然后复制现成的版式,为每张幻灯片填入你的内容。工具会确保整个演示文稿都使用你所选的风格。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Replit Deck Skill
Produce a single-file horizontal-swipe HTML deck in one of eight Replit-Slides themes. Every theme is a complete visual system — do not mix tokens across themes.
Resource map
replit-deck/
├── SKILL.md ← you're reading this
├── assets/
│ └── template.html ← seed: 8 themes via [data-theme=*], proven iframe-nav script (READ FIRST)
├── references/
│ ├── themes.md ← 8 themes: when-to-pick / do / don't / primary layouts
│ ├── layouts.md ← 10 paste-ready slide layouts, cross-theme
│ ├── components.md ← shared primitives (eyebrow, kpi-row, image-grid, meta-bar)
│ └── checklist.md ← P0/P1/P2 self-review + theme lock-in gate
└── examples/ ← four reference decks across the most contrasting themes
├── example-helix.html (SaaS board update · light minimal)
├── example-holm.html (legal fintech memo · cream editorial serif)
├── example-atlas.html (quarterly history chapter · black + vermilion)
└── example-bluehouse.html (real estate ROI · navy + gradient cards)
Workflow
Step 0 — Pre-flight (mandatory reads)
- Read
assets/template.htmlend-to-end. The[data-theme]blocks carry the tokens; the<script>at the bottom solves five iframe nav bugs — do not rewrite it. - Read
references/themes.md→ pick one theme that matches the user's brief. If the user already picked a theme viaod.inputs.theme, use that. - Read
references/layouts.md→ you'll copy<section>blocks from here. - Read
references/checklist.md→ P0 must pass before emit.
Step 1 — Commit to one theme
Write out loud (in the TodoWrite or plan section) which theme and why. Once picked, every slide uses that theme's tokens only. No swapping mid-deck. The <body data-theme="helix"> attribute is the single source of truth.
| Theme | Pick when |
|---|---|
helix |
SaaS board update, product metrics, neutral modern |
holm |
Legal memo, investor pre-read, serious / institutional |
vance |
Art portfolio, design catalog, photographer / sculptor |
bevel |
Fashion campaign, lookbook, Y2K / editorial attitude |
world-dark |
Policy report, finance analysis, premium dark |
world-mint |
Lighter companion of world-dark — ESG, wellness finance, sustainability |
atlas |
Long-form narrative, chapter deck, museum / archive aesthetic |
bluehouse |
Consumer product, real estate, lifestyle, colorful cards |
Step 2 — Plan slide rhythm before writing HTML
Default 6 slides. Write the rhythm BEFORE any HTML, for example (helix, 6 slides):
01 cover hero + title + subtitle
02 kpi-row-6 6 metrics with ▲/▼ deltas
03 split-insight left stat + right paragraph
04 chapter-plate section divider
05 three-up three parallel columns
06 closing one bold number or CTA
Show this to the user. Redirecting at this stage is cheap.
Step 3 — Copy seed, bind theme
- Copy
assets/template.htmlto project root asindex.html. - Set
<body data-theme="<chosen>">. - Replace
<title>. - Delete the placeholder slides in the body (the seed ships with 3 demo slides). Keep the chrome (counter / progress / hint).
Step 4 — Paste layouts, fill real copy
For each planned slide, copy the matching <section> from references/layouts.md. Replace every [REPLACE] with specific copy — never leave placeholders, never use lorem. If a slide feels empty, pick a different layout.
Tag each slide with data-screen-label="01 Cover", "02 Metrics", etc., in presentation order.
Step 5 — Self-check
Run references/checklist.md silently before emit: the P0 theme-lock gate plus the five-dimension 1–5 critique (Philosophy / Hierarchy / Execution / Specificity / Restraint). Any dimension ≤ 3 → re-do before emit.
The P0 theme-lock grep is non-negotiable:
grep -E 'data-theme|style="--' index.html | head
If any style="--accent:..." or theme override appears on individual slides, revert. One theme per deck.
Step 6 — Emit artifact
<artifact identifier="deck-<slug>" type="text/html" title="<Deck title>">
<!doctype html>
<html>...</html>
</artifact>
One sentence before the artifact. Stop after </artifact>.
Hard rules
- One theme per deck.
data-themeset on<body>— never override per-slide. - Numbers are real or absent. No invented metrics. Use
—or a grey block as an honest placeholder.
…
常见问题
同一个演示文稿可以混用多种视觉风格吗?
不可以。你需要为整个演示文稿选择一种视觉风格(主题),并从头到尾保持一致。
什么是“版式”(layouts)?
它们是为不同类型的幻灯片(标题页、数据指标页、图文页等)预先设置好格式的模板,你可以直接复制并修改。
使用时需要注意什么?
最重要的是:先阅读关于主题和版式的参考文件,选定一个主题并坚持使用,用真实信息替换所有占位内容(不要留 Lorem Ipsum 假文),并在定稿前检查风格是否统一。
详情
作者的原始描述
For product and technical management work: turn PRDs, roadmaps, RFCs, architecture reviews, and retros into decision documents. Built around the core query "pm-feature-business-case-deck", with product strategy lead judgment, buyer-ready proof, and this outcome: approve the feature, architecture, roadmap, or incident follow-up.
repo: nexu-io/open-design
热度
- GitHub 星标
- 101k
- 排名
- #954
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/15
评论
- …