slidewright
Skill72 starsChanged 3 months agoMITView on GitHub
Build interactive presentation websites — slide decks projected to a room, controlled by one presenter. Use this skill WHENEVER the user wants to create, build, or design a presentation, slide deck, talk, or "bài thuyết trình / slide / trình chiếu", and also when they ask to add/edit slides, restyle a deck, scaffold a new presentation project, reuse their presentation setup in another repo, or export slides to PDF — even if they don't say the word "slide" but clearly need projected talk visuals (e.g. "I'm giving a talk next week and need visuals", "dựng deck cho buổi chia sẻ", "làm mấy trang chiếu cho hội thảo"). Supports two tracks: a zero-build single HTML file, or a Vite + React project. Do NOT use it for printable documents, normal web apps, or dashboards meant for individual users to interact with.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- bmad-run-inspectorSkill
- brainstorm-coachSkill
- critical-thinkingSkill
- cv-scorerSkill
- data-scientistSkill
- deep-readerSkill
- design-thinkingSkill
- diataxis-writerSkill
- fiction-studioSkill
- manual-testerSkill
- market-researcherSkill
- problem-solverSkill
- product-managerSkill
- project-managerSkill
- scrum-masterSkill
- socratic-questorSkill
- strategy-boardSkill
- system-prompt-creatorSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Always use fluid clamp() so text scales with the screen.
- Distinctive: line 38
Building an app: No input fields, no "Submit", no login, no data collection — there is no backend and nowhere for data to go.
- Distinctive: line 49
Content: If the presentation content is vague or unclear, ask questions to clarify the topic, audience, speaker (name/role), and key …
- Distinctive: line 50
Style: Ask the user for their preferred visual style and suggest these 5 modern options:
- Distinctive: line 63
If content doesn't fit at the typography floor, split into more slides — never shrink past the floor and never produce a slide that scrolls …
- Distinctive: line 74
Run the spacing audit before handoff: Check every slide at 1920×1080 and at one smaller viewport.
- Very specific: line 80
Export to PDF: if asked — see references/export-pdf.md.
- Distinctive: line 82
Put each deck in its own folder.
- Distinctive: line 112
After scaffolding, read the matching track reference for how slides are structured and how to add/reorder them, then build the content.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Interactive presentation builder
Build slide decks that run as a website and are projected to a room. The deck is the visual half of a talk; the presenter does the talking. Two ways to build, one shared design language.
First, the mental model (read before writing any code)
There is one operator (the presenter) on one machine. Slides go on a big screen; the audience only looks — they never click, type, or interact. Everything below follows from this. Three failure modes to avoid:
- Text too small. Slides are read from across a room, not on a laptop. Never use
web-reading sizes (
text-sm,16px) or fixed Tailwind text classes (text-4xl). Always use fluidclamp()so text scales with the screen. Honour the typography floor (body ≥ ~40px on a 1080p canvas). Seereferences/design-system.md. - Content hugging an edge. Padding is a two-layer contract. Slide content must stay
inside the viewport safe area, and content inside a card, panel, callout, bordered box,
or other visible container must stay inset from that container's own edge. A parent
slide's padding does not protect a nested container;
gapand child margins are not a substitute for the container's own padding. Both scaffolds provide safe-area padding and a.slide-surfaceinset helper. EvenfullBleedslides keep text content inset. - Building an app. No input fields, no "Submit", no login, no data collection — there is no backend and nowhere for data to go. Interaction is only the presenter clicking to reveal/advance content. If a component asks "where does this data go?", it's wrong.
references/design-system.md is the heart of this skill — the typography floor, two-layer
padding contract, content overflow, layout recipes, motion, and palette. Read it whenever
you design or restyle slide content.
Workflow
- Understand and clarify the talk.
- Content: If the presentation content is vague or unclear, ask questions to clarify the topic, audience, speaker (name/role), and key message before building. For Vietnamese content, the default voice is plain, honest, direct — no marketing hype.
- Style: Ask the user for their preferred visual style and suggest these 5 modern options:
- Minimalist Bauhaus: High contrast, geometric typography, generous whitespace.
- Dark Mode Cinematic: Deep slate/black backgrounds, dramatic contrast, glowing accents.
- Editorial / Magazine: Sophisticated font pairings (serif + sans), structured grid layouts.
- Glassmorphism: Soft background gradients with blurred, translucent content panels.
- Neo-Brutalism: Bold typography, raw borders, hard shadows, high energy.
- Pick a track (below). If unsure, ask once; otherwise default to plain HTML for small/quick decks and React for substantial, maintained talks.
- Scaffold with the matching script — don't hand-assemble the boilerplate.
- Build slides following
references/design-system.md: one idea per slide, few words, real visuals, projection-legible type, presenter-only interaction, and the two-layer padding contract for both viewport and content containers. Respect the density limits — never exceed 5 bullets, ~60 words, or 5×4 table cells per slide. If content doesn't fit at the typography floor, split into more slides — never shrink past the floor and never produce a slide that scrolls vertically. - Keep the required chrome: a visible bottom navigation slider (dot strip) and slide number. Both scaffolds include it — don't remove it.
- Write speaker notes in the
<deck-name>-notes.mdfile the scaffold creates (never on the slides themselves). - Run the verify script to catch text-too-small and content-too-dense violations:
Fix every reported issue before proceeding.bash /mnt/skills/user/slidewright/scripts/verify-slides.sh <path-to-deck> - Run the spacing audit before handoff. Check every slide at 1920×1080 and at one
smaller viewport. No text or primary content may cross the viewport safe area. For
every element that draws a visible boundary (
background,border,outline,shadow, rounded surface, or text-overlay panel), verify that its content has padding on all four sides. Media and purely decorative edge-to-edge layers are the only exceptions; text over them belongs in a nested padded surface. - Export to PDF if asked — see
references/export-pdf.md.
Put each deck in its own folder. Keep any live-demo app as a separate project, not inside the deck.
Choosing a track
| Pick | When | Reference |
| Plain HTML | Zero setup wanted; runs by opening a file; quick deck; shareable anywhere; no toolchain. Gets unwieldy past ~15–20 rich slides. | references/html-track.md |
| Vite + React | Many slides, reusable components, state-driven interactions, TypeScript, Framer Motion, maintained/re-run talks. | references/react-track.md |
Both produce the same projected experience and obey the same design system; they differ only in implementation.
Scaffolding
Plain HTML — single self-contained index.html, Tailwind via CDN, no build:
bash scripts/new-html-deck.sh <deck-name> [target-dir] [--title "Deck title"]Vite + React — scaffolds with the official Vite tool and installs the latest
React, Tailwind, Framer Motion, and Lucide (versions are intentionally not pinned, so
each deck starts on current tooling), then layers the App → Deck → Slide architecture:
bash scripts/new-react-deck.sh <deck-name> [target-dir] [--no-install]
cd <deck-name> && npm run devAfter scaffolding, read the matching track reference for how slides are structured and how to add/reorder them, then build the content.
Files in this skill
references/design-system.md— projection rules, typography floor, layout recipes, motion, palette. The core; consult for any content/design work.references/html-track.md— plain-HTML deck structure, template internals, adding slides.references/react-track.md— Vite+React architecture, slide ordering, Tailwind wiring.references/export-pdf.md— PDF export options and speaker-notes convention.scripts/new-html-deck.sh— scaffold a plain-HTML deck.scripts/new-react-deck.sh— scaffold a Vite + React deck.scripts/export-deck-pdf.py— export a deck to a content-complete PDF (waits for render and reveals hidden content; image-based).scripts/verify-slides.sh— static analysis of deck files: flags text below the typography floor, fixed-px font sizes, excessive bullet counts, and high word density per slide. Run after building slides and before handoff.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

