Communitygithub.com

David-Li0406/meta-skill-evloving

将迪士尼12条动画原则应用于Web界面的指南。在实现动效、审查动画质量或设计微交互时使用。触发于涉及CSS动画、过渡、动效库或UI反馈的任务。

meta-skill-evloving 是什么?

该技能将迪士尼经典的12条动画原则系统性地映射到Web界面设计中,帮助开发者创建更自然、有吸引力且响应迅速的动效。它适用于Claude Code、Cursor、Codex等AI编程助手,在涉及CSS动画、过渡、动效库或UI反馈的任务中自动触发。指南涵盖从挤压与拉伸到吸引力等12个核心原则,每个原则都提供了具体的Web实现建议,如使用缓动曲线实现慢入慢出、利用弹簧效果实现跟随与重叠、通过关键帧定义姿势到姿势的过渡。技能强调平衡与克制,提醒开发者避免过度动效导致界面显得卡通化,并建议保持一致的计时尺度(如交互不超过300毫秒)。通过整合这些原则,开发者能够设计出用户觉得“用起来舒服”而非单纯“动画效果不错”的界面,从而提升产品的专业度和用户体验。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/David-Li0406/meta-skill-evloving/tree/HEAD/skill-flow/data/skills-refined-36k/skillsmp/12-principles-of-animation

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

动画的12条原则

这是一份关于动画基础原理及其在Web界面中应用的指南。这些原则最初由迪士尼动画师在20世纪30年代整理,有助于创造令人感觉自然、人性化且愉悦的动效。

应用时机

在以下情况时参考这些指南:

  • 为UI组件添加动效
  • 审查动画质量和感觉
  • 设计微交互和反馈
  • 选择动画技术
  • 让界面感觉更生动、响应更迅速

原则

#原则Web应用
1挤压与拉伸在变形元素中传达重量感和弹性
2预备动作为用户准备下一步(动作前的蓄力)
3舞台布置通过顺序动画引导注意力
4逐帧动画与关键帧定义关键帧,让浏览器插值过渡
5跟随与重叠使用弹簧效果实现自然的过冲与回位
6慢进与慢出应用缓动曲线实现自然加速
7弧形运动添加曲线路径实现有机运动
8次要动作以微妙的点缀强化主要动作
9时间控制将交互控制在300毫秒内,保持一致性
10夸张手法为强调效果放大动作(适度使用)
11扎实绘图运用透视、阴影和深度
12吸引力所有技巧精心运用的总和

快速参考

1. 挤压与拉伸

物体会根据其质量和能量发生形变。数字对象没有物理属性,因此我们模拟这种感觉。使用细微的变形来传达重量——但不要过度,否则专业软件会变成卡通效果。

2. 预备动作

在主要动作发生前给出提示。例如下拉刷新时显示一个暗示,按钮在发送前先压缩。仅在关键时刻使用——如果每个元素都有蓄力动作,应用会显得迟缓。

3. 舞台布置

当复杂面板打开时,通过顺序动画引导视线。如同导演电影般操纵注意力——调暗背景,聚焦重要元素。

4. 逐帧动画与关键帧

关注关键姿态:起始状态、结束状态,可能再加一个中间状态。并非每个时刻都需要动效。上下文菜单在退出时而非进入时设置动画——入口动画过度会堆积成烦躁。

5. 跟随与重叠

没有物体是作为单一刚性单元运动的。使用弹簧效果实现缓动曲线无法复制的有机过冲与回位。但过多的错阶会让界面显得缓慢。

6. 慢进与慢出

使用缓动曲线。ease-out用于进入(快速到达,轻柔稳定),ease-in用于退出(离开前积累动量),ease-in-out用于有意的移动。

7. 弧形运动

曲线路径感觉不可避免,如同水流向低处。最适合英雄时刻和趣味交互。对于实用型界面,直线也可以。

8. 次要动作

支持主要动作的小点缀——例如成功后的勾号闪烁动画。声音也可以作为次要动作。思考游戏:冲击效果同时使用声音和视觉。

9. 时间控制

将交互控制在300毫秒内。任何更长时间都需要充分理由。保持一致性——如果按钮动画时长为200毫秒,所有按钮都应使用200毫秒。

10. 夸张手法

超越物理精确性以加强表达效果。适度用于入门引导、空状态、确认或错误提示,让用户产生强烈感受。

11. 扎实绘图

阴影暗示深度。分层体现层级关系。CSS perspective定义物体距离观察者的距离,为3D变换赋予实际深度。

12. 吸引力

这是你容忍的软件与你热爱的软件之间的区别。不是单一技巧——而是所有技巧精心运用与品味的结合。

