zara-frontend-slides: Animated HTML slides from scratch or from PPT with Agents

Preface

Technical sharings, roadshows, and internal reports ultimately need to result in slides that are “projectable and shareable.” The common path is PowerPoint or Keynote, followed by exporting to PDF; if you want full-screen presentation in a browser with transition animations, you have to write HTML/CSS yourself, which has a high cost for non-frontend developers. Letting an Agent generate pages directly often leads to cliché color schemes and fonts, and making changes is also laborious.

Here we introduce the community skill zara-frontend-slides on SkillHub (coordinates @user_f613bbf3/zara-frontend-slides). It integrates “content organization, style exploration, single-file HTML output, and PPT conversion” into a set of SKILL.md workflows, suitable for completing presentation drafts via conversation in environments supporting Skills, such as Cursor and Claude Code.

What is this

zara-frontend-slides is a community skill under the SkillHub category office-efficiency (Source: community). The current version is 1.0.0, published by user_f613bbf3, with the tag requires_api_key=false, requiring no additional API key.

The official description matches the package’s SKILL.md: Create from scratch or convert PowerPoint into animated, zero external build dependency HTML presentations; use when the user needs to make presentation/roadshow slides, or wants to convert PPT/PPTX to a web page. The design philosophy is “See before choosing”—by generating visual style previews, rather than asking users to describe aesthetics with abstract adjectives.

SkillHub Page: https://www.skillhub.cn/skills/user_f613bbf3/zara-frontend-slides
Skill API Address: https://api.skillhub.cn/user_f613bbf3/zara-frontend-slides

(Platform statistics as of data retrieval: Rating 100000, Downloads 1861, Installs 2.)

Core Features

The following capabilities are derived from the installed SKILL.md and accompanying file descriptions.

Single-file HTML Presentation

  • Outputs as a single HTML, with CSS/JS inlined, without relying on npm or build tools.
  • Each slide is forced to display within a 100vh viewport, with overflow: hidden. Font sizes and spacing use clamp(), and the full text of viewport-base.css must be inlined.
  • Supports keyboard/touch navigation; optional in-browser inline editing (localStorage saving, export).

Three Work Modes

The Agent first determines the scenario (Phase 0):

  1. Mode A: Create New — From content discovery → style discovery → generate complete draft.
  2. Mode B: PPT Conversion — Use scripts/extract-pptx.py to extract .pptx then proceed with styling and generation.
  3. Mode C: Enhance — Modify existing HTML presentation drafts, adhering to content density and viewport rules, splitting pages when necessary.

Style Discovery (Show, don’t tell)

When creating or converting, you can go through “Generate 3 single-page HTML previews” to let the user choose (preview directory .claude-design/slide-previews/). Preset styles are see in the package’s STYLE_PRESETS.md (e.g., Bold Signal, Notebook Tabs, Neon Cyber, etc.).

PPT Conversion

python scripts/extract-pptx.py <input.pptx> <output_dir>

Requires a Python environment; if dependencies are missing, install python-pptx according to the skill instructions:

pip install python-pptx

After extraction, the Agent summarizes page titles, content, and image counts for confirmation, then selects a style and generates HTML, retaining text, image resources, and notes (notes can be written into HTML comments).

Sharing and Export (Optional)

  • Deploy: bash scripts/deploy.sh <path-to-presentation>, targeting hosting like Vercel (Phase 6 in the skill includes login and path notes).
  • PDF: bash scripts/export-pdf.sh <path-to-html> [output.pdf], taking paged screenshots via headless browser based on .slide; optional --compact to reduce size.

Installation and Activation

First, confirm that skillhub is installed on your machine (if not installed, follow the SkillHub Installation Instructions to execute the official installation script). When installing the skill, you must use --dir to point to the current Agent’s skills directory; otherwise, it defaults to ./skills/ which might not be recognized.

command -v skillhub && skillhub --version
skillhub install @user_f613bbf3/zara-frontend-slides --dir <Your Agent skills directory>

Common directory examples (from SkillHub installation documentation):

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ under the project

You can also send the official prompt to the AI on the SkillHub skill page: “Please install @user_f613bbf3/zara-frontend-slides according to https://skillhub.cn/install/skillhub.md.”

Upstream Claude Code Plugin (Optional)

The package’s README.md also explains: If using the upstream repository in Claude Code, you can install frontend-slides via the plugin marketplace and use /frontend-slides in the conversation. This is a different distribution path from the SkillHub coordinate installation; in environments like Cursor, SkillHub installation is the standard.

Typical Usage

After installation and activation, describe your intention in the conversation to trigger the scenarios described in the skill. The workflow summary is as follows.

Create New Roadshow Draft (Mode A)

  1. The Agent asks about the purpose (roadshow/teaching/conference/internal sharing), page scale, whether there is an existing draft, and whether in-browser editing is needed in one go.
  2. If an image folder is provided, the Agent scans and evaluates usability, then confirms the outline together.
  3. Style phase: When choosing “Show me options”, generate 3 preview HTMLs based on emotion; after the user selects or mixes and matches, proceed to generation.
  4. The Agent reads html-template.md, viewport-base.css, animation-patterns.md, outputs a single-file HTML, and opens it in the browser using system commands (e.g., open [filename].html, depending on the current environment).

Example conversation intent (consistent with the package README):

I want to make a pitch deck for an AI startup project

Convert PowerPoint (Mode B)

Convert my presentation.pptx into web slides

The Agent should execute the extraction script, display the extraction summary, then proceed to Phase 2 style selection and HTML generation.

Enhance Existing HTML (Mode C)

Explain which HTML to add or delete content on; the skill requires checking density limits when adding images or bullets, automatically splitting into multiple pages when necessary, and informing the user.

Applicable Scenarios and Notes

Who it is for

  • Students who need to quickly get projectable and shareable web slides without maintaining frontend engineering.
  • Teams with .pptx stock who want to retain images and structure but switch to a more modern web presentation.
  • Decision makers who are not good at describing design styles but can make “Choose A / Choose B” judgments on 3 previews.

Limitations and Notes

  • PPT conversion depends on Python and python-pptx; deployment and PDF export respectively depend on environments required by the skill scripts such as Node/Vercel and Playwright. The first run may be slow.
  • Viewport and content density rules are strict: approximately 4–6 bullets per page, 8–10 lines of code, etc. Exceeding this should result in page splitting; do not expect in-page scrolling.
  • The skill emphasizes avoiding “AI cliché” aesthetics, but manual review of content and brand compliance is still required; after deployment, check if all images are loaded on the actual URL.
  • SkillHub is a community redistribution; functional details are subject to the SKILL.md inside the installation package, version 1.0.0.

Conclusion

zara-frontend-slides turns HTML slides from “handwritten pages” into a reproducible Agent process: single-file delivery, preview style selection, optional PPT extraction, and Vercel/PDF sharing. If you are already using Skills in Cursor or Claude Code, you can install it into the skills directory via the command above and use it directly through conversation.

Official Entry: https://www.skillhub.cn/skills/user_f613bbf3/zara-frontend-slides

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye