Create attractive, self-contained HTML slide decks for browser use.
--- name: "visual-html-presentations" description: "Create attractive, self-contained HTML slide decks for browser use." license: "MIT-0" --- # Visual HTML Presentations Use this skill when a user asks to create, improve, or convert content into a presentation, deck, slides, slideshow, pitch deck, class, workshop, training, explainer, or browser-ready visual presentation. Trigger examples: - "Make a presentation" - "Create a deck" - "Turn this into slides" - "Make this visual" - "Prepare slides" - "Improve this presentation" - "Create an HTML presentation" Use a dedicated design tool instead when the user explicitly wants an editable design file, a branded template workflow, collaboration in a design app, or a specific export format the local HTML deck cannot provide. ## Purpose Create polished, self-contained HTML presentations that can be opened locally in a browser, shown in meetings, recorded in videos, or used as a starting point for later design work. ## Output Standard The final presentation should be: - A single HTML file unless assets are explicitly requested. - Visually attractive and easy to read. - Responsive enough for common laptop and desktop screens. - Navigable with keyboard arrows and visible controls. - Free of external dependencies unless there is a clear reason. - Stored locally by default unless the user asks for another destination. ## When To Ask Before Building Ask a short clarification if any of these are unclear and materially affect the result: - Audience. - Objective. - Slide count or duration. - Brand/style requirements. - Whether the output must be editable in another tool or exported to a specific format. If missing details are minor, assume reasonably and state the assumptions in the summary. ## Workflow 1. Read the input fully: idea, notes, outline, document, transcript, markdown, report, or existing deck content. 2. Extract: - Topic and objective. - Audience. - Key message. - Required facts or sources. - Desired tone and use case. - Approximate slide count. 3. Build a slide narrative: - Opening / title. - Context or problem. - Main ideas. - Examples, evidence, or process. - Implications or recommendations. - Closing / call to action when relevant. 4. Choose a visual style suited to the topic and audience. 5. Design varied slide layouts. 6. Generate the HTML, CSS, and JavaScript. 7. Validate that text fits, slides are navigable, and the presentation is not visually broken. 8. Report the local result path or inline HTML according to the user's requested delivery style. ## Design Rules - One main idea per slide. - Clear hierarchy: title, short support text, visual structure. - Avoid long paragraphs. - Use strong spacing and alignment. - Keep body text legible. - Use restrained color palettes suited to the subject. - Vary layouts across slides. - Avoid nested cards and card-heavy marketing layouts unless cards are truly useful. - Avoid decorative blobs, generic gradient backgrounds, and stock-like filler visuals. - Use icons, numbers, timelines, diagrams, comparison blocks, and process flows when they clarify the idea. - Do not invent data, citations, logos, brand claims, or source references. ## Layout Patterns Use a mix of appropriate patterns: - Title slide with strong subject signal. - Two-column concept/explanation. - Large number or key metric slide. - Timeline or roadmap. - Step-by-step process. - Comparison slide. - Quote or principle slide. - Diagram or architecture slide. - Problem/solution slide. - Final summary or CTA. ## Technical Requirements Default to a single HTML file with: - `<!DOCTYPE html>`. - Embedded CSS in `<style>`. - Embedded JS for slide navigation. - Keyboard support for left/right arrows. - Visible previous/next controls or slide dots. - Print/export-friendly CSS when practical. - Responsive constraints so text does not overflow. Use local assets only when needed. Do not rely on remote images or fonts unless the user explicitly wants that and the tradeoff is acceptable. ## Video Presentation Mode If the slides are for video, reels, screen recording, or narration: - Use fewer words per slide. - Make visual rhythm stronger. - Use large type and clear contrast. - Prefer one sentence or one idea per slide. - Avoid dense bullet lists. - Consider 16:9 layout unless otherwise requested. ## Meeting or Training Mode If the slides are for a meeting, class, workshop, or training: - Prioritize clarity over spectacle. - Include slide numbers. - Allow slightly more detail per slide. - Use summary slides and section breaks. - Include speaker notes only if requested. ## Brand or Project Mode When the user provides a brand, project, product, or organization context: - Follow the provided style guidance. - Avoid unsupported claims or invented references. - Keep tone appropriate to the audience. - Recommend a factual claim check for public, investor-facing, medical, legal, financial, or high-stakes decks. - Do not publish, upload, or share the presentation externally without explicit user approval. ## Output Format When returning the result, include: ```markdown **Summary** [objective, audience assumption, style chosen] **Structure** - Slide 1: [title] - Slide 2: [title] **Result** [local file created or HTML if the user asked for inline code] **Verification** [what was checked] **Remaining** [missing assets, sources, brand details, or optional improvements] ``` For large decks, do not paste the full HTML into chat unless asked. Create the local file. ## Verification When feasible, run a local browser or screenshot check to confirm: - Slides render. - Text fits containers. - Navigation works. - Layout is not blank or overlapping. - Mobile or narrow viewport does not break badly. If visual verification cannot be run, say so. ## Safety This skill creates local presentation files only. It does not upload, publish, share, or send the result through external services unless the user explicitly requests and approves that action.
don't have the plugin yet? install it then click "run inline in claude" again.
extracted and formalized 6 required components from original loosely-structured content, added explicit decision logic for clarifications and use case branches, documented inputs with edge cases (remote assets, sensitive content, export requests), detailed all validation points, and specified concrete outcome signals for successful presentation delivery.
create polished, self-contained HTML presentations that open locally in a browser, work in meetings, record in videos, or serve as a starting point for later design work. use this skill when a user asks to create, improve, or convert content into a presentation, deck, slides, slideshow, pitch deck, class, workshop, training, explainer, or any browser-ready visual presentation. trigger examples: "make a presentation", "create a deck", "turn this into slides", "make this visual", "prepare slides", "improve this presentation", "create an html presentation". do not use this skill when the user explicitly wants an editable design file, a branded template workflow, real-time collaboration in a design app, or a specific export format (pdf, pptx, figma) that a local html deck cannot provide.
user content (required)
clarification details (optional, ask if missing and material)
context flags (optional)
external data (optional)
read and extract: consume the full input. identify topic, objective, audience, key message, required facts or sources, desired tone, use case, and approximate slide count. note any missing details that materially affect the result.
ask or assume: if audience, objective, slide count, brand, or export requirements are unclear and impact the outcome, ask short clarification questions. if missing details are minor, assume reasonably and state assumptions in the summary.
build narrative structure: map the logical flow from opening (title slide) to context or problem, main ideas, examples or evidence or process, implications or recommendations, and closing or call to action (when relevant). keep one main idea per slide.
choose visual style: select a design approach suited to the topic and audience. consider: color palette (restrained, subject-appropriate), typography (clear hierarchy, legible body text), layout variety (avoid repetitive patterns), and tone (professional, casual, academic, creative).
design slide layouts: create a mix of appropriate patterns including title slide, two-column concept/explanation, large number or key metric, timeline or roadmap, step-by-step process, comparison, quote or principle, diagram or architecture, problem/solution, and summary or cta. vary layouts to maintain visual interest.
generate html, css, javascript: build a single self-contained html file with embedded css in <style> tags, embedded javascript for navigation, keyboard support (left/right arrow keys), visible previous/next controls or slide dots, print-friendly css when practical, and responsive constraints so text does not overflow. do not rely on remote images or fonts unless user explicitly requests and accepts the tradeoff.
validate locally: confirm that slides render correctly, text fits containers, navigation works with keyboard and buttons, layout is not blank or overlapping, and narrow viewports do not break badly. note if visual verification cannot be run.
deliver result: return summary (objective, audience, style chosen), structure (slide titles in order), result (local file path or inline html), verification (what was checked), and remaining items (missing assets, sources, improvements).
if clarification is needed and material: ask short questions about audience, objective, slide count, brand, or export format before building. do not proceed if the answer significantly changes the output. state any assumptions you make and continue.
if clarification is missing but minor: assume reasonably (e.g. assume general business audience if not specified) and note the assumption in the summary. proceed without asking.
if user requests editable design file, branded template workflow, real-time design collaboration, or specific export format (pdf, pptx, figma, keynote): recommend a dedicated design tool instead. do not force html output if the user's true need is incompatible with a single-file html deck.
if user provides brand, project, or organization context: follow provided style guidance. avoid unsupported claims or invented references. keep tone appropriate to audience. recommend factual claim check for public, investor-facing, medical, legal, financial, or high-stakes decks. do not publish, upload, or share externally without explicit user approval.
if slides are for video, reels, screen recording, or narration: use fewer words per slide, stronger visual rhythm, large type, clear contrast, one sentence or one idea per slide, avoid dense bullet lists, and consider 16:9 layout unless otherwise requested.
if slides are for meeting, class, workshop, or training: prioritize clarity over spectacle, include slide numbers, allow slightly more detail per slide, use summary slides and section breaks, and include speaker notes only if explicitly requested.
if user asks for remote images, fonts, or assets: only include if user explicitly requests and understands the tradeoff (requires internet to view, slower load, harder to share offline). prefer local assets by default.
if slide deck is large (>15 slides): do not paste full html into chat unless user asks. create and reference the local file instead.
if text or visual elements do not fit or render incorrectly: adjust font size, layout, or slide structure. repeat validation until acceptable.
if user requests safety or sensitive content check: ensure the skill does not upload, publish, share, or send the result through external services unless explicitly requested and approved.
file location: presentations are stored locally by default (e.g. ./presentation.html or user-specified path) unless user requests another destination.
file format: single self-contained html file with inline css and javascript. no external dependencies unless user explicitly approves.
structure and content:
visual standards:
delivery package:
the user knows the skill worked when:
file exists and opens: the html file renders correctly in a modern browser without errors or external dependencies missing.
slides navigate: keyboard arrows (left/right) and visible controls (buttons or dots) move between slides smoothly. no blank screens, overlaps, or navigation breaks.
content fits: all text is legible and contained within slide bounds. no overflow, truncation, or readability issues on common screen sizes (laptop, desktop, and reasonably narrow viewports).
visual is attractive and clear: layout variety, color palette, typography, and use of visual elements (icons, diagrams, spacing) make the deck visually coherent and easy to follow. one main idea per slide is evident.
style matches intent: the design reflects the chosen style (professional, casual, academic, creative, etc.) and suits the audience and use case (video, meeting, training, pitch).
summary confirms match: the delivered summary (objective, audience, style) and structure (slide titles) match or clarify the original user request. any assumptions or missing details are stated.
user can re-use or edit: for html-savvy users, the single-file structure and inline css/js make it easy to tweak colors, text, or layout. for others, the file is ready to present, record, or share as-is.