agentleFS
OneWave-AIOneWave-AI/claude-skills/animate/SKILL.md

animate

Skill378 starsChanged 52 days agoMITView on GitHub

Generate animated videos and motion graphics from natural language descriptions. Creates a standalone Vite + React project with Framer Motion scenes that auto-play in the browser. Use when the user wants to create animations, motion graphics, video intros, animated presentations, or product demos.

  • Reads credentials
  • Installs packages

110 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bolder, arrange and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • HK-hubSkill

    bolder

    Amplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability. Use when the user says the design looks bland, generic, too safe, lacks personality, or wants more visual impact and character.

    Also in 29 projects that use this

  • HK-hubSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

    Also in 14 projects that use this

  • sanmidableSkill

    animate-expo

    Also in 22 projects that use this

  • swyxioSkill

    mobile-native

    Apply swyx's native mobile UX preferences when designing or critiquing iPhone/iPad flows, adapting tablet layouts, choosing communication-app notification behavior, or opening notifications/deep links/widgets/shortcuts before local content is ready. Also use for iOS/iPadOS generated build configuration, signing/install/launch problems, and device playtesting. Keep existing native or cross-platform stacks; excludes browser-only responsive work and backend-only changes without native UX or delivery implications.

    Also in 18 projects that use this

  • sanmidableSkill

    write-swift

    Also in 24 projects that use this

  • zwy123zwySkill

    normalize

    将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。

    Also in 19 projects that use this

  • +5 more from HK-hub
  • +1 more from sanmidable

The file

Show its rules and text

We split this skill into the rules it gives an agent

28 rules. 0 are common, 13 are distinctive, and 15 are very specific to this project.

  • 0

    Common

    Most of the 103 edited versions we read keep these.

  • 13

    Distinctive

    This author's own choices. Worth a look.

  • 15

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create animated videos and motion graphics from a natural language description.

    line 10
  2. Very specific:

    Use $ARGUMENTS for the user's animation description

    line 20
  3. Distinctive:

    Default to Framer Motion unless the request clearly needs something else.

    line 33
  4. Very specific:

    Create a directory: ~/animations/[project-name]/

    line 37
  5. Very specific:

    Run the scaffold script: bash ~/.claude/skills/animate/scripts/scaffold.sh [project-name] [stack]

    line 38
  6. Distinctive:

    Read the references for animation presets and scene patterns:

    line 43
  7. Very specific:

    Use motion.div with scene transition presets (fadeBlur, scaleFade, slideLeft, splitHorizontal, morphExpand, etc.)

    line 48
  8. Very specific:

    Use containerVariants and itemVariants for staggered content reveals

    line 49
  9. Very specific:

    Use vw units for responsive sizing (works at any resolution)

    line 50
  10. Very specific:

    Use CSS variables for theming (var(--color-accent), var(--color-bg-dark), etc.)

    line 51
  11. Distinctive:

    Use Lucide icons for visual elements

    line 52
  12. Very specific:

    Use .glass-panel class for frosted glass cards

    line 53
  13. Very specific:

    Use .text-gradient and .text-gradient-accent for gradient text

    line 54
  14. Distinctive:

    Import all scene components

    line 59
  15. Very specific:

    Use useVideoPlayer hook to manage scene advancement

    line 61
  16. Very specific:

    Update client/src/index.css with the right colors:

    line 67
  17. Distinctive:

    If the user specified brand colors, update CSS variables

    line 68
  18. Distinctive:

    Update gradient and glow styles to match the palette

    line 70
  19. Very specific:

    If GEMINI_API_KEY environment variable is available:

    line 74
  20. Very specific:

    Read references/gemini-integration.md for API details

    line 76
  21. Distinctive:

    Use the Gemini output to inform scene generation

    line 82
  22. Distinctive:

    If no API key, skip this step — Claude handles all creative decisions directly

    line 83
  23. Very specific:

    Always use vw units for sizing so animations look good at any resolution

    line 123
  24. Distinctive:

    Keep scenes between 3-5 seconds each — total video 15-30 seconds

    line 124
  25. Very specific:

    Use AnimatePresence mode="wait" so one scene exits before the next enters

    line 125
  26. Distinctive:

    Every scene must have a background treatment (gradient, image, or animated shape)

    line 126
  27. Distinctive:

    Use staggered animations for lists and grids (staggerChildren: 0.1-0.2)

    line 127
  28. Distinctive:

    Do NOT use emojis anywhere in the generated code or content

    line 130

“Common” is measured: kept by at least 6 in 10 of the 103 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Animation Generator

Create animated videos and motion graphics from a natural language description. Outputs a standalone Vite + React + Framer Motion project that plays in the browser.

Workflow

Step 1: Parse the Request

