sanqiufong/slides-from-anything/simple-deck
Claude Code and agent skill by sanqiufong/slides-from-anything
- community
Checking that the SKILL.md file is still in the repository.
Single-file horizontal-swipe HTML deck. Built by copying the seed `assets/template.html` (which carries the proven 5-rule iframe nav script) and pasting slide layouts from `references/layouts.md`. Pitch decks, product overviews, study material — when you don't need the magazine aesthetic of `magazine-web-ppt`.
Install
npx vskill@latest install sanqiufong/slides-from-anything/simple-deckSKILL.md
The same SKILL.md was published earlier as sanqiufong/slides-from-anything/simple-deck.
Simple Deck Skill
Produce a single-file horizontal-swipe HTML deck using the seed and layout library.
Resource map
Workflow
Step 0 — Pre-flight
- Read `assets/template.html` end-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.md` so 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:
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:
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 — Emit the artifact
One sentence before the artifact. Stop after </artifact>.
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-label` on every slide.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/simple-deck/SKILL.md
Popularity
- Repository stars
- 120
- Repository forks
- 11
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sanqiufong/slides-from-anything/simple-deck)