# /frontend-slides: Build distinctive HTML slide decks by picking from previews

Source: https://trendhub.net/skills/zarazhangrui-frontend-slides/frontend-slides
Skill folder: https://github.com/zarazhangrui/frontend-slides/tree/main
Pack: Frontend Slides (https://trendhub.net/skills/zarazhangrui-frontend-slides)
Works with: Claude Code (plugin marketplace), Claude Code (manual copy), Claude Code (git clone)

Frontend Slides takes the agent through a fixed set of phases: gather purpose, length, content and density in one round, render three preview slides from a safe preset, a bold template and a wildcard, then build the chosen style into a single HTML file on a 1920x1080 stage. It can also convert PowerPoint files, improve existing HTML decks, and export to PDF or a live URL.

## When to use it

- You need a pitch deck or talk slides and have no designer
- You want an existing .pptx turned into a web presentation
- You need a reading deck to share as a PDF or link

## How it works

1. **Ask everything at once**: The agent asks about purpose, slide count, how ready your content is and whether the deck is speaker-led or reading-first, then reviews any images you supply to shape the outline.
2. **Show three styles**: It writes three animated title-slide previews, mixing one safe preset, at least one bold template and a wildcard, and opens them for you to compare.
3. **Generate the deck**: It builds one self-contained HTML file with the mandatory fixed-stage CSS, distinctive web fonts, commented sections and text density matched to your choice.
4. **Convert or enhance**: For PowerPoint it runs the extraction script and confirms the content first; for existing decks it splits slides rather than letting content overflow.
5. **Deliver and share**: It removes the preview files, opens the deck, explains navigation and editing, and offers a Vercel deploy or PDF export.

## What it steers the agent away from

- Generic AI styling such as Inter or Roboto and purple gradients on white
- Responsive reflow that rearranges slides on small screens
- Template names, file paths or workflow notes appearing on the slides

## What it can touch

Writes preview and deck HTML files, opens them in the browser, and may run the bundled Python pptx extractor, a Vercel deploy script and a Playwright-based PDF export.

## Questions

### How big will a PDF export be?

Each slide is captured at 1920x1080, so large decks can reach tens of megabytes; above 10MB the agent offers a compact 1280x720 export.

### Will my images survive deployment?

Images referenced with src are bundled automatically, but the skill recommends deploying a folder when a deck has many assets or uses CSS background images.
