Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Animation Skill for Claude Code

Discord

A Claude Code skill that generates self-contained HTML/CSS animations of app features — for walkthroughs, demos, and onboarding.

Seating Optimization Demo

Why not GIFs?

CSS Animation GIF/Video
Resolution Vector-sharp at any size Fixed pixels
File size ~30KB HTML 500KB–5MB
Editable Yes, it's just code Re-record from scratch
Iteratable Edit CSS, refresh Re-record from scratch
Controllable Pause, slow down, inspect Play/pause only

How it works

The skill follows a 4-phase workflow:

  1. Research — Navigates your live app via Claude-in-Chrome to extract design language (colors, fonts, spacing) and layout geometry (positions, dimensions)
  2. Interview — Asks 3-6 focused questions about what to animate, the style (feature demo or carousel), and the key "payoff moment"
  3. Generate — Produces a structured brief (markdown) and a self-contained HTML file with CSS transitions and minimal JS
  4. Review Loop — Freeze-inspect-feedback cycle: stops the animation at each key state, screenshots it, collects feedback, fixes, and re-inspects until approved

Animation styles

  • Feature Demo — Before → Action → After. Shows a single feature transformation (e.g., clicking "Optimize" and watching seats rearrange)
  • Carousel — Multi-view. Cycles through several app screens with cross-fade transitions

Output

Each run produces two files:

  • <app>-<feature>-brief.md — Structured spec capturing design language, layout, and animation plan
  • <app>-<feature>.html — Self-contained animation (HTML + CSS + minimal JS, no dependencies except Google Fonts)

Installation

Copy the skill file to your Claude Code skills directory:

mkdir -p ~/.claude/skills/css-animation
cp SKILL.md ~/.claude/skills/css-animation/SKILL.md

Then trigger it in Claude Code with phrases like: "css animation", "animate this feature", "create a css walkthrough"

Requirements

  • Claude Code with Claude-in-Chrome MCP tools
  • A target app accessible in the browser

Examples

See the examples/ directory for sample animations and their briefs.

About

A Claude Code skill that generates self-contained HTML/CSS animations of app features for walkthroughs, demos, and onboarding

Topics

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages