Write, review, or improve SwiftUI code following best practices for state management, view composition, performance, and iOS 26+ Liquid Glass adoption. Use when building new SwiftUI features, refactoring existing views, reviewing code quality, or adopting modern SwiftUI patterns.
94
92%
Does it follow best practices?
Impact
95%
1.20xAverage score across 6 eval scenarios
—
The risk profile of this skill
List performance patterns and ForEach identity
Stable ForEach identity
100%
100%
No inline filtering
100%
100%
Constant views per element
100%
100%
LazyVStack used
62%
100%
No AnyView in rows
100%
100%
Minimal view props
25%
37%
Hot-path guard
70%
100%
No body object creation
100%
100%
Body stays pure
100%
100%
scrollIndicators modifier
0%
0%
Subview extraction
100%
100%
Liquid Glass iOS 26+ adoption
#available with fallback
100%
100%
GlassEffectContainer used
66%
100%
glassEffect after layout modifiers
100%
100%
.interactive() only on tappable
100%
100%
glassEffectID morphing
100%
100%
@Namespace declared
100%
100%
Prominent style for Done
100%
100%
GlassEffectContainer spacing
0%
100%
No unnecessary nesting
100%
100%
Consistent shapes
100%
100%
GlassEffectContainer wraps both states
100%
100%
Modern API usage and navigation patterns
NavigationStack used
100%
100%
navigationDestination used
100%
100%
Tab API used
0%
100%
Button not onTapGesture
100%
100%
foregroundStyle used
100%
100%
clipShape for corners
100%
100%
localizedStandardContains
0%
100%
Modern Text format
0%
100%
Two-param onChange
100%
100%
.task for async
100%
100%
Button accessibility
100%
100%
No foregroundColor
100%
100%
Observable state management and sheet patterns
@Observable used
0%
100%
@MainActor on Observable
0%
100%
@State with Observable
0%
100%
State is private
100%
100%
No passed @State
100%
100%
@Bindable for injected
0%
100%
sheet(item:) used
0%
0%
Sheet owns dismiss
0%
100%
Business logic in model
100%
100%
Methods for actions
87%
100%
let for read-only
100%
100%
View composition and accessibility
@Entry macro used
100%
100%
@ViewBuilder let content
100%
100%
No closure-based content
100%
100%
@ScaledMetric for avatar
100%
100%
@ScaledMetric for other values
100%
100%
accessibilityElement combine on reaction
50%
66%
redacted placeholder loading
0%
100%
CardTheme read from environment
100%
100%
No magic number layout
66%
83%
Subview extraction
50%
100%
SwiftUI animation patterns
animation has value param
100%
100%
withAnimation for button taps
80%
100%
Transforms not frame for animation
100%
100%
Transition outside conditional
100%
100%
phaseAnimator for multi-step
50%
100%
No deprecated animation
100%
100%
Asymmetric or combined transition
100%
100%
Scoped animation
100%
100%
No linear timing for UI
100%
100%
State not changed without animation
100%
100%
d1c3297
Table of Contents
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.