Common mobile animation

From HoangNguyen0403/agent-skills-standard · View interactive version

Common mobile animation is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Apply motion design principles for mobile apps covering timing curves, transitions, gestures, and performance-conscious animations. Use when implementing screen transitions, gesture-driven interactions, shared-element animations, or optimizing animation frame rates on iOS, Android, or Flutter.

How to use this skill

Skill file

Mobile Animation

**Priority: P1 (HIGH)**

Timing Standards

| Duration | Range | Use Case |

|----------|-------|----------|

| Short | 100-150ms | Toggles, cell press |

| Medium | 250-350ms | Navigation, modals |

| Long | 400-600ms | Shared element, complex state |

Hard limit: Never exceed 600ms for any animation.

Workflow

  1. Choose duration from timing table based on interaction type.
  1. Select easing curve per platform — Curves.fastOutSlowIn (Material) or easeInOut (iOS). Never use linear.
  2. Animate GPU-friendly properties (transform, opacity). Avoid width/height which trigger layout.
  3. Wire gestures using onPan / interactivePopGesture for fluid, interruptible UX.
  4. Verify frame rate in profiler — target 60fps with no jank frames.

See implementation examples for Flutter and iOS animation patterns.

References

Anti-Patterns

Related Topics

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.