frontend-slides
Skill424 starsChanged 2 months agoMITView on GitHub
Browser-based HTML presentation generation.
- Deletes or force-pushes
- Installs packages
52 other projects use a version of this.
Adopted by
Most recently taken up by
- thensls/nsls-builder-toolkittheir own version, first seen Sep 21, 2026
- drinkspiller/skillstheir own version, first seen Sep 16, 2026
- guiloureiromkt/ultra-skillstheir own version, first seen Sep 16, 2026
- Shri-Phnx/claude-skillstheir own version, first seen Sep 3, 2026
- felvieira/claude-skills-fvtheir own version, first seen Sep 2, 2026
- yangwhale/CloseCrabtheir own version, first seen Aug 18, 2026
Used with
Projects with it also use investor-materials, swift-protocol-di-testing and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
InfopibeSkillinvestor-materials
Create and update pitch decks, one-pagers, investor memos, accelerator applications, financial models, and fundraising materials. Use when the user needs investor-facing documents, projections, use-of-funds tables, milestone plans, or materials that must stay internally consistent across multiple fundraising assets.
Also in 6 projects that use this
InfopibeSkillswift-protocol-di-testing
Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.
Also in 4 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 4 projects that use this
WorldFlowAISkillclickhouse-io
ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.
Also in 5 projects that use this
OpenAISkillswiftui-patterns
Build macOS SwiftUI scenes and components with desktop patterns. Use when shaping windows, commands, toolbars, settings, split views, or inspectors.
Also in 4 projects that use this
- +7 more from Infopibe
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 52
- zarazhangrui/frontend-slides★ 30ksame name
- xu-xiang/everything-claude-code-zh★ 2ksame name
- loulanyue/awesome-claude-notes★ 272same name
- hamzafarooq/claude-code-starter★ 145same name
- tpavanipradeep/everything-claude-code★ 134same name
- cohen-liel/hivemind★ 110same name
- Jamkris/everything-gemini-code★ 87same name
- JasonxzWen/harness-hub★ 71same name
- alexdcd/Mafia-Claude-Skills★ 55same name
- SZcalligrapher/slash-skills-subscription★ 32same name
42 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository62 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- assessmentSkill
- dataSkill
- business-opsSkill
- code-qualitySkill
- comment-qualitySkill
- condenseSkill
- joy-checkSkill
- content-engineSkill
- contentSkill
- headlinesSkill
- image-genSkill
- image-to-videoSkill
- series-plannerSkill
- topic-brainstormerSkill
- video-editingSkill
- writingSkill
- domainSkill
- cli-designSkill
- frontendSkill
- jev-designSkill
- webgl-card-effectsSkill
- game-asset-generatorSkill
- game-devSkill
- motion-pipelineSkill
- browser-jev-automationSkill
- cve-source-checkSkill
- deploySkill
- endpoint-validatorSkill
- headless-cron-creatorSkill
- kubernetesSkill
- githubSkill
- accountsSkill
- auto-dreamSkill
- building-with-jevSkill
- codexSkill
- docs-sync-checkerSkill
- doSkill
- dSkill
- grill-jevSkill
- toolkitSkill
- workflow-helpSkill
- debuggingSkill
- plant-seedSkill
- processSkill
- pr-workflowSkill
- quickSkill
- testingSkill
- with-anti-rationalizationSkill
- workflowSkill
- worktree-agentSkill
- programmingSkill
- architecture-deepeningSkill
- codebase-analyzerSkill
- markdown-converterSkill
- news-collectionSkill
- researchSkill
- roastSkill
- video-transcriptSkill
- integration-checkerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 50 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 92
GATE 1: Do not proceed without identifying the path.
- Distinctive: line 98
Ask exactly three questions -- no more:
- Distinctive: line 112
Use the Style Presets table (above) to map mood to preset names.
- Very specific: line 134
Responsive sizing: All body text must use clamp() for font sizing.
- Very specific: line 136
CSS negation rule: Never write -clamp(...) -- browsers silently compute it to 0, causing text to disappear.
- Very specific: line 147
Font loading: Use @font-face with font-display: swap and a system font stack fallback.
- Distinctive: line 162
Run the deterministic validation script:
- Very specific: line 192
Delete .design/slide-previews/ unless the user explicitly asked to keep them:
“Common” is measured: kept by at least 6 in 10 of the 50 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Frontend Slides Skill
Generate browser-based HTML presentations as a single self-contained .html file. Three entry paths: new build from topic/notes, PPTX-to-HTML conversion, or enhancement of an existing HTML deck.
Routing disambiguation: When the user says only "slides" or "deck" without specifying format, ask exactly one question before proceeding: "Should this be an HTML file (opens in browser) or a PowerPoint file (.pptx)?" This skill only produces HTML — it converts an existing PPTX to HTML but cannot generate a new .pptx file.
Style Presets
Assemble CSS: python3 skills/frontend/frontend-slides/scripts/assemble-styles.py --preset <name>. Use --list for all 12, --mood <word> to match.
Templates: templates/base.css (mandatory base), templates/presets/*.css (preset :root variables).
| Preset | Mood | Use Case |
| obsidian-gold | impressed | executive briefings, boards |
| arctic-minimal | focused | engineering, dev conferences |
| carbon-ember | energized | product launches, pitches |
| sage-paper | inspired | thought leadership, narrative |
| void-neon | futuristic | dev tools, AI, hackathons |
| slate-coral | contemporary | SaaS demos, sales |
| chalk-board | educational | workshops, training |
| glacier-blue | trusted | financial, legal, healthcare |
| rose-noir | artistic | fashion, design portfolios |
| solar-sand | warm | non-profit, community |
| steel-wire | industrial | data science, DevOps |
| lavender-mist | calm | wellness, meditation |
Slide Layouts
Assemble layout CSS: python3 skills/frontend/frontend-slides/scripts/assemble-layouts.py --layouts title,content,code. --all for everything, --include-html for HTML templates.
Each layout in templates/layouts/ has paired .html + .css: title, content, grid, code, quote, image, section-break.
Controller Diagnostics
Assemble controller: python3 skills/frontend/frontend-slides/scripts/assemble-controllers.py --core. Add --features speaker-notes,countdown-timer.
| Symptom | Check | Fix |
| Skips slides on keypress | grep -c 'navigating' | Add navigating guard to go() |
| Trackpad jumps to end | rg 'clearTimeout' | 150ms debounce on wheel |
| Animations never fire | grep 'display.*none' | Use opacity:0 not display:none |
| Swipe fires on scroll | grep 'screenY' | abs(dy) > abs(dx) guard |
| Space scrolls page | grep -A1 'Space' | e.preventDefault() before next() |
Instructions
Phase 1: DETECT
Identify which of the three paths applies:
| Path | Signal | Action |
| New build | User provides topic, outline, or notes -- no existing file | Proceed to Phase 2 to gather content |
| PPTX conversion | User provides a .pptx file path | Extract with python-pptx; collect slides, notes, and asset order; then proceed to Phase 3 |
| HTML enhancement | User provides an existing .html deck | Read the file; identify what needs improving; skip to Phase 4 |
GATE 1: Do not proceed without identifying the path. If the input is ambiguous (e.g., "make me a deck" with no file and no topic), ask one question to resolve it.
Phase 2: DISCOVER CONTENT
Ask exactly three questions -- no more:
- What is the purpose of this presentation? (e.g., pitch, tutorial, conference talk, internal review)
- How many slides? (approximate is fine)
- What is the content state? (bullet points, full prose, raw notes, nothing yet)
Collect or generate the content before touching any style decisions.
GATE 2: Content exists (or the user has confirmed topic-only intent with an explicit "I'll provide content as we go") before Phase 3 begins. Do not start style work with no content direction.
Phase 3: DISCOVER STYLE
Use the Style Presets table (above) to map mood to preset names.
Two sub-paths:
Sub-path A -- User names a preset directly: Skip previews. Confirm the preset name exists in the Style Presets table. Proceed to Phase 4.
Sub-path B -- User does not know the preset: Ask for mood using exactly these four options: impressed / energized / focused / inspired. Map the mood to candidate presets using the Style Presets table -- translate the user's mood description to a preset name rather than asking them to choose from a list. Generate 3 single-slide HTML preview files in .design/slide-previews/ -- one per candidate preset -- using real slide content (not placeholder lorem ipsum). Present the previews and ask the user to pick.
GATE 3: User has either named a preset from the Style Presets table or selected one of the three previews. A vague direction like "make it look professional" is not sufficient -- a named preset must be confirmed before Phase 4. If no selection is made, regenerate previews with different presets. Never fall back to a generic purple gradient; presets exist to avoid exactly that.
Phase 4: BUILD
Build the presentation as a single .html file with all CSS and JS inline (no external CDN dependencies). Follow these rules:
- CSS base block verbatim: Copy the mandatory CSS base block from
templates/base.cssexactly as written -- do not paraphrase or rewrite it. Apply the chosen preset's theme variables on top. The base block must be present character-for-character because the validation script checks for it. - Viewport fit on every slide: Every
.slideelement must haveheight: 100vh; height: 100dvh; overflow: hidden. When content overflows, split the slide into multiple slides -- never shrink text, add scrollbars, or setmin-heightthat could allow growth past 100dvh. A slide with scrollable content is a web page, not a slide. - Density limits: One idea per slide, one headline that wins. Maximum 6 bullets per content slide and about 12 words per bullet. If content needs a 7th bullet, split into two slides -- dense text is unreadable in presentation context.
- Responsive sizing: All body text must use
clamp()for font sizing. No fixed-height content boxes (height: 300pxon inner elements). For images or code blocks that need height constraints, usemax-height: min(Xvh, Ypx)withoverflow: hidden. - CSS negation rule: Never write
-clamp(...)-- browsers silently compute it to0, causing text to disappear. Always writecalc(-1 * clamp(...))when a negative value is needed. - JS controller class: Implement
SlideControllerwith all of the following (not optional):- Keyboard:
ArrowRight/ArrowLeft/Spaceforward;ArrowLeft/Backspacebackward;Home/Endfor first/last - Touch/swipe:
touchstart/touchendwith 50px threshold - Wheel: debounced
wheelevent (150ms) -- without debounce, wheel events cause multi-slide jumps. Add anavigatingflag that blocks re-entry during transition. - Slide index indicator:
currentSlide / totalSlidesvisible in corner - Intersection Observer: add
.visibleclass when slide enters viewport for reveal animations. Useopacity: 0+transform: translateY(20px)to hide slides before reveal -- neverdisplay: none, which prevents Intersection Observer callbacks.
- Keyboard:
- Reduced-motion: Include a
@media (prefers-reduced-motion: reduce)block that suppresses all transitions and animations. - Font loading: Use
@font-facewithfont-display: swapand a system font stack fallback. Never reference external CDN fonts without a local fallback. Missingfont-display: swapcauses invisible text during load (FOIT). - PPTX path: If converting from PPTX, use
python-pptxto extract text, notes, and asset paths. Preserve slide notes and maintain asset order. Ifpython-pptxis unavailable, print a clear error and ask the user to install it (pip install python-pptx) or provide content manually -- do not silently skip content.
Optional features (off by default, add only when user requests):
- Speaker notes panel toggled by
nkey @media printCSS for PDF-via-browser export- Configurable countdown timer overlay
GATE 4: The output HTML file exists on disk and contains the verbatim mandatory CSS base block from templates/base.css. Verify with a string search before proceeding -- a file that "looks right" is not sufficient.
Phase 5: VALIDATE
Run the deterministic validation script:
python3 skills/frontend/frontend-slides/scripts/validate-slides.py path/to/output.htmlExit codes:
0-- All slides pass at all 9 breakpoints. Proceed to Phase 6.1-- Overflow detected. The script prints which slides overflow at which breakpoints. Fix by splitting the overflowing slides. Re-run validation. Do not proceed until exit code is 0. Content that fits at 1920x1080 but overflows at 375x667 still fails --clamp()sizing solves most cases; if not, split the slide.2-- Playwright unavailable. Fall back to the manual checklist gate below. Tell the user validation is running in manual mode and is less reliable.
Manual checklist gate (fallback, only when exit code is 2):
For every slide, verify all of the following. If any item fails, fix it before proceeding.
height: 100vhandheight: 100dvhpresent on.slideoverflow: hiddenpresent on.slide- All body text uses
clamp()for font sizing - No fixed-height content boxes (no
height: 300pxon inner elements) - No
min-heighton.slidethat could allow growth past 100dvh - No
-clamp(...)patterns anywhere in CSS
Look, then fix (final check): Run the core doc's section 10 loop on the title slide, the densest content slide, and one code or chart slide, at 1280x720 and 375x667. Each slide should pass the squint and grayscale tests with one clear headline. Fix, re-render, and stop after about three rounds.
GATE 5: Exit code 0 from the validation script, or -- only if Playwright is unavailable (exit code 2) -- explicit user confirmation that the manual checklist passed for every slide. User confirmation must enumerate the slide count checked. The look-then-fix loop has run, or the user has the checklist when no renderer exists.
Phase 6: DELIVER
- Delete
.design/slide-previews/unless the user explicitly asked to keep them:rm -rf .design/slide-previews/ - Open the file with the OS-appropriate command:
- macOS:
open path/to/output.html - Linux:
xdg-open path/to/output.html - Windows:
start path/to/output.html
- macOS:
- Print a delivery summary:
File: path/to/output.html Preset: [preset-name] Slides: [N] Theme: [3 CSS custom properties easiest to change for re-theming]
GATE 6: Delivery summary printed. File exists at the stated path. Previews deleted (or user confirmed to keep). Task is complete only when all three conditions are met.
Error Handling
| Error | Cause | Resolution |
-clamp(...) in CSS | CSS negation of clamp() is silently ignored by browsers -- it computes to 0 | Replace every instance with calc(-1 * clamp(...)). Run a grep search for -clamp before delivery. |
| Font load failure / FOUT | External font CDN unreachable, or @font-face src missing format() hint | Use font-display: swap on every @font-face. Include a system font stack fallback. Test offline. |
| PPTX extraction error | python-pptx unavailable, or PPTX uses embedded OLE objects | Print a clear error message naming the missing dependency. Ask the user to pip install python-pptx or provide content manually. Do not silently skip slides. |
| Playwright unavailable (exit 2) | playwright not installed or Chromium browser not available | Fall back to the manual checklist gate in Phase 5. Explicitly tell the user validation is running in manual mode and is less reliable. |
| Overflow at one breakpoint only | Content fits at 1920x1080 but overflows at 375x667 | clamp() sizing solves most cases. If not, split the slide. Never set a smaller viewport as "not important." |
| Reveal animations not triggering | Intersection Observer threshold too high, or slides hidden with display:none | Use display: flex with opacity: 0 + transform for hidden slides. Never use display: none on slides that need IO callbacks. |
| JS controller not advancing | wheel event not debounced, causing multi-slide jumps | Enforce 150ms debounce on wheel. Add a navigating flag that blocks re-entry during transition. |
Deep References
| Signal | Reference |
| Phase 3 onward: any style, layout, or visual choice (load first) | skills/shared-patterns/ui-design-judgment.md, then ui-design-recipes.md and ui-design-examples.md in the same folder |
| Phase 4 BUILD: JS controller implementation | references/slide-controller.md |
| Phase 1 DETECT: PPTX extraction and conversion | references/pptx-conversion.md |
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.

