Skip to content
Skill

Animation patterns

Gives agents correct SwiftUI animation patterns, springs, transitions and shader effects

Animation patterns is an open-source agent skill for design and media. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
924
Last commit
License
MIT
Listing updated

Similar skills

About Animation patterns

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 6 files (62 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

/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:

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Animation patterns 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.

More from rshankras/claude-code-apple-skills

  1. Guides an agent through App Store listings, keywords, screenshots, reviews and marketing

    • Open source
    • 924 GitHub stars
    • Marketing and SEO
  2. Guides an iOS developer through AdAttributionKit ad measurement and postback testing

    • Open source
    • 924 GitHub stars
    • Marketing and SEO
  3. Drafts App Store descriptions, promo text and What's New notes for iOS apps

    • Open source
    • 924 GitHub stars
    • Writing style
  4. Plans Apple Search Ads campaigns for indie apps: keywords, bids, budgets and ROAS

    • Open source
    • 924 GitHub stars
    • Marketing and SEO
  5. Sets price and localized listing text for a one-time App Store in-app purchase

    • Open source
    • 924 GitHub stars
    • Developer tools
  6. Guides an agent through App Store title, subtitle and keyword optimization for Apple apps

    • Open source
    • 924 GitHub stars
    • Marketing and SEO