U
ui-animation
by @mblodev
4.4(33)
UIのモーションエフェクトとアニメーション実装を作成、レビュー、デバッグし、ユーザーエクスペリエンスを向上させます。作業効率と自動化能力を向上させるAIエージェントスキル。
インストール方法
npx skills add mblode/agent-skills --skill ui-animationcompare_arrows
Before / After 効果比較
1 组使用前
UIアニメーションの実装は複雑で、デバッグが困難であり、効果も不十分です。開発者はアニメーションの詳細処理を誤ることが多く、その結果、ユーザーエクスペリエンスが低下し、プロジェクトの視覚効果が大幅に損なわれます。
使用後
このスキルは、UIアニメーションの実装の作成、レビュー、デバッグを支援します。アニメーションがスムーズで自然であることを保証し、ユーザーインタラクション体験を向上させ、製品インターフェースをより魅力的にします。
SKILL.md
UI Animation
Core rules
- Animate to clarify cause/effect or add deliberate delight.
- Keep interactions fast (200-300ms; up to 1s only for illustrative motion).
- Never animate keyboard interactions (arrow-key navigation, shortcut responses, tab/focus).
- Prefer CSS; use WAAPI or JS only when needed.
- Make animations interruptible and input-driven.
- Honor
prefers-reduced-motion(reduce or disable).
What to animate
- For movement and spatial change, animate only
transformandopacity. - For simple state feedback,
color,background-color, andopacitytransitions are acceptable. - Never animate layout properties; never use
transition: all. - Avoid
filteranimation for core interactions; if unavoidable, keep blur <= 20px. - SVG: apply transforms on a
<g>wrapper withtransform-box: fill-box; transform-origin: center. - Disable transitions during theme switches.
Spatial and sequencing
- Set
transform-originat the trigger point. - For dialogs/menus, start around
scale(0.85-0.9); avoidscale(0). - Stagger reveals <= 50ms.
Easing defaults
- Enter and transform-based hover:
cubic-bezier(0.22, 1, 0.36, 1). - Move:
cubic-bezier(0.25, 1, 0.5, 1). - Simple hover colour/background/opacity:
200ms ease. - Avoid
ease-infor UI (feels slow).
Accessibility
- If
transformis used, disable it inprefers-reduced-motion. - Disable hover transitions on touch devices via
@media (hover: hover) and (pointer: fine).
Performance
- Pause looping animations off-screen.
- Toggle
will-changeonly during heavy motion and only fortransform/opacity. - Prefer
transformover positional props in animation libraries. - Do not animate drag gestures using CSS variables.
Reference
- Snippets and practical tips: examples.md
Workflow
- Start with the core rules, then pick a reference snippet from examples.md.
- Keep motion functional; honor
prefers-reduced-motion. - When reviewing, cite file paths and line numbers and propose concrete fixes.
- Validate:
- Test with
prefers-reduced-motion: reduceenabled — animations must degrade gracefully. - Verify no layout property animations (
width,height,top,left). - Check that looping animations pause off-screen.
- Confirm
will-changeis toggled only during animation, not permanently set.
- Test with
ユーザーレビュー (0)
レビューを書く
効果
使いやすさ
ドキュメント
互換性
レビューなし
統計データ
インストール数4.8K
評価4.4 / 5.0
バージョン
更新日2026年5月23日
比較事例1 件
ユーザー評価
4.4(33)
5
27%
4
48%
3
21%
2
3%
1
0%
この Skill を評価
0.0
対応プラットフォーム
🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI
タイムライン
作成2026年3月16日
最終更新2026年5月23日