ios-animations

📁 pproenca/dot-skills 📅 2 days ago
34
总安装量
2
周安装量
#10956
全站排名
安装命令
npx skills add https://github.com/pproenca/dot-skills --skill ios-animations

Agent 安装分布

claude-code 2
amp 1
opencode 1
kimi-cli 1
codex 1
github-copilot 1

Skill 文档

dot-skills iOS SwiftUI Animations Best Practices

Comprehensive animation guidelines for SwiftUI apps, designed to produce fluid, native-feeling motion that matches Apple’s first-party quality. Contains 47 rules across 8 categories, prioritized by impact — from spring physics fundamentals to orchestration polish.

When to Apply

Reference these guidelines when:

  • Adding animations to SwiftUI views or transitions
  • Building gesture-driven interactions (drag, swipe, pan)
  • Connecting views with spatial transitions (expand/collapse, navigation morphs)
  • Designing micro-interactions (button press, toggle, loading states)
  • Making content changes feel physical (number rolls, symbol replacements)
  • Choreographing multi-element animation sequences
  • Reviewing animation code for performance and accessibility

Rule Categories by Priority

Priority Category Impact Prefix Rules
1 Spring Physics CRITICAL spring- 7
2 Timing & Feel CRITICAL feel- 6
3 Gesture Continuity HIGH gesture- 7
4 Spatial Transitions HIGH spatial- 6
5 Micro-interactions HIGH micro- 6
6 Content Motion MEDIUM-HIGH content- 5
7 Orchestration MEDIUM orch- 5
8 Craft & Polish MEDIUM craft- 5

Quick Reference

1. Spring Physics (CRITICAL)

2. Timing & Feel (CRITICAL)

3. Gesture Continuity (HIGH)

4. Spatial Transitions (HIGH)

5. Micro-interactions (HIGH)

6. Content Motion (MEDIUM-HIGH)

7. Orchestration (MEDIUM)

8. Craft & Polish (MEDIUM)

How to Use

Read individual reference files for detailed explanations with incorrect/correct code examples:

Reference Files

File Description
references/_sections.md Category definitions and ordering
assets/templates/_template.md Template for new rules
metadata.json Version and reference information