SwiftUI animation patterns including springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, mesh gradients, text renderers, and shader effects.
SkillScore95Maintained
Automatic
◆Frontend / UI pack
Last verified 8/17/2026
What it changes
Passed 21 of 22 test cases with the skill, and 18 of 22 without it.
Without skill82%
With skill95%
Checks it passed that the model alone missed
The implementation conforms to the TextRenderer protocol.
The update function calls context.animate to execute the UIView state transition.
The implementation uses KeyframeAnimator to sequence independent property keyframe tracks.
3 fixed18 passed either way1 still failing0 broke
Pass-rate lift
+14 pp
Tokens
+71%
Agent turns
0%
Response time
-34%
Model gemini-3.6-flashMeasured 8/17/2026v121 of 22 cases passed with skill
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 3
Prompt
I am maintaining a custom UIViewRepresentable that embeds a UIKit custom view on iOS 18. When SwiftUI state updates, I want to trigger a native spring animation inside `updateUIView`. Show the method call to execute UIKit view changes driven by SwiftUI spring parameters.
What was checked, without and with the skill
Checked
Without skill
With skill
The update function calls context.animate to execute the UIView state transition.
Missed
Passed
case-22 · gemini-3.6-flash · 8/17/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md134 linessingle file
Animation Patterns
Correct API shapes and patterns for SwiftUI animations. Prevents the most common mistakes: mixed spring parameter generations, wrong PhaseAnimator/KeyframeAnimator closure signatures, and using matchedGeometryEffect where matchedTransitionSource is needed.