Break the user's description into a scene plan:

  • 3-7 scenes, each 3-5 seconds long
  • Identify the story arc: hero/intro, problem, solution, features, CTA/outro
  • Pick a color palette and typography that fits the brand/mood
  • Use $ARGUMENTS for the user's animation description

Step 2: Choose the Animation Stack

Auto-detect the best approach based on the request:

Request TypeStackWhen to Use
Product intro, presentation, marketingFramer Motion (default)Scene-based with text, icons, transitions
Generative art, particles, patternsp5.jsCreative/algorithmic visuals
3D objects, environments, product rendersThree.js + react-three-fiber3D scenes needed
Simple text/logo animationCSS animations onlyMinimal, no heavy deps

Default to Framer Motion unless the request clearly needs something else.

Step 3: Scaffold the Project

  1. Create a directory: ~/animations/[project-name]/
  2. Run the scaffold script: bash ~/.claude/skills/animate/scripts/scaffold.sh [project-name] [stack]
  3. Copy template files from ~/.claude/skills/animate/assets/template-files/ into the project

Step 4: Generate Scene Components

Read the references for animation presets and scene patterns:

  • references/animation-presets.md — all available transitions, springs, easings
  • references/scene-patterns.md — example scene code patterns

For each scene, create a React component in client/src/components/video/video_scenes/:

  • Use motion.div with scene transition presets (fadeBlur, scaleFade, slideLeft, splitHorizontal, morphExpand, etc.)
  • Use containerVariants and itemVariants for staggered content reveals
  • Use vw units for responsive sizing (works at any resolution)
  • Use CSS variables for theming (var(--color-accent), var(--color-bg-dark), etc.)
  • Use Lucide icons for visual elements
  • Use .glass-panel class for frosted glass cards
  • Use .text-gradient and .text-gradient-accent for gradient text

Step 5: Generate the VideoTemplate

Create client/src/components/video/VideoTemplate.tsx:

  • Import all scene components
  • Define SCENE_DURATIONS object (scene name -> milliseconds)
  • Use useVideoPlayer hook to manage scene advancement
  • Wrap scenes in AnimatePresence mode="wait" for smooth transitions
  • Each scene renders conditionally based on currentScene index

Step 6: Customize Theme

Update client/src/index.css with the right colors:

  • If the user specified brand colors, update CSS variables
  • Choose fonts that match the mood (Space Grotesk for tech, Playfair Display for elegant, etc.)
  • Update gradient and glow styles to match the palette

Step 7: Gemini 3.1 Pro Enhancement (Optional)

If GEMINI_API_KEY environment variable is available:

  1. Read references/gemini-integration.md for API details
  2. Send the user's description to Gemini 3.1 Pro asking for:
    • Scene breakdown with descriptions and suggested transitions
    • Color palette as CSS variables
    • Copy/headlines for each scene
    • SVG graphics if applicable
  3. Use the Gemini output to inform scene generation
  4. If no API key, skip this step — Claude handles all creative decisions directly

Step 8: Build and Preview

cd ~/animations/[project-name]
npm install
npm run dev

Tell the user the animation is running at http://localhost:5173 and open it in the browser.

Scene Transition Reference (Quick)

Pick transitions that match the story beat:

  • fadeBlur — Soft intro/outro, dreamy reveals
  • scaleFade — Confident reveals, product showcases
  • slideLeft/slideRight — Sequential progression, timeline flow
  • splitHorizontal/splitVertical — Dramatic reveals, before/after
  • morphExpand — Grand finale, CTA screens
  • clipCircle — Focus attention, spotlight effect
  • perspectiveFlip — Card flips, perspective changes
  • wipe — Clean transitions, directional flow
  • zoomThrough — Immersive, forward momentum
  • crossDissolve — Gentle, emotional transitions

Element Animation Reference (Quick)

  • popIn — Bouncy scale entrance for icons/badges
  • fadeUp/fadeDown — Subtle content reveals
  • slideInLeft/slideInRight — Directional content
  • blurIn — Soft focus reveals
  • elasticScale — Playful, energetic entrances
  • perspectiveRotateIn — 3D card reveals
  • pulse — Looping attention grab
  • float — Gentle hovering effect

Important Rules

  1. Always use vw units for sizing so animations look good at any resolution
  2. Keep scenes between 3-5 seconds each — total video 15-30 seconds
  3. Use AnimatePresence mode="wait" so one scene exits before the next enters
  4. Every scene must have a background treatment (gradient, image, or animated shape)
  5. Use staggered animations for lists and grids (staggerChildren: 0.1-0.2)
  6. Include a loading state if assets are heavy
  7. The project must be completely self-contained — no external dependencies beyond npm packages
  8. Do NOT use emojis anywhere in the generated code or content

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.