Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

html-ppt

БесплатноЗапускает вложенные скриптыНе проверен

Generate a hand-crafted, zero-dependency single-file HTML slide deck (no CDN, works offline, double-click to open) with viewport-safe layouts, inline…

tsaolот tsaol★ 69 звёзд на GitHub

Об этом скилле

HTML PPT Skill

Invoke with /html-ppt (or #html-ppt) + your topic. Generates a single-file HTML deck with zero dependencies.


Positioning

Not reveal.js / Slidev / Spectacle. A hand-crafted single HTML file — zero dependencies, zero network, double-click to open.

Good for: rehearsal, internal sharing, offline presentations, one-shot decks. Not for: complex animations, React components, long-term team maintenance. Use #reveal-ppt for those.


Detect Mode

Determine what the user wants:

  • Mode A: New Presentation — Create from scratch. Go to Step 1.
  • Mode B: PPT Conversion — Convert a .pptx file. Go to PPT Conversion section.
  • Mode C: Enhancement — Improve an existing HTML presentation. Follow Mode C rules below.

Mode C: Modification Rules

When enhancing existing presentations, viewport fitting is the biggest risk:

  1. Before adding content: Count existing elements, check against density limits
  2. Adding images: Must have max-height: min(50vh, 400px). If slide already has max content, split into two slides
  3. Adding text: Max 4-5 bullets per slide. Exceeds limits? Split into continuation slides
  4. After ANY modification, verify: .slide has overflow: hidden, new elements use clamp(), images have viewport-relative max-height, content fits at 1280x720
  5. Proactively reorganize: If modifications will cause overflow, automatically split content and inform the user. Don't wait to be asked

When adding images to existing slides: Move image to new slide or reduce other content first. Never add images without checking if existing content already fills the viewport.


Core Principles

  1. Zero Dependencies — Single HTML file, all CSS/JS inline. No npm, no CDN.
  2. Viewport Fitting (NON-NEGOTIABLE) — Every slide MUST fit exactly in 100vh. No scrolling within slides. Content overflows? Split into multiple slides.
  3. Distinctive Design — Avoid generic "AI slop." Choose fonts and colors that feel custom-crafted.
  4. Show, Don't Tell — When user is unsure of style, generate visual previews (save to ~/tmp/slide-previews/).

Required Slide Structure

Every deck (slide-deck or rehearsal) MUST include these slides:

Slide Position Purpose
Cover First Title, subtitle, audience, date/context
Agenda Second Outline of what the deck covers (3-6 items)
Takeaway Second-to-last Key points the audience should remember (3-5 bullets)
Thank You / End Last Closing — "Questions?", contact info, or CTA

These four slides are non-negotiable. The content slides go between Agenda and Takeaway.

Minimum deck structure: Cover → Agenda → [Content slides] → Takeaway → Thank You


Viewport Fitting Rules

These apply to EVERY slide:

  • Every .slide must have height: 100vh; height: 100dvh; overflow: hidden;
  • ALL font sizes and spacing must use clamp(min, preferred, max) — never fixed px alone
  • Include the full contents of viewport-base.css in every presentation
  • Include prefers-reduced-motion support
  • Never negate CSS functions directly (-clamp() is silently ignored) — use calc(-1 * clamp(...))

Content Density Limits Per Slide

Slide Type Maximum Content
Title/Cover 1 heading + 1 subtitle + optional tagline
Bullet 1 heading + 4-5 bullet points
Layers/Grid 1 heading + 3 cards (3-column grid)
Stats 1 heading + 4 stat boxes
Quote 1 quote (max 3 lines) + attribution
Punch-line 1 large text block (2-3 lines)
Code 1 heading + 8-10 lines of code

Content exceeds limits? Split into multiple slides. Never cram, never scroll.


Your Task

When user invokes #html-ppt:

Step 1: Confirm Intent

Ask (if not already specified):

  1. Topic / content — What is this about?
  2. Deck type:
    • rehearsal — Speaker notes in dark right panel, timer (N to toggle notes, T for timer)
    • walkthrough — Scrollable long-page document (no pagination)
    • slide-deck — Multi-page presentation with keyboard navigation
    • single-slide — Single 1280x720 poster slide
  3. Target audience — Self / team / client (determines tone)
  4. Slide count / sections — Default: 8-12 slides

If user says "up to you", default to slide-deck + 8-12 slides.

Step 2: Choose Style

Ask user's style preference:

Option A: Amazon Brand — Orange + dark blue, professional corporate. Skip to Step 3. Option B: Pick a preset — Choose from 12 curated presets directly. See STYLE_PRESETS.md. Option C: Show me options (recommended for custom) — Generate 3 visual previews based on mood.

"Show me options" flow:

  1. Ask the mood: Impressed/Confident | Excited/Energized | Calm/Focused | Inspired/Moved
  2. Based on mood, pick 3 presets from the mood-to-preset table in STYLE_PRESETS.md
  3. Generate 3 single-sl
Полный SKILL.md на GitHub

Установить html-ppt в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

STYLE_PRESETS.mdanimation-patterns.mdscripts/deploy.shscripts/export-pdf.shscripts/extract-pptx.pyviewport-base.css

FAQ

Что делает скилл html-ppt?

Generate a hand-crafted, zero-dependency single-file HTML slide deck (no CDN, works offline, double-click to open) with viewport-safe layouts, inline rehearsal timer/notes, and optional PDF export or Vercel deploy; also converts .pptx to HTML and enhances existing HTML decks. Use when the user wants an HTML presentation / PPT for rehearsal, internal sharing or offline use. Prefer reveal-ppt when they need reveal.js transitions, vertical sub-slides, presenter mode or code highlighting, and beautiful-hackathon-slides for hackathon / demo-day pitch decks.

Как установить скилл html-ppt?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл html-ppt запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить html-ppt с