common-accessibility
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
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,
Claude Code
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation --agent claude-code
Codex
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a codex -y
Cursor
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a cursor -y
Gemini CLI
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a gemini-cli -y
GitHub Copilot
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a github-copilot -y
OpenCode
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a opencode -y
Windsurf
$ npx skills add hoangnguyen0403/agent-skills-standard --skill common-mobile-animation -a windsurf -y
name: common-mobile-animation
description: 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.
metadata:
triggers:
files:
- '**/*_page.dart'
- '**/*_screen.dart'
- '**/*.swift'
- '**/*Activity.kt'
- '**/*Screen.tsx'
keywords:
- Animation
- AnimationController
- Animated
- MotionLayout
- transition
- gesture| 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.
1. **Choose duration** from timing table based on interaction type.
2. **Select easing curve** per platform — `Curves.fastOutSlowIn` (Material) or `easeInOut` (iOS). Never use `linear`. 3. **Animate GPU-friendly properties** (`transform`, `opacity`). Avoid `width`/`height` which trigger layout. 4. **Wire gestures** using `onPan` / `interactivePopGesture` for fluid, interruptible UX. 5. **Verify frame rate** in profiler — target 60fps with no jank frames.
See [implementation examples](references/implementation.md) for Flutter and iOS animation patterns.
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
The portable standards layer for AI coding agents. Sync once, then work in your own runtime.
Enforce WCAG 2.2 AA compliance with semantic HTML, ARIA roles, keyboard navigation, and color contrast standards for web UIs. Use…
Define deterministic guardrails for agent tool calls — protected paths, test-file locks during bug fixes, post-edit formatters,…
Apply REST API conventions — HTTP semantics, status codes, versioning, pagination, and OpenAPI standards for any framework. Use…
Audit structural debt, logic leakage, and monolithic components across Web, Mobile, and Backend codebases. Use when reviewing…
Draws architecture diagrams as editable draw.io files with a fixed house style, C4 levels, evidence-tagged shapes, and optional…
Enforce SOLID principles, guard-clause style, function size limits, and intention-revealing naming across all languages. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.