# Animation patterns

> Animation patterns is an open-source agent skill for design and media. Gives agents correct SwiftUI animation patterns, springs, transitions and shader effects. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/rshankras/claude-code-apple-skills/tree/main/skills/design/animation-patterns
- **Repository:** https://github.com/rshankras/claude-code-apple-skills
- **GitHub stars:** 924
- **License:** MIT
- **Skill name:** animation-patterns
- **Collection:** https://github.com/rshankras/claude-code-apple-skills
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through writing, reviewing and fixing SwiftUI animation and visual-effect code for iOS and macOS. It is organized as a decision tree that routes the agent to a reference file depending on whether it is animating a state change, a sequenced sequence, a view transition, an SF Symbol, or a scroll-driven or shader effect. Reference files cover spring configurations, completion handlers, transactions, PhaseAnimator and KeyframeAnimator, navigation zoom transitions, and UIKit bridging.

The skill also includes an API availability table listing the minimum OS version for each API and a short list of frequent mistakes, such as mixing spring parameter generations or omitting the value parameter on implicit animations. A review checklist asks the agent to check reduce-motion support, animation duration limits, and whether per-frame closures stay lightweight.

It is read-only in practice: the allowed tools are Read, Glob and Grep, and it includes no scripts. Work is done against Swift source in the user's project, and the target platforms are iOS 27 and macOS 27 according to its metadata.

## When your agent uses it

> SwiftUI animation patterns including springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, mesh gradients, text renderers, and shader effects. Use when implementing, reviewing, or fixing animation or visual-effect code on iOS/macOS.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/design/animation-patterns)
- [Asks for: Read, Glob, Grep](https://github.com/rshankras/claude-code-apple-skills/blob/HEAD/skills/design/animation-patterns/SKILL.md)
- [License: MIT](https://github.com/rshankras/claude-code-apple-skills/tree/HEAD/skills/design/animation-patterns)

## Features

- **Decision tree routing:** Points the agent to the right reference file based on the type of animation being built.
- **API availability table:** Lists minimum iOS versions for animation APIs so code matches the deployment target.
- **Common mistake fixes:** Covers frequent errors such as deprecated implicit animation calls and wrong closure signatures.
- **Accessibility review checklist:** Asks the agent to verify reduce-motion handling, duration limits and per-frame cost.
- **Scroll and shader effects:** Explains scrollTransition, visualEffect, MeshGradient, TextRenderer and Metal shader modifiers.
- **UIKit bridging guidance:** Describes how to drive UIKit views with SwiftUI state using matching animation calls.

## Good for

- Add a spring animation to a button press in my SwiftUI app
- Review my view transitions for deprecated animation APIs
- Build a zoom transition from a list into a detail view on iOS 18
- Make an SF Symbol bounce when a value changes
- Add a parallax effect to a scrolling carousel

## Install

### Claude Code

This skill ships in the `apple-skills` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add rshankras/claude-code-apple-skills
/plugin install apple-skills@indie-apple-stack
```

Or copy only this skill to `~/.claude/skills/animation-patterns`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/animation-patterns &&
cp -R "$tmp/skills/design/animation-patterns" ~/.claude/skills/animation-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/animation-patterns` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/animation-patterns` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/animation-patterns &&
cp -R "$tmp/skills/design/animation-patterns" ~/.agents/skills/animation-patterns &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/animation-patterns` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/animation-patterns` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/animation-patterns &&
cp -R "$tmp/skills/design/animation-patterns" ~/.cursor/skills/animation-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/animation-patterns` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/rshankras/claude-code-apple-skills.git --path skills/design/animation-patterns
```

Or copy the folder to `~/.gemini/skills/animation-patterns` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/animation-patterns`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/animation-patterns &&
cp -R "$tmp/skills/design/animation-patterns" ~/.copilot/skills/animation-patterns &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/animation-patterns` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills.git
```

Then copy `claude-code-apple-skills/skills/design/animation-patterns` into your agent's skills folder as `animation-patterns`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What platforms does Animation patterns target?

Its metadata lists iOS 27 and macOS 27, and the reference APIs range from iOS 13 to iOS 18.

### Does Animation patterns run any scripts or change files?

No scripts are included. Its allowed tools are Read, Glob and Grep, so it reads code and guides edits.

### When does Animation patterns activate?

When the user asks to add, fix or review animation or visual-effect code, mentions springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, or shader and scroll effects.

### How do I install Animation patterns in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/animation-patterns to use it in all your projects, or to .claude/skills/animation-patterns in one project. Or install the apple-skills plugin, which includes it: /plugin marketplace add rshankras/claude-code-apple-skills, then /plugin install apple-skills@indie-apple-stack.

### Does Animation patterns run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Animation patterns?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Animation patterns?

The closest alternatives to Animation patterns are Design, Axiom design, UX design, Premium frontend UI and Sap fiori iOS.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Design](https://ai-powered.com/skills/design-rshankras): Design is an open-source agent skill for design and media.
- [Axiom design](https://ai-powered.com/skills/axiom-design-charleswiltgen-2): Axiom design is an open-source agent skill for design and media.
- [UX design](https://ai-powered.com/skills/ux-design): UX design is an open-source agent skill for design and media.
- [Premium frontend UI](https://ai-powered.com/skills/premium-frontend-ui): Premium frontend UI is an open-source agent skill for design and media.
- [Sap fiori iOS](https://ai-powered.com/skills/sap-fiori-ios): Sap fiori iOS is an open-source agent skill for design and media.
- [Design system](https://ai-powered.com/skills/design-system-daveebbelaar): Design system is an open-source agent skill for design and media.
- [Gsap framer scroll animation](https://ai-powered.com/skills/gsap-framer-scroll-animation): Gsap framer scroll animation is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/animation-patterns
