Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

reveal-ppt

FreeRuns bundled scriptsNot checked

Generate a reveal.js presentation (single HTML file, reveal.js loaded from CDN) with a polished brand theme, slide/fade/zoom transitions, vertical sub-slides…

tsaolby tsaol★ 69 GitHub stars

About this skill

Reveal.js PPT Skill

Invoke with /reveal-ppt (or #reveal-ppt) + your topic. Generates a reveal.js presentation with Amazon brand theme.


Positioning

reveal.js is the most mature HTML presentation framework. Single HTML file + reveal.js from CDN.

When to use this over #html-ppt:

  • Need fancy transitions (slide / fade / zoom / convex)
  • Need vertical sub-slides for deep-dive structure
  • Need PDF export (?print-pdf built-in)
  • Need code highlighting (highlight.js built-in)
  • Need presenter mode (press S for separate speaker window)
  • Tech talk audience expects "professional slides" feel

When NOT to use (use #html-ppt instead):

  • Must work offline / no network
  • Client site with restricted network
  • One-shot disposable deck
  • Need rehearsal timer + notes inline

Core Principles

  1. Viewport Fitting — Content must fit within viewport. Never allow slide scrolling.
  2. Distinctive Design — Avoid generic reveal.js defaults. Apply Amazon brand or custom style.
  3. Content Density — Max 5 bullets per slide, max 10 lines of code per code slide.

Content Density Limits

Slide Type Maximum Content
Title 1 heading + 1 subtitle
Content 1 heading + 4-5 points
Code 1 heading + 8-10 lines
Comparison 2 columns, 4 items each
Quote 1 quote (3 lines max) + attribution

Overflows? Split into sub-slides (vertical sections).


Your Task

When user invokes #reveal-ppt:

Step 1: Confirm

  1. Topic / content outline
  2. Slide count (default 8-12)
  3. Code snippets? (determines highlight plugin)
  4. PDF export needed? (determines export instructions)
  5. Style — Amazon Brand (default) or Custom mood

Step 2: Generate Single HTML File

Structure:

<!DOCTYPE html>
<head>
  <link rel="stylesheet" href="...reveal.css">
  <link rel="stylesheet" href="...theme/black.css">
  <style>__BRAND_OVERRIDES__</style>
</head>
<body>
  <div class="reveal">
    <div class="slides">
      <section>...</section>
      <section>
        <section>...</section>  <!-- vertical sub-slide -->
      </section>
    </div>
  </div>
  <script src="...reveal.js"></script>
  <script>Reveal.initialize({ ... });</script>
</body>

Step 3: Amazon Brand Theme (default)

Same color palette as #html-ppt:

  • Orange #FF9900 / Deep orange #c45500
  • Dark blue #232F3E / Light orange #FFF8EE / Border #FFE0B2
  • Font: -apple-system, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif

Override reveal.js defaults:

:root {
  --r-main-color: #1a1a1a;
  --r-heading-color: #232F3E;
  --r-link-color: #FF9900;
  --r-background-color: #fff;
}
.reveal { font-family: ...; color: #1a1a1a; }
.reveal h1, .reveal h2 { color: #232F3E; text-transform: none; }
.reveal .accent { color: #FF9900; }

Step 4: reveal.js Features (use as needed)

Speaker notes:

<section>
  <h2>...</h2>
  <aside class="notes">How to present this slide.</aside>
</section>

Press S for presenter mode (separate window with notes + timer + next slide).

Vertical sub-slides (drill-down):

<section>
  <section><h2>Main Topic</h2></section>
  <section><p>Detail 1</p></section>
  <section><p>Detail 2</p></section>
</section>

Fragments (incremental reveal):

<ul>
  <li class="fragment">First point</li>
  <li class="fragment">Second point</li>
</ul>

Max 5 fragments per slide.

Code blocks:

<pre><code class="hljs python" data-trim>
def hello():
    print("world")
</code></pre>

Step 5: Standard Init Config

Reveal.initialize({
  hash: true,
  controls: true,
  progress: true,
  center: true,
  transition: 'slide',
  slideNumber: 'c/t',
  plugins: [ RevealNotes ]
});

If code highlighting needed, add:

plugins: [ RevealNotes, RevealHighlight ]
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/monokai.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugin/highlight/highlight.js"></script>

Step 6: Output

Generate <topic>-reveal.html, give open command, list shortcuts:

  • Arrow keys: navigate
  • S: speaker mode
  • F: fullscreen
  • O: overview
  • B: blackout
  • ?: all shortcuts

PDF export: append ?print-pdf to URL, then browser Print > Save as PDF.


PPT Conversion

When user provides a .pptx:

  1. Run python scripts/extract-pptx.py <input.pptx> <output_dir>
  2. Show extracted slides for confirmation
  3. Convert to reveal.js format preserving text, images, notes

PDF Export (Screenshot-based)

For higher quality PDF than browser print:

bash scripts/export-pdf.sh <path-to-html> [output.pdf] [--compact]

Layout Blocks

Same CSS classes as #html-ppt (layers, stats, quote, punch, compare) can be used inside reveal <section> elements.


Red Lines

  • Do NOT change reveal.js base theme colors without CSS override (always override)
Full SKILL.md on GitHub

Install reveal-ppt in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scripts/export-pdf.shscripts/extract-pptx.py

FAQ

What does the reveal-ppt skill do?

Generate a reveal.js presentation (single HTML file, reveal.js loaded from CDN) with a polished brand theme, slide/fade/zoom transitions, vertical sub-slides, presenter mode (speaker notes window), highlight.js code blocks and built-in ?print-pdf export; also converts .pptx to reveal.js. Use when the user asks for a reveal.js deck or a "professional" tech-talk presentation that needs those framework features and network access is available. Prefer html-ppt for offline / zero-dependency one-shot decks, and beautiful-hackathon-slides for hackathon / demo-day pitch decks.

How do I install the reveal-ppt skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the reveal-ppt skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare reveal-ppt with