frontend-slides

Generate zero-dependency HTML presentations from scratch or by converting PowerPoint files.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/Femad-6/my-skills --skill frontend-slides-femad-6
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-slides
Source: https://github.com/Femad-6/my-skills/tree/main/.github/skills/frontend-slides
Command: npx skills add https://github.com/Femad-6/my-skills --skill frontend-slides-femad-6

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-pptx, and includes references (resource) components.

What problem does it solve? Building visually distinctive slide decks usually requires design expertise or heavyweight tools, and converting PowerPoint files to web-friendly formats is tedious. This Skill produces self-contained, animation-rich HTML presentations that run entirely in the browser with no dependencies. ## Core Features & Use Cases - HTML Presentation Generation: Creates single-file decks with keyboard, touch, and wheel navigation, reveal animations, and reduced-motion support. - PPT/PPTX Conversion: Extracts text, images, and speaker notes from PowerPoint files using python-pptx, then rebuilds them as styled HTML slides. - Style Preset System: Offers 12 curated visual presets (e.g., Bold Signal, Neon Cyber, Swiss Modern) with mood-based mapping and single-slide previews for users unsure of their aesthetic. - Viewport Fit Enforcement: Guarantees every slide fits one viewport using a mandatory clamp()-based CSS base and density limits. - Use Case: A developer needs a conference talk deck from rough notes. The Skill generates three style previews, the user picks one, and it outputs a validated presentation.html tested at multiple screen sizes. ## Quick Start Ask the assistant to create an HTML presentation from your topic or notes, or to convert an attached PPTX file into a web-based slide deck.

Frequently Asked Questions about frontend-slides

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a PowerPoint file to an HTML presentation?

Use python-pptx with Python 3 to extract text, images, and speaker notes from the .ppt or .pptx file, preserving slide order. Then apply the same style-selection workflow as a new presentation to rebuild it as a self-contained HTML deck.

How do I create HTML slides without any JavaScript libraries?

Generate a single HTML file with inline CSS and JavaScript using a presentation controller class for keyboard, wheel, and touch navigation. Use Intersection Observer for reveal animations and CSS scroll-snap for slide transitions, requiring no external dependencies.

How do I make slides fit the screen without scrolling?

Set every slide to height: 100vh and 100dvh with overflow: hidden, and scale all typography and spacing with clamp(). When content overflows, split it into multiple slides rather than shrinking text below readable sizes.

Does HTML presentation navigation work on mobile and touch devices?

Yes, the presentation controller supports touch and swipe navigation alongside keyboard and mouse wheel input. Decks are validated at mobile sizes like 375x667 and landscape 667x375, with responsive breakpoints for short-height screens.

Why is my CSS negative clamp() value not working?

Browsers silently ignore negated CSS functions like -clamp() or -min(). Wrap them in calc() instead, for example calc(-1 * clamp(28px, 3.5vw, 44px)), to apply negative values correctly.

What are the content limits for readable presentation slides?

Content slides should hold one heading plus 4-6 bullets or two short paragraphs, feature grids up to 6 cards, and code slides 8-10 lines maximum. Exceeding these limits means splitting content into additional slides.