关键指南

  • 平衡:过多动效会让专业软件变成卡通
  • 一致性:尽早定义计时尺度,在所有地方复用
  • 目的性:优秀动效应无形——用户感觉“用起来舒服”,而非“这个缓出曲线不错”
  • 克制:并非所有内容都需要动画

参考

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

David-Li0406/meta-skill-evloving

Browser automation with persistent page state. Use when users ask to navigate websites, fill forms, take screenshots, extract web data, test web apps, or automate browser workflows. Trigger phrases include "go to [url]", "click on", "fill out the form", "take a screenshot", "scrape", "automate", "test the website", "log into", or any browser interaction request.

David-Li0406/meta-skill-evloving

Create technical diagrams using Mermaid syntax for architecture, sequences, ERDs, flowcharts, and state machines. Use for visualizing system design, data flows, and processes. Triggers: diagram, mermaid, architecture diagram, sequence diagram, flowchart, ERD, entity relationship, state diagram, C4 model, component diagram, visualize, draw.

David-Li0406/meta-skill-evloving

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

David-Li0406/meta-skill-evloving

Complete color manipulation and green screen effects system. PROACTIVELY activate for: (1) Green screen/chromakey removal, (2) Color grading with LUTs, (3) Color correction (levels, curves, white balance), (4) Colorkey/color removal effects, (5) Hue/saturation manipulation, (6) Color space conversions (BT.709, BT.2020, HDR), (7) Color isolation effects, (8) Teal and orange look, (9) Vintage/film looks, (10) Color keying for transparency. Provides: chromakey and colorkey filters, LUT application (lut3d), curves and levels adjustment, color balance, selective color manipulation, color space handling, HDR tone mapping, professional color grading chains.

David-Li0406/meta-skill-evloving

Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.

David-Li0406/meta-skill-evloving

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

David-Li0406/meta-skill-evloving

Build with OpenAI's stateless APIs - Chat Completions (GPT-5, GPT-4o), Embeddings, Images (DALL-E 3), Audio (Whisper + TTS), and Moderation. Includes Node.js SDK and fetch-based approaches for Cloudflare Workers. Use when: implementing chat completions with GPT-5/GPT-4o, streaming responses with SSE, using function calling/tools, creating structured outputs with JSON schemas, generating embeddings for RAG (text-embedding-3-small/large), generating images with DALL-E 3, editing images with GPT-Image-1, transcribing audio with Whisper, synthesizing speech with TTS (11 voices), moderating content (11 safety categories), or troubleshooting rate limits (429), invalid API keys (401), function calling failures, streaming parse errors, embeddings dimension mismatches, or token limit exceeded.

David-Li0406/meta-skill-evloving

Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.

David-Li0406/meta-skill-evloving

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

David-Li0406/meta-skill-evloving

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

David-Li0406/meta-skill-evloving

Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.

David-Li0406/meta-skill-evloving

Best practices for Remotion - Video creation in React

David-Li0406/meta-skill-evloving

Provides bidirectional translation (Chinese/English), grammar checking, and sentence polishing. Supports specific tense constraints, context-aware tone adjustment, and natural expression optimization. Outputs direct text without formatting.

David-Li0406/meta-skill-evloving

指导如何通过自定义注解(如@Unicom)标识Dubbo接口,利用BeanDefinitionRegistryPostProcessor在启动时扫描并动态注册ReferenceBean,实现RPC调用的封装。

David-Li0406/meta-skill-evloving

生成Python脚本,利用FFmpeg将图片序列按3x3布局合并,或将合并图拆分。要求使用subprocess模块执行命令,并支持用户交互式输入路径。

David-Li0406/meta-skill-evloving

SOP for extracting and analyzing promotional activity details, handling time formatting, location mapping, payment logic, and step-by-step process validation.

David-Li0406/meta-skill-evloving

Specializes in creating TikTok short video scripts using an anthropomorphic 'Chef' perspective to explain wildlife food chains and survival environments, utilizing real field footage.

David-Li0406/meta-skill-evloving

针对TikTok平台,以拟人化视角(如动物作为厨师)创作系列短视频脚本。重点介绍野生动物、食物链及生态环境,要求使用野外实拍素材,风格幽默且具有教育意义。

David-Li0406/meta-skill-evloving

Generates KWL (Know, Want to know, Learned) charts for educational videos, specifically BrainPOP, using simple 7th-grade language and short, concise bullet points.

David-Li0406/meta-skill-evloving

Tracks complex, multi-session work using the Beads issue tracker and dependency graphs, and provides persistent memory that survives conversation compaction. Use when work spans multiple sessions, has complex dependencies, or needs persistent context across compaction cycles. Trigger with phrases like "create task for", "what's ready to work on", "show task", "track this work", "what's blocking", or "update status".

相关技能