Skip to content
Agent Orchestration
Skill

/animate

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.

BOOST
From plugin
ccg
5.9k47 skills19 commands
Install
$ npx -y skills add fengshao1227/ccg-workflow --skill animate --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/animate

Context preview

The summary Claude sees to decide when to auto-load this skill.

Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.

SKILL.md

animate.SKILL.md
name: animate
description: "Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive."
argument-hint: "[target]"
user-invocable: false

Analyze a feature and strategically add animations and micro-interactions that enhance understanding, provide feedback, and create delight.

MANDATORY PREPARATION

Invoke /frontend-design — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /teach-impeccable first. Additionally gather: performance constraints.

---

Assess Animation Opportunities

Analyze where motion would improve the experience:

1. **Identify static areas**:

  • **Missing feedback**: Actions without visual acknowledgment (button clicks, form submission, etc.)
  • **Jarring transitions**: Instant state changes that feel abrupt (show/hide, page loads, route changes)
  • **Unclear relationships**: Spatial or hierarchical relationships that aren't obvious
  • **Lack of delight**: Functional but joyless interactions
  • **Missed guidance**: Opportunities to direct attention or explain behavior

2. **Understand the context**:

  • What's the personality? (Playful vs serious, energetic vs calm)
  • What's the performance budget? (Mobile-first? Complex page?)
  • Who's the audience? (Motion-sensitive users? Power users who want speed?)
  • What matters most? (One hero animation vs many micro-interactions?)

If any of these are unclear from the codebase, Ask the user using AskUserQuestion.

**CRITICAL**: Respect `prefers-reduced-motion`. Always provide non-animated alternatives for users who need them.

Plan Animation Strategy

Create a purposeful animation plan:

  • **Hero moment**: What's the ONE signature animation? (Page load? Hero section? Key interaction?)
  • **Feedback layer**: Which interactions need acknowledgment?
  • **Transition layer**: Which state changes need smoothing?
  • **Delight layer**: Where can we surprise and delight?

**IMPORTANT**: One well-orchestrated experience beats scattered animations everywhere. Focus on high-impact moments.

Implement Animations

Add motion systematically across these categories:

Entrance Animations

  • **Page load choreography**: Stagger element reveals (100-150ms delays), fade + slide combinations
  • **Hero section**: Dramatic entrance for primary content (scale, parallax, or creative effects)
  • **Content reveals**: Scroll-triggered animations using intersection observer
  • **Modal/drawer entry**: Smooth slide + fade, backdrop fade, focus management

Micro-interactions

  • **Button feedback**:
  • Hover: Subtle scale (1.02-1.05), color shift, shadow increase
  • Click: Quick scale down then up (0.95 → 1), ripple effect
  • Loading: Spinner or pulse state
  • **Form interactions**:
  • Input focus: Border color transition, slight scale or glow
  • Validation: Shake on error, check mark on success, smooth color transitions
  • **Toggle switches**: Smooth slide + color transition (200-300ms)
  • **Checkboxes/radio**: Check mark animation, ripple effect
  • **Like/favorite**: Scale + rotation, particle effects, color transition

State Transitions

  • **Show/hide**: Fade + slide (not instant), appropriate timing (200-300ms)
  • **Expand/collapse**: Height transition with overflow handling, icon rotation
  • **Loading states**: Skeleton screen fades, spinner animations, progress bars
  • **Success/error**: Color transitions, icon animations, gentle scale pulse
  • **Enable/disable**: Opacity transitions, cursor changes

Navigation & Flow

  • **Page transitions**: Crossfade between routes, shared element transitions
  • **Tab switching**: Slide indicator, content fade/slide
  • **Carousel/slider**: Smooth transforms, snap points, momentum
  • **Scroll effects**: Parallax layers, sticky headers with state changes, scroll progress indicators

Feedback & Guidance

  • **Hover hints**: Tooltip fade-ins, cursor changes, element highlights
  • **Drag & drop**: Lift effect (shadow + scale), drop zone highlights, smooth repositioning
  • **Copy/paste**: Brief highlight flash on paste, "copied" confirmation
  • **Focus flow**: Highlight path through form or workflow

Delight Moments

  • **Empty states**: Subtle floating animations on illustrations
  • **Completed actions**: Confetti, check mark flourish, success celebrations
  • **Easter eggs**: Hidden interactions for discovery
  • **Contextual animation**: Weather effects, time-of-day themes, seasonal touches

Technical Implementation

Use appropriate techniques for each animation:

Timing & Easing

**Durations by purpose:**

  • **100-150ms**: Instant feedback (button press, toggle)
  • **200-300ms**: State changes (hover, menu open)
  • **300-500ms**: Layout changes (accordion, modal)
  • **500-800ms**: Entrance animations (page load)

**Easing curves (use these, not CSS defaults):**

/* Recommended - natural deceleration */
--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);    /* Smooth, refined */
--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);   /* Slightly snappier */
--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);     /* Confident, decisive */

/* AVOID - feel dated and tacky */
/* bounce: cubic-bezier(0.34, 1.56, 0.64, 1); */
/* elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6); */

**Exit animations are faster than entrances.** Use ~75% of enter duration.

CSS Animations

/* Prefer for simple, declarative animations */
- transitions for state changes
- @keyframes for complex sequences
- transform + opacity only (GPU-accelerated)

JavaScript Animation

/* Use for complex, interactive animations */
- Web Animations API for programmatic control
- Framer Motion for React
- GSAP for complex sequences

Performance

  • **GPU acceler
Read more
Ships withccg

多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行

Get the whole plugin

Other skills on ccg.

verify-change
Skill

verify-change

变更校验关卡。分析代码变更,检测文档同步状态,评估变更影响范围。当用户提到变更检查、文档同步、代码审查、提交前检查、diff分析时使用。在设计级变更、重构完成时自动触发。

verify-module
Skill

verify-module

模块完整性校验关卡。扫描目录结构、检测缺失文档、验证代码与文档同步。当用户提到模块校验、文档检查、结构完整性、README检查、DESIGN检查时使用。在新建模块完成时自动触发。

verify-quality
Skill

verify-quality

代码质量校验关卡。检测复杂度、重复代码、命名规范、函数长度等质量指标。当用户提到代码质量、复杂度检查、代码异味、重构建议、lint检查、代码规范时使用。在复杂模块、重构完成时自动触发。

verify-security
Skill

verify-security

安全校验关卡。自动扫描代码安全漏洞,检测危险模式,确保安全决策有文档记录。当用户提到安全扫描、漏洞检测、安全审计、代码安全、OWASP、注入检测、敏感信息泄露时使用。在新建模块、安全相关变…