---
name: "revealjs-html-slide-presentations"
description: "Build rich, interactive web-based presentation decks with Reveal.js and code highlighting."
metadata:
  author: "Hakim El Hattab"
  version: "1.0.0"
  runtime_compatibility:
    - "codex"
    - "claude-code"
    - "cursor"
    - "windsurf"
triggers:
  - "create reveal.js presentation"
  - "add code highlighting reveal.js"
  - "open speaker view reveal.js"
permissions:
  fs_read: true
  fs_write: "workspace"
  shell_exec: false
  net_access: false
---

# Reveal.js Interactive HTML Presentations

Creates browser-based slide presentations with 2D navigation (vertical/horizontal slides), Markdown integration, code snippet syntax highlighting, speaker notes, and PDF export.

## When to Invoke
Invoke this skill whenever you need to:
- create reveal.js presentation
- add code highlighting reveal.js
- open speaker view reveal.js

## Execution SOP & Rules
1. Structure slides using <section> elements, nesting child <section> tags for vertical stacks.
2. Enable syntax highlighting by including the RevealHighlight plugin.
3. Add speaker notes using <aside class="notes">Notes text</aside>.
4. Press 'S' in browser to open speaker view and add ?print-pdf query parameter for PDF export.

## Verification Checklist
- Run local linting, syntax validation, and type-checks before reporting completion.
- Ensure all created or modified files adhere to workspace boundaries and avoid uncommitted secrets.
- Verify tests or build commands exit cleanly with return code 0.
