animation-patterns
Skill by rshankras
Guides an assistant to write, review, or fix SwiftUI animation and visual-effect code for iOS and macOS. It covers springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, MeshGradient, TextRenderer, and shaders.
Install animation-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills /tmp/claude-code-apple-skills && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-apple-skills/skills/design/animation-patterns ~/.claude/skills/animation-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/rshankras/claude-code-apple-skills /tmp/claude-code-apple-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-apple-skills/skills/design/animation-patterns ~/.gemini/antigravity-cli/skills/animation-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
animation-patterns is an agent skill with SwiftUI animation patterns for iOS and macOS. It covers springs and transitions, PhaseAnimator and KeyframeAnimator, SF Symbol effects, scroll-driven effects, MeshGradient, TextRenderer, and shader effects. It gives correct API shapes and lists common mistakes, such as mixing spring parameter generations and using matchedGeometryEffect where matchedTransitionSource is needed.
The skill routes each request to one of five reference files, depending on whether the user is animating a state change, a sequence, a view transition, an SF Symbol, or a scroll or shader effect. It also includes a review checklist covering reduce motion, duration limits, and the cost of per-frame closures. It is aimed at developers who implement, review, or fix animation or visual-effect code on iOS and macOS.
Written from the project's SKILL.md and checked against it.
What it can do
- Spring and state animationsCovers withAnimation, implicit animations, and spring configurations such as bouncy, snappy, and smooth.
- PhaseAnimator and KeyframeAnimatorExplains multi-step and timeline-based animations with the correct closure signatures.
- View transitionsCovers insertion and removal transitions, contentTransition, and asymmetric transitions.
- Zoom and hero navigationShows matchedTransitionSource with navigationTransition(.zoom) and the UIKit zoom transition.
- SF Symbol effectsCovers symbolEffect with bounce, pulse, wiggle, breathe, and rotate, plus accessibility notes.
- Scroll and geometry effectsCovers scrollTransition and visualEffect for carousels, parallax, and position-based effects.
- MeshGradient and TextRendererCovers animatable multi-point gradients and per-line or per-glyph text animation.
- Shader effectsCovers ShaderLibrary with colorEffect, distortionEffect, and layerEffect.
- Review checklistChecks reduce motion, duration limits, spring use, deprecated APIs, and transition scope.
What you need
- Code targeting iOS 27 or macOS 27, per the os_version field
Try asking
- Review my SwiftUI spring animation code and fix any deprecated APIs.
- Add a zoom transition from a list row to a detail view using NavigationStack.
- Make an SF Symbol bounce when a favorite button is tapped.
Good to know
- Tools are limited to Read, Glob, and Grep.
- The API availability table lists minimum versions from iOS 13 to iOS 18.
- Guidance is split across five reference files that the assistant must read.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/design/animation-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadGlobGrep
Alternatives to animation-patterns
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
animation-patterns: common questions
What does the animation-patterns skill cover?
It covers SwiftUI springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, MeshGradient, TextRenderer, and shader effects.
Can it help review existing animation code?
Yes. The skill says it applies when reviewing or fixing animation code, and it includes a review checklist.
Which platforms does it target?
The source states iOS 27 and macOS 27 as the os_version, and the code guidance covers iOS and macOS.
How do I install animation-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is animation-patterns free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is animation-patterns safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to animation-patterns?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
