Index of every page on this site: llms.txt
All skills
zarazhangrui avatar

/frontend-slides

@9906a34
by Zara Zhangzarazhangrui/frontend-slides32k stars
2,436
Run it yourself

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

Recorded with Claude Code, Opus 5.5

Prompt

Make a 7-slide speaker-led talk deck on how Thimblecrest, a fictional orchard co-op, doubled its apple harvest by renting beehives. Pick the style yourself and don't stop to ask me questions. Save one self-contained deck.html with all CSS and JavaScript inline.

Desktop screenshot of the page the Agent built for: Make a 7-slide speaker-led talk deck on how Thimblecrest, a fictional orchard co-op, doubled its apple harvest by rentin
Phone screenshot of the page the Agent built for: Make a 7-slide speaker-led talk deck on how Thimblecrest, a fictional orchard co-op, doubled its apple harvest by rentin

Recorded on an older version of this Skill.

Use this Skill: https://skilld.dev/gh/zarazhangrui/frontend-slides/frontend-slides

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

animation-patterns.md

≈1k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Animation Patterns Reference

Use this reference when generating presentations. Match animations to the intended feeling.

Effect-to-Feeling Guide

Feeling Animations Visual Cues
Dramatic / Cinematic Slow fade-ins (1-1.5s), large scale transitions (0.9 to 1), parallax scrolling Dark backgrounds, spotlight effects, full-bleed images
Techy / Futuristic Neon glow (box-shadow), glitch/scramble text, grid reveals Particle systems (canvas), grid patterns, monospace accents, cyan/magenta/electric blue
Playful / Friendly Bouncy easing (spring physics), floating/bobbing Rounded corners, pastel/bright colors, hand-drawn elements
Professional / Corporate Subtle fast animations (200-300ms), clean slides Navy/slate/charcoal, precise spacing, data visualization focus
Calm / Minimal Very slow subtle motion, gentle fades High whitespace, muted palette, serif typography, generous padding
Editorial / Magazine Staggered text reveals, image-text interplay Strong type hierarchy, pull quotes, grid-breaking layouts, serif headlines + sans body

Entrance Animations

/* Fade + Slide Up (most versatile) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo),
                transform 0.6s var(--ease-out-expo);
}
.visible .reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Scale In */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);
}

/* Slide from Left */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s, transform 0.6s var(--ease-out-expo);
}

/* Blur In */
.reveal-blur {
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.8s, filter 0.8s var(--ease-out-expo);
}

Background Effects

/* Gradient Mesh — layered radial gradients for depth */
.gradient-bg {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(120, 0, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 255, 200, 0.2) 0%, transparent 50%),
        var(--bg-primary);
}

/* Noise Texture — inline SVG for grain */
.noise-bg {
    background-image: url("data:image/svg+xml,..."); /* Inline SVG noise */
}

/* Grid Pattern — subtle structural lines */
.grid-bg {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

Interactive Effects

/* 3D Tilt on Hover — adds depth to cards/panels */
class TiltEffect {
    constructor(element) {
        this.element = element;
        this.element.style.transformStyle = 'preserve-3d';
        this.element.style.perspective = '1000px';

        this.element.addEventListener('mousemove', (e) => {
            const rect = this.element.getBoundingClientRect();
            const x = (e.clientX - rect.left) / rect.width - 0.5;
            const y = (e.clientY - rect.top) / rect.height - 0.5;
            this.element.style.transform = `rotateY(${x * 10}deg) rotateX(${-y * 10}deg)`;
        });

        this.element.addEventListener('mouseleave', () => {
            this.element.style.transform = 'rotateY(0) rotateX(0)';
        });
    }
}

Troubleshooting

Problem Fix
Fonts not loading Check Fontshare/Google Fonts URL; ensure font names match in CSS
Animations not triggering Verify Intersection Observer is running; check .visible class is being added
Scroll snap not working Ensure scroll-snap-type: y mandatory on html; each slide needs scroll-snap-align: start
Mobile issues Disable heavy effects at 768px breakpoint; test touch events; reduce particle count
Performance issues Use will-change sparingly; prefer transform/opacity animations; throttle scroll handlers

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings4mo5 checks · Risk SAFE
  • Gen Agent Trust Hub4mo

    The Frontend Slides skill is a comprehensive tool for creating and sharing HTML presentations. It includes automation scripts for PowerPoint conversion, PDF export, and web deployment via Vercel. A thorough security analysis of the provided code and instructions revealed no evidence of malicious behavior, unauthorized data exfiltration, or prompt injection attempts. All external dependencies and network operations are associated with well-known, reputable services such as Vercel, Microsoft (Playwright), and Google Fonts.

  • Socket4mo

    No alerts

  • Snyk4mo

    Risk: MEDIUM · 1 issue

  • Runlayer8mo

    4 files scanned · No issues

  • ZeroLeaks6mo

    Scan incomplete

Signed by skilld at 9906a34. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 6 months ago
  • html
  • presentations
  • slides
  • animations
  • css
  • pptx
  • conversion
  • web-design
  • typography

README badge

README badge for zarazhangrui/frontend-slides

Generates zero-dependency, animation-rich HTML presentations with a fixed 16:9 stage that scales to any viewport. Converts PowerPoint files to web-based decks or creates new presentations from scratch with visual style discovery and distinctive design aesthetics tailored to talks, pitches, or internal docs.

Generated from the current SKILL.md.

Does this skill convert PowerPoint files to HTML?
Yes. The skill can convert .pptx files to zero-dependency HTML presentations that run in the browser. It also creates presentations from scratch or enhances existing HTML decks.
What happens if my content is too long for a slide?
The skill enforces a fixed 1920×1080 slide canvas and will split content across multiple slides rather than allow overflow. It respects content density modes (speaker-led or reading-first) and will automatically reorganize to keep slides readable.
Do I need build tools or npm to use these presentations?
No. Every presentation is a zero-dependency single HTML file with inline CSS and JavaScript. They run entirely in the browser with no build step.
Will the slides work on phones and tablets?
Yes, but they maintain a fixed 16:9 aspect ratio and do not reflow. Slides letterbox or pillarbox to fit the viewport while preserving their 1920×1080 design.
Can I add animations to slides?
Yes. The skill generates CSS-based animations for effects and micro-interactions, with support for reduced-motion preferences. It emphasizes high-impact moments like page-load reveals over scattered effects.

Generated from the current SKILL.md. These answers refresh after source changes.