{"data":{"slug":"github-claude-office-skills-skills-html-slides-89c313cae958","title":"Generate HTML Slides with reveal.js","summary":"Create interactive HTML-based presentations using reveal.js with themes, animations, code highlighting, speaker notes, and transitions. The deliverable is a complete HTML file that can be viewed in a browser.","url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-html-slides-89c313cae958","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-claude-office-skills-skills-html-slides-89c313cae958","markdown_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-html-slides-89c313cae958.md","download_url":"https:\/\/skillshunter.net\/skills\/github-claude-office-skills-skills-html-slides-89c313cae958\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure that the user has an internet connection to load the reveal.js library from CDN. If using local files, download and host the reveal.js library manually. Specify the desired theme, transitions, and features in the initial prompt for optimal results.","instructions":"---\n# \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0\n# \u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\u2550\n\n# Basic Information\nname: html-slides\ndescription: \">\"\nversion: \"1.0\"\nauthor: claude-office-skills\nlicense: MIT\n\n# Categorization\ncategory: presentation\ntags:\n  - html\n  - slides\n  - revealjs\n  - web\ndepartment: All\n\n# AI Model Compatibility\nmodels:\n  recommended:\n    - claude-sonnet-4\n    - claude-opus-4\n  compatible:\n    - claude-3-5-sonnet\n    - gpt-4\n    - gpt-4o\n\n# MCP Tools Integration\nmcp:\n  server: office-mcp\n  tools:\n    - pptx_to_html\n\n# Skill Capabilities\ncapabilities:\n  - web_presentation\n  - html_slides\n\n# Language Support\nlanguages:\n  - en\n  - zh\n---\n\n# HTML Slides Skill\n\n## Overview\n\nThis skill enables creation of stunning HTML-based presentations using **reveal.js** - the web's most popular presentation framework. Create interactive, responsive slides with animations, code highlighting, speaker notes, and more.\n\n## How to Use\n\n1. Describe the presentation you want to create\n2. Specify theme, transitions, and features needed\n3. I'll generate a reveal.js presentation\n\n**Example prompts:**\n- \"Create an interactive presentation about our product\"\n- \"Build a code walkthrough presentation with syntax highlighting\"\n- \"Make a presentation with speaker notes and timer\"\n- \"Create slides with animations and transitions\"\n\n## Domain Knowledge\n\n### reveal.js Basics\n\n```html\n<!doctype html>\n<html>\n<head>\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.css\">\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/theme\/black.css\">\n<\/head>\n<body>\n    <div class=\"reveal\">\n        <div class=\"slides\">\n            <section>Slide 1<\/section>\n            <section>Slide 2<\/section>\n        <\/div>\n    <\/div>\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.js\"><\/script>\n    <script>Reveal.initialize();<\/script>\n<\/body>\n<\/html>\n```\n\n### Slide Structure\n\n```html\n<!-- Horizontal slides -->\n<section>Slide 1<\/section>\n<section>Slide 2<\/section>\n\n<!-- Vertical slides (nested) -->\n<section>\n    <section>Vertical 1<\/section>\n    <section>Vertical 2<\/section>\n<\/section>\n\n<!-- Markdown slides -->\n<section data-markdown>\n    <textarea data-template>\n        ## Slide Title\n        - Point 1\n        - Point 2\n    <\/textarea>\n<\/section>\n```\n\n### Themes\n\nBuilt-in themes: `black`, `white`, `league`, `beige`, `sky`, `night`, `serif`, `simple`, `solarized`, `blood`, `moon`\n\n```html\n<link rel=\"stylesheet\" href=\"reveal.js\/dist\/theme\/moon.css\">\n```\n\n### Transitions\n\n```javascript\nReveal.initialize({\n    transition: 'slide',  \/\/ none, fade, slide, convex, concave, zoom\n    transitionSpeed: 'default',  \/\/ default, fast, slow\n    backgroundTransition: 'fade'\n});\n```\n\n### Fragments (Animations)\n\n```html\n<section>\n    <p class=\"fragment\">Appears first<\/p>\n    <p class=\"fragment fade-in\">Then this<\/p>\n    <p class=\"fragment fade-up\">Then this<\/p>\n    <p class=\"fragment highlight-red\">Highlight<\/p>\n<\/section>\n```\n\nFragment styles: `fade-in`, `fade-out`, `fade-up`, `fade-down`, `fade-left`, `fade-right`, `highlight-red`, `highlight-blue`, `highlight-green`, `strike`\n\n### Code Highlighting\n\n```html\n<section>\n    <pre><code data-trim data-line-numbers=\"1|3-4\">\ndef hello():\n    print(\"Hello\")\n    print(\"World\")\n    return True\n    <\/code><\/pre>\n<\/section>\n```\n\n### Speaker Notes\n\n```html\n<section>\n    <h2>Slide Title<\/h2>\n    <p>Content<\/p>\n    <aside class=\"notes\">\n        Speaker notes go here. Press 'S' to view.\n    <\/aside>\n<\/section>\n```\n\n### Backgrounds\n\n```html\n<!-- Color background -->\n<section data-background-color=\"#4d7e65\">\n\n<!-- Image background -->\n<section data-background-image=\"image.jpg\" data-background-size=\"cover\">\n\n<!-- Video background -->\n<section data-background-video=\"video.mp4\">\n\n<!-- Gradient background -->\n<section data-background-gradient=\"linear-gradient(to bottom, #283b95, #17b2c3)\">\n```\n\n### Configuration\n\n```javascript\nReveal.initialize({\n    \/\/ Display controls\n    controls: true,\n    controlsTutorial: true,\n    progress: true,\n    slideNumber: true,\n    \n    \/\/ Behavior\n    hash: true,\n    respondToHashChanges: true,\n    history: true,\n    keyboard: true,\n    overview: true,\n    center: true,\n    touch: true,\n    loop: false,\n    rtl: false,\n    shuffle: false,\n    \n    \/\/ Timing\n    autoSlide: 0,  \/\/ 0 = disabled\n    autoSlideStoppable: true,\n    \n    \/\/ Appearance\n    width: 960,\n    height: 700,\n    margin: 0.04,\n    minScale: 0.2,\n    maxScale: 2.0,\n    \n    \/\/ Plugins\n    plugins: [RevealMarkdown, RevealHighlight, RevealNotes]\n});\n```\n\n## Examples\n\n### Example 1: Tech Talk\n```html\n<!doctype html>\n<html>\n<head>\n    <meta charset=\"utf-8\">\n    <title>API Design Best Practices<\/title>\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.css\">\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/theme\/night.css\">\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/plugin\/highlight\/monokai.css\">\n<\/head>\n<body>\n    <div class=\"reveal\">\n        <div class=\"slides\">\n            <section data-background-gradient=\"linear-gradient(to bottom right, #1a1a2e, #16213e)\">\n                <h1>API Design<\/h1>\n                <h3>Best Practices for 2024<\/h3>\n                <p><small>Engineering Team<\/small><\/p>\n            <\/section>\n            \n            <section>\n                <h2>Agenda<\/h2>\n                <ol>\n                    <li class=\"fragment\">RESTful Principles<\/li>\n                    <li class=\"fragment\">Authentication<\/li>\n                    <li class=\"fragment\">Error Handling<\/li>\n                    <li class=\"fragment\">Documentation<\/li>\n                <\/ol>\n            <\/section>\n            \n            <section>\n                <section>\n                    <h2>RESTful Principles<\/h2>\n                <\/section>\n                <section>\n                    <h3>Resource Naming<\/h3>\n                    <pre><code data-trim class=\"language-http\">\nGET \/users           # Collection\nGET \/users\/123       # Single resource\nPOST \/users          # Create\nPUT \/users\/123       # Update\nDELETE \/users\/123    # Delete\n                    <\/code><\/pre>\n                <\/section>\n            <\/section>\n            \n            <section>\n                <h2>Questions?<\/h2>\n                <p>api-team@company.com<\/p>\n            <\/section>\n        <\/div>\n    <\/div>\n    \n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.js\"><\/script>\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/plugin\/highlight\/highlight.js\"><\/script>\n    <script>\n        Reveal.initialize({\n            hash: true,\n            plugins: [RevealHighlight]\n        });\n    <\/script>\n<\/body>\n<\/html>\n```\n\n### Example 2: Product Launch\n```html\n<!doctype html>\n<html>\n<head>\n    <title>Product Launch<\/title>\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.css\">\n    <link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/theme\/white.css\">\n    <style>\n        .reveal h1 { color: #2d3748; }\n        .metric { font-size: 3em; color: #3182ce; }\n    <\/style>\n<\/head>\n<body>\n    <div class=\"reveal\">\n        <div class=\"slides\">\n            <section data-background-color=\"#f7fafc\">\n                <h1>Introducing<\/h1>\n                <h2 style=\"color: #3182ce;\">ProductX 2.0<\/h2>\n            <\/section>\n            \n            <section>\n                <h2>The Problem<\/h2>\n                <p class=\"fragment\">Teams waste <span class=\"metric\">20%<\/span> of time on manual tasks<\/p>\n            <\/section>\n            \n            <section data-auto-animate>\n                <h2>Our Solution<\/h2>\n                <div data-id=\"box\" style=\"background: #3182ce; padding: 20px;\">\n                    AI-Powered Automation\n                <\/div>\n            <\/section>\n            \n            <section data-auto-animate>\n                <h2>Our Solution<\/h2>\n                <div data-id=\"box\" style=\"background: #38a169; padding: 40px; width: 400px;\">\n                    <p>AI-Powered Automation<\/p>\n                    <p>90% faster<\/p>\n                <\/div>\n            <\/section>\n        <\/div>\n    <\/div>\n    <script src=\"https:\/\/cdn.jsdelivr.net\/npm\/reveal.js@4\/dist\/reveal.js\"><\/script>\n    <script>Reveal.initialize();<\/script>\n<\/body>\n<\/html>\n```\n\n## Resources\n\n- [reveal.js Documentation](https:\/\/revealjs.com\/)\n- [GitHub Repository](https:\/\/github.com\/hakimel\/reveal.js)\n- [Demo Slides](https:\/\/revealjs.com\/demo\/)\n","use_cases":["Create a presentation with speaker notes and timer","Build a code walkthrough presentation with syntax highlighting","Make a presentation with animations and transitions"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/claude-office-skills\/skills\/blob\/9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11\/html-slides\/SKILL.md","source_commit":"9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11","license":"MIT","version":null,"listing_approved_at":"2026-11-22","created_at":"2026-11-21T13:56:42.000000Z","updated_at":"2026-11-22T11:17:55.000000Z","seo_title":"Generate HTML Slides with reveal.js","seo_description":"Create interactive HTML-based presentations using reveal.js with themes, animations, code highlighting, speaker notes, and transitions.","seo_keywords":["generate html slides","reveal.js presentation","html slides creator","interactive presentation tool"]}}