frontend-slides
What it does
This tool creates beautiful, animated presentations using only HTML, CSS, and JavaScript. It can build a presentation from scratch or turn your PowerPoint files into a web format.
When to use it
- ✓When you need to create a presentation for a talk or meeting.
- ✓When you want to convert a PowerPoint file (.ppt or .pptx) into a web format.
- ✓When you want to explore different visual styles for your presentation without being a designer.
Skill link
https://github.com/affaan-m/ECC/blob/main/skills/frontend-slides/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to create a presentation about the benefits of solar energy, around 10 slides, with a modern and inspiring style.”
5 new skills a week. 1 minute to read.
frontend-slides: full guide
Most slide tools give you a template and leave the design to you. If you are not a designer, you either pick the default look or spend an hour on fonts and colors. This skill takes a different route. You describe the topic and the feeling you want, and the agent shows you three small style previews to react to. You choose by looking, not by answering questions about design.
The final result is one HTML file that opens in any browser, with animations and keyboard, swipe and wheel navigation. Each slide is built to fit the screen without scrolling. It suits people giving a talk, pitching an idea, running a workshop, or moving an old PowerPoint file to the web. It also works if you only have rough notes.
Use cases
A conference talk from rough notes
You have a page of bullet points for a 20-minute talk and no design skills. You paste the notes, pick one of three previews, and get a deck where long lists are split across several slides instead of crammed into one.
Moving an old PowerPoint to the web
You have a quarterly review saved as a .pptx with speaker notes. The agent extracts text, images and notes with Python, keeps the slide order, then lets you choose a new look before building the HTML version.
A one-page overview
Your manager wants a single slide that explains the system architecture. You ask for one slide. The agent confirms the size in one line, then builds a single dense but readable page scaled to the viewport.
Step by step
- 1Install the skill in ~/.claude/skills/frontend-slides/ (or your project's .claude/skills/) and start a new session so the agent can find it.
- 2Tell the agent your topic, purpose and length: short (5-10), medium (10-20), long (20+), or a single slide. Paste your notes or draft if you have them.
- 3Say what feeling the deck should give: impressed, energized, focused or inspired. The agent saves three preview slides in .ecc-design/slide-previews/.
- 4Open the previews in your browser and tell the agent which one to keep, or which parts to mix.
- 5Open the finished HTML file, press the arrow keys to move through it, and ask for changes. The agent explains where to edit colors and fonts.
Example
What to ask
“Convert quarterly-review.pptx into a web presentation. Keep my speaker notes. I want it to feel focused and calm, not flashy.”
What you get
The agent reads the file with python-pptx and confirms 14 slides. It makes three previews, you pick one, and it builds quarterly-review.html. It reports the file path, the style used, the slide count, and the theme values you can change.
Tips
- ✓Paste your real content before choosing a style. The agent splits slides that hold too much text, so finished copy gives better results than a vague topic.
- ✓Dense slides are split, not shrunk. A content slide holds about 4-6 bullets and code is limited to 8-10 lines. If you want denser slides, say so.
- ✓Conversion needs the python-pptx library. If it is missing, the agent asks whether to install it or use another method, so answer that question rather than skipping it.
Alternatives
- frontend-design
Pick this if you are building a website or app screen with a distinct look, not a slide deck with navigation.
- design-html
Pick this when you already have an approved design and want clean HTML and CSS that works across screen sizes.
- auteur
Pick this for a cinematic web page or multi-screen product, rather than a presentation to give in front of people.
Questions and answers
Can I edit the colors and fonts afterwards?
Yes. The deck uses CSS custom properties for theme values, and the agent explains these customization points when it hands over the file. You can also ask the agent to change them for you.
How do I move between slides?
The deck supports keyboard keys, mouse wheel and touch or swipe. It also shows a progress indicator or slide index, so you can see where you are during a talk.
Does it work on a deck I already made in HTML?
Yes. One of its modes is enhancement: you give it existing HTML slides and ask for better layout, motion or typography. It applies the same rules, including fitting every slide to the screen.
How it works
The AI first asks about the topic and desired style. Then, it generates visual examples for you to choose from. Finally, it builds the presentation into a single HTML file that works in your browser.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Frontend Slides
Create zero-dependency, animation-rich HTML presentations that run entirely in the browser.
Inspired by the visual exploration approach showcased in work by zarazhangrui (credit: @zarazhangrui).
When to Activate
- Creating a talk deck, pitch deck, workshop deck, or internal presentation
- Converting
.pptor.pptxslides into an HTML presentation - Improving an existing HTML presentation's layout, motion, or typography
- Exploring presentation styles with a user who does not know their design preference yet
Non-Negotiables
- Zero dependencies: default to one self-contained HTML file with inline CSS and JS.
- Viewport fit is mandatory: every slide must fit inside one viewport with no internal scrolling.
- Show, don't tell: use visual previews instead of abstract style questionnaires.
- Distinctive design: avoid generic purple-gradient, Inter-on-white, template-looking decks.
- Production quality: keep code commented, accessible, responsive, and performant.
Before generating, read STYLE_PRESETS.md for the viewport-safe CSS base, density limits, preset catalog, and CSS gotchas.
Workflow
1. Detect Mode
Choose one path:
- New presentation: user has a topic, notes, or full draft
- PPT conversion: user has
.pptor.pptx - Enhancement: user already has HTML slides and wants improvements
2. Discover Content
Ask only the minimum needed:
- purpose: pitch, teaching, conference talk, internal update
- length: short (5-10), medium (10-20), long (20+)
- content state: finished copy, rough notes, topic only
If the user has content, ask them to paste it before styling.
3. Discover Style
Default to visual exploration.
If the user already knows the desired preset, skip previews and use it directly.
Otherwise:
- Ask what feeling the deck should create: impressed, energized, focused, inspired.
- Generate 3 single-slide preview files in
.ecc-design/slide-previews/. - Each preview must be self-contained, show typography/color/motion clearly, and stay under roughly 100 lines of slide content.
- Ask the user which preview to keep or what elements to mix.
Use the preset guide in STYLE_PRESETS.md when mapping mood to style.
4. Build the Presentation
Output either:
presentation.html[presentation-name].html
Use an assets/ folder only when the deck contains extracted or user-supplied images.
Required structure:
- semantic slide sections
- a viewport-safe CSS base from
STYLE_PRESETS.md - CSS custom properties for theme values
- a presentation controller class for keyboard, wheel, and touch navigation
- Intersection Observer for reveal animations
- reduced-motion support
5. Enforce Viewport Fit
Treat this as a hard gate.
Rules:
- every
.slidemust useheight: 100vh; height: 100dvh; overflow: hidden; - all type and spacing must scale with
clamp() - when content does not fit, split into multiple slides
- never solve overflow by shrinking text below readable sizes
- never allow scrollbars inside a slide
Use the density limits and mandatory CSS block in STYLE_PRESETS.md.
6. Validate
Check the finished deck at these sizes:
- 1920x1080
- 1280x720
- 768x1024
- 375x667
- 667x375
If browser automation is available, use it to verify no slide overflows and that keyboard navigation works.
7. Deliver
At handoff:
- delete temporary preview files unless the user wants to keep them
- open the deck with the platform-appropriate opener when useful
- summarize file path, preset used, slide count, and easy theme customization points
Use the correct opener for the current OS:
- macOS:
open file.html - Linux:
xdg-open file.html - Windows:
start "" file.html
PPT / PPTX Conversion
For PowerPoint conversion:
- Prefer
python3withpython-pptxto extract text, images, and notes. - If
python-pptxis unavailable, ask whether to install it or fall back to a manual/export-based workflow. - Preserve slide order, speaker notes, and extracted assets.
- After extraction, run the same style-selection workflow as a new presentation.
Keep conversion cross-platform. Do not rely on macOS-only tools when Python can do the job.
Implementation Requirements
HTML / CSS
- Use inline CSS and JS unless the user explicitly wants a multi-file project.
- Fonts may come from Google Fonts or Fontshare.
- Prefer atmospheric backgrounds, strong type hierarchy, and a clear visual direction.
…
FAQ
Does the presentation need internet to work?
No, the presentations created are HTML files that work entirely in the browser, without needing an internet connection.
Can I use my own images?
Yes, you can include your own images in the presentation.
Does the presentation work on mobile phones?
Yes, the presentations are designed to fit different screen sizes, including mobile phones.
Details
Original description by the author
Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.
repo: affaan-m/ECC
Popularity
- GitHub stars
- 280k
- Ranking position
- #318
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
accessibility
280kHelps your agent create interfaces that everyone can use. Ensures websites and apps work well for people with disabilities, like those who are blind or have reduced mobility.
agent-architecture-audit
280kMakes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
agent-eval
280kHelps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
agent-harness-construction
280kMakes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.