/liquid-glass:liquid-glass-motionfrom liquid-glass
Provides animation, morphing, and Metal shader best practices for Liquid Glass and SwiftUI motion on iOS 26+/macOS 26+ through iOS 27. Covers glassEffectID, @Namespace morphing, PhaseAnimator, KeyframeAnimator, matchedTransitionSource, scrollTransition, visualEffect, Instruments/xctrace profiling, and accessibilityReduceMotion gating.
Ships in liquid-glass. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Companion to the liquid-glass skill (~/.claude/skills/liquid-glass/). Same tag system:
[verified] / [apple] / [multi] / [single] / [version-pinned] — see that skill's
SKILL.md. Composed 2026-08 and verified against Apple documentation and SDK interfaces.
references/availability-and-sdk27.md. Motion code trips the same SDK-27 breakages
(.if ban, @ContentBuilder, renames).references/ before repeating them — circulating write-ups
get several of these facts wrong; the corrected facts live in these files.xctrace before
optimizing, and never trust the iOS Simulator for the SwiftUI instrument — see
references/performance-and-instrumentation.md..opacity / fades — use glassEffectTransition
(.materialize is the sanctioned fade-like option). [multi]GlassEffectContainer;
glassEffectID per element in one shared @Namespace; the change is view
insertion/removal (not a value change); the state change is inside withAnimation.
Plus geometry: nearest edges within the container's spacing. [multi].interactive(). No public spring/damping/
stiffness knobs exist; do not promise tunable jelly. [multi]accessibilityReduceMotion — the default morph is a
kinetic effect, and reduce-motion users have experienced it as flickering. The system
does NOT gate your withAnimation for you. [multi].animation, withAnimation,
and scroll-driven updates on the same property. Implicit later in the view tree silently
wins over explicit. [multi].animation() inside the
if is destroyed with the view and removal never animates. [multi]scrollTransition / visualEffect(in:) over
observable scroll-offset plumbing. [apple]| Topic | Reference |
|---|---|
| Springs, curves, precedence, Transaction, @Animatable, CA bridge | references/animation-fundamentals.md |
| Glass morphing, glassEffectID, union, glassEffectTransition | references/morphing.md |
| Navigation zoom, custom Transition, sheets, touch-vs-trackpad | references/transitions-and-navigation.md |
| Scroll-driven motion, scrollTransition, visualEffect, chrome interplay | references/scroll-driven.md |
| PhaseAnimator, KeyframeAnimator, symbol effects | references/phase-and-keyframe.md |
| Reduce Motion gating, replacement tables | references/reduce-motion.md |
| Metal shaders with/under/instead-of glass | references/metal-and-glass.md |
| Performance model, xctrace profiling | references/performance-and-instrumentation.md |
| Static glass, availability, toolbars, platform APIs, a11y of the material | liquid-glass skill |
| Choosing the actual spring/damping/duration values | apple-motion-feel skill |
scripts/record_trace.py and scripts/analyze_trace.py (+ instruments_parser/) — vendored
from Antoine van der Lee's SwiftUI-Agent-Skill (MIT; licence ships beside them as
scripts/LICENSE-AvdLee-SwiftUI-Agent-Skill). Record and parse Instruments traces (Time
Profiler, Hangs, Animation Hitches, SwiftUI lanes) into JSON/markdown. Usage and interpretation:
references/performance-and-instrumentation.md.
ATTRIBUTION.md (opens in a new tab)references/animation-fundamentals.md (opens in a new tab)references/metal-and-glass.md (opens in a new tab)references/morphing.md (opens in a new tab)references/performance-and-instrumentation.md (opens in a new tab)references/phase-and-keyframe.md (opens in a new tab)references/reduce-motion.md (opens in a new tab)references/scroll-driven.md (opens in a new tab)references/transitions-and-navigation.md (opens in a new tab)scripts/LICENSE-AvdLee-SwiftUI-Agent-Skill (opens in a new tab)scripts/analyze_trace.py (opens in a new tab)scripts/instruments_parser/__init__.py (opens in a new tab)scripts/instruments_parser/causes.py (opens in a new tab)scripts/instruments_parser/correlate.py (opens in a new tab)scripts/instruments_parser/events.py (opens in a new tab)scripts/instruments_parser/hangs.py (opens in a new tab)scripts/instruments_parser/hitches.py (opens in a new tab)scripts/instruments_parser/summary.py (opens in a new tab)scripts/instruments_parser/swiftui.py (opens in a new tab)scripts/instruments_parser/time_profiler.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
swiftui, liquid-glass, metal-shaders, animation-hitches, ios-26, macos-26
Other plugins' skills for the same job
npx claudepluginhub yordilorenzo/liquid-glass-skills --plugin liquid-glass2 skills in this plugin