Token导航 LogoToken导航TokenDH.com
前端设计权限需确认github未标认证来源可访问clear审计通过

figma-prototypingFigma prototyping 前端

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

2,938

周安装

120

GitHub Stars

35

下载量

941
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:figma-prototyping(Figma prototyping 前端)
来源仓库:https://github.com/dylantarre/animation-principles
仓库路径:skills/figma-prototyping
安装命令:
npx skills add https://github.com/dylantarre/animation-principles --skill figma-prototyping
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dylantarre/animation-principles --skill figma-prototyping

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合生成或审查 React、Next.js、Vue、Tailwind、CSS 等代码,整理组件结构或定位布局问题。
  • 需结合项目设计系统、路由和构建方式,避免生成孤立片段;改动后应通过本地预览确认效果。
  • 安装命令:npx skills add https://github.com/dylantarre/animation-principles --skill figma-prototyping
  • 适用于 Codex、Claude、Cursor、Gemini CLI,需确保环境支持 GitHub 技能加载。

SKILL.md

Figma Prototyping Animation Principles

Implement all 12 Disney animation principles using Figma's prototyping and Smart Animate features.

1. Squash and Stretch

  1. Create two frames: normal and squashed states
  2. Scale element: width: 120%, height: 80%
  3. Connect with Smart Animate
  4. Use "Ease In and Out" timing
Frame 1: Circle 100x100
Frame 2: Circle 120x80 (squashed)
Interaction: Smart Animate, 150ms

2. Anticipation

Create 3 frames:

  1. Idle - Starting position
  2. Anticipate - Wind-up (move opposite to action)
  3. Action - Main movement

Connect: Idle → Anticipate (100ms) → Action (After Delay)

3. Staging

Techniques:

  • Use lower opacity on background elements (60-80%)
  • Apply blur effect to non-focus areas
  • Scale up the hero element
  • Use drop shadows for depth hierarchy

4. Straight Ahead / Pose to Pose

Pose to Pose in Figma:

  1. Design key frames as separate screens
  2. Connect with Smart Animate
  3. Figma interpolates between states

Create: Pose A → Pose B → Pose C frames

5. Follow Through and Overlapping Action

  1. Create component variants for each element
  2. Stagger the state changes across frames
  3. Hair/cloth changes 1-2 frames after body
Frame 1: Body at A, Hair at A
Frame 2: Body at B, Hair at A (delayed)
Frame 3: Body at B, Hair at B

6. Slow In and Slow Out

Figma easing options:

  • Ease In - Starts slow, ends fast
  • Ease Out - Starts fast, ends slow
  • Ease In and Out - Slow at both ends (most natural)
  • Custom Bezier - Fine-tune curve

Default recommendation: Ease Out for most UI interactions.

7. Arc

  1. Create multiple frames along arc path
  2. Position element at key points on the curve
  3. Use 3+ frames for smooth arc
  4. Smart Animate interpolates the path

Or use component rotation with transform origin offset.

8. Secondary Action

Layer interactions:

  1. Primary: Button scales on tap
  2. Secondary: Icon rotates, shadow expands
On Click:
  - Button → Scale 1.1, Smart Animate, 150ms
  - Icon → Rotate 15°, Smart Animate, 100ms (starts simultaneously)

9. Timing

DurationUse Case
100msMicro-interactions, button feedback
200msStandard transitions
300msPage transitions, modals
400-500msComplex reveals
800ms+Dramatic, attention-getting

10. Exaggeration

Push beyond subtle:

  • Scale hover: 1.1x instead of 1.02x
  • Rotation: 15° instead of 5°
  • Movement: 20px instead of 8px
  • Use "Spring" easing for overshoot effect

11. Solid Drawing

Create depth with:

  • Consistent perspective across frames
  • Shadow direction consistency
  • Layered elements with proper z-order
  • 3D transforms (rotation with perspective)

12. Appeal

Design principles:

  • Rounded corners (friendly)
  • Consistent spacing
  • Smooth color transitions
  • Satisfying interaction feedback
  • Clear visual hierarchy

Smart Animate Setup

  1. Name layers identically across frames
  2. Use components for consistent naming
  3. Match layer hierarchy for best results
  4. Set transform origin before animating

Interaction Settings

Trigger: On Click / While Hovering / After Delay
Action: Navigate To / Smart Animate
Animation: Smart Animate
Easing: Ease Out
Duration: 200ms

Component Variants for States

Create variants:

  • State=Default
  • State=Hover
  • State=Active
  • State=Disabled

Use "Change To" interaction with Smart Animate between variants.

Pro Tips

  1. Use "While Hovering" for reversible animations
  2. After Delay chains create sequences
  3. Overflow: Hidden on frames clips animations
  4. Interactive Components for reusable micro-interactions
  5. Preview with Present mode (Play button)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

25.85%
按下载量换算243

Codex

24.08%
按下载量换算227

OpenCode

17.77%
按下载量换算167

Antigravity

12.13%
按下载量换算114

windsurf

8.43%
按下载量换算79

Gemini CLI

3.71%
按下载量换算35

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills