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.

From plugin
ccg
6k47 skills19 commands

Claude Code

$ npx -y skills add fengshao1227/ccg-workflow --skill animate --agent claude-code

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
@fengshao1227
Ships withccg

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

Stars on GitHub

Momentum

stars in total
6.0k
Star history of fengshao1227/ccg-workflow on GitHub, a chart by star-history.com

Other skills on ccg.

ccg-workflow

ccg-workflow

How to run a non-trivial change end to end with the CCG role tools (ccg_analyze / ccg_design / ccg_build / ccg_debug /…

@fengshao1227@fengshao1227Install Skill
gen-docs

gen-docs

文档生成器。自动分析模块结构,生成 README.md 和 DESIGN.md 骨架。当用户提到生成文档、创建README、创建DESIGN、文档骨架、文档模板时使用。在新建模块开始时自动触发。

@fengshao1227@fengshao1227Install Skill
verify-change

verify-change

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

@fengshao1227@fengshao1227Install Skill
verify-module

verify-module

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

@fengshao1227@fengshao1227Install Skill
verify-quality

verify-quality

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

@fengshao1227@fengshao1227Install Skill
verify-security

verify-security

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

@fengshao1227@fengshao1227Install Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about animate.

Which coding agents can use animate?
animate installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.