Agent Skills
› poteto/noodle
› interaction-design
interaction-design
GitHub规范前端微交互与动效设计,涵盖过渡、手势及反馈模式。指导使用Framer Motion实现高性能动画,遵循无障碍标准,提升用户体验的流畅性与精致度。
Trigger Scenarios
需要添加UI交互特效或动效
实现加载状态、手势操作或通知系统
优化页面过渡与滚动动画性能
Install
npx skills add poteto/noodle --skill interaction-design -g -y
SKILL.md
Frontmatter
{
"name": "interaction-design",
"description": "Design and implement microinteractions, motion design, transitions, and user feedback patterns. Use when adding polish to UI interactions, implementing loading states, creating gesture-based interactions, designing hover\/focus states, building notification\/toast systems, adding scroll-triggered animations, implementing drag-and-drop, or creating delightful user experiences."
}
Interaction Design
Create engaging, intuitive interactions through motion, feedback, and thoughtful state transitions.
Project Conventions
- Preferred library: Framer Motion for React component animations
- CSS animations: Use
transformandopacityonly for 60fps performance - Spring physics: Prefer spring animations over linear/eased for interactive elements
- Interruptible: Users must be able to cancel or override any animation
Timing Scale
| Duration | Use Case |
|---|---|
| 100-150ms | Micro-feedback (hovers, clicks) |
| 200-300ms | Small transitions (toggles, dropdowns) |
| 300-500ms | Medium transitions (modals, page changes) |
| 500ms+ | Complex choreographed animations |
Accessibility
Always respect prefers-reduced-motion: reduce. Set animation duration to 0 when the user prefers reduced motion. This is non-negotiable.
Reference Files
Read these on demand based on the task:
| File | When to read |
|---|---|
| animation-libraries.md | Choosing or configuring Framer Motion, GSAP, or CSS-based approaches |
| microinteraction-patterns.md | Building button feedback, toggles, ripples, loading indicators, toasts |
| scroll-animations.md | Implementing scroll-triggered reveals, parallax, or intersection-based animations |
Version History
- 82d2921 Current 2026-11-19 21:08


