Simple Deck Skill
SkillMediaSimple-deck is a skill that guides an AI agent to build a multi-slide business presentation as a single swipeable HTML file. It is aimed at decision-grade decks such as an operating review covering growth, burn, and the path to sustainability, and it can serve as a board-pre-read-deck for a leadership team. The agent copies a provided template, plans slides, and fills ready-made layouts with real content.
Available today. Use it from your connected AI after setup.
No other account needed.
Have the skill files available, including assets/template.html, references/layouts.md, and references/checklist.md.
Then ask your AI: use the Simple Deck Skill skill
What your AI can do with it
- Produces a single-file horizontal-swipe HTML deck saved as index.html
- Copies a seed template with tokens, slide primitives, and a proven nav script
- Plans slide count and alternates light and dark themes for rhythm
- Fills eight paste-ready slide layouts from references/layouts.md
- Runs a P0/P1/P2 self-review checklist covering theme rhythm and labeling
- Maps an active DESIGN.md to the six :root variables in the seed
Getting started
- Have the skill files available, including assets/template.html, references/layouts.md, and references/checklist.md.
- Have the agent read assets/template.html end-to-end, including the style and script blocks, without rewriting the script.
- Have the agent read references/layouts.md, paying attention to the theme-rhythm rules.
- Provide a DESIGN.md so its tokens can be mapped to the six :root variables in the seed.
- Ask for the deck; the agent copies the seed to index.html, fills layouts with content, runs the checklist, and saves the finished file.
What this skill tells your AI
The instructions your AI receives, as published by nexu-io/open-design in design-templates/simple-deck/SKILL.md and read by ahel’s review.
Produce a single-file horizontal-swipe HTML deck using the seed and layout library.
Resource map
simple-deck/
├── SKILL.md ← you're reading this
├── assets/
│ └── template.html ← seed: tokens + slide primitives + proven nav script (READ FIRST)
└── references/
├── layouts.md ← 8 paste-ready slide layouts + theme-rhythm rules
└── checklist.md ← P0/P1/P2 self-review (rhythm spot-check at bottom)
Workflow
Step 0 — Pre-flight
- Read
assets/template.htmlend-to-end through the<style>block AND the<script>block. The script solves five iframe-specific bugs (real scroller detection, dual capture-phase listeners, auto-focus, noscrollIntoView, position persistence) — do not rewrite it. - Read
references/layouts.mdso you know the 8 layouts. Pay special attention to the "Theme rhythm" section — it's the rule that prevents the deck from feeling sleepy. - Read the active DESIGN.md — map its tokens to the six
:rootvariables in the seed.
Step 1 — Copy the seed
Copy assets/template.html to the project root as index.html. Replace the six :root variables with the active design system's tokens. Replace the page <title>.
Step 2 — Decide slide count + theme rhythm BEFORE writing any slide
Default: 6 slides unless the brief says otherwise.
| Audience / format | Slides |
|---|---|
| Product overview / lightning talk (5–10 min) | 6 |
| Pitch deck (15 min) | 8–10 |
| Investor update / longer talk (20–30 min) | 12–18 |
Then write out the rhythm before any HTML — for example, 8 slides:
01 hero light center Cover
02 light Problem
03 hero dark center Big stat
04 light Three points
05 dark Pipeline
06 hero light center Quote
07 light Before / after
08 hero dark center Ask
A healthy sequence has:
- No 3+ same theme in a row
- ≥ 1
hero darkAND ≥ 1hero light(for 8+ slides) - Alternating breath every 3–4 slides
Show this rhythm sketch to the user before writing slide HTML — they can redirect cheaply.
Step 3 — Paste and fill
For each planned slide, copy the matching <section> from layouts.md into the body. Replace bracketed text with real, specific copy. No filler / no lorem. If a slide feels empty, the layout is wrong — pick a different one.
Tag each slide with data-screen-label="01 Cover", "02 Problem", etc., in the order you wrote them. (The seed's first three slides already do this — extend the pattern.)
Step 4 — Self-check
Run through references/checklist.md. The "Theme rhythm spot-check" at the end is non-negotiable:
grep 'class="slide' index.html
Read the resulting class list. If you see light × 4 in a row, swap one to dark. If no hero dark exists in an 8+ slide deck, promote one big-stat or closing slide.
Step 5 — Write the project file
Write the completed deck HTML to index.html.
Then send one short ordinary assistant summary naming index.html and describing the deck. Do not output the full HTML source in chat and do not emit a source-code <artifact> block.
Hard rules
- Theme class on every slide (
light|dark|hero light|hero dark). Bareclass="slide"= regression. - No 3+ same theme in a row.
- Display = serif via
var(--font-display)..h-hero/.h-xl/.h-mdalready enforce. - One accent per slide, used at most twice.
- Don't rewrite the nav script. It's proven.
- No
scrollIntoView(). Breaks iframe. data-screen-labelon every slide.
Signals
- GitHub stars
- 98k
- Forks
- 11k
- Last commit
- Sep 2026
Others that do the same job
Questions
- What does the finished deck look like?
- A single-file HTML slide deck saved as index.html, with horizontal swipe navigation and slides that alternate between light and dark themes.
- What is the deck built for?
- Decision-grade corporate strategy presentations, such as an operating review covering growth, burn, and the path to sustainability, prepared for a leadership team.
Advanced
- Item type
- skill
- Key
simple-deck-nexu-io- Source
- github.com/nexu-io/open-design