What problem does it solve?
This Skill helps you diagnose and fix SwiftUI performance issues like slow rendering, janky scrolling, excessive CPU/memory use, and unnecessary view updates that waste work per frame.
Core Features & Use Cases
- Workflow Decision Tree: Quickly routes you based on whether you can share code or only symptoms, so you can start the right troubleshooting path.
- Instruments-Guided Profiling: Provides step-by-step guidance to collect SwiftUI timeline data and Time Profiler evidence in Release builds (ideally on real devices).
- Practical Root-Cause Analysis: Targets common SwiftUI culprits such as view invalidation storms, unstable identity, heavy computation in
body, layout thrash, large image handling, and inefficient list/list identity patterns.
- Concrete Remediation Steps: Recommends targeted refactors like narrowing observable dependency scope, stabilizing
ForEach identity, moving heavy work out of body, and verifying improvements with re-measurements.
- Optimization Guardrails: Offers specific “do/don’t” patterns for identity/lifetime, lazy loading, state/observation scope, and profiler verification.
Quick Start
Share the specific SwiftUI view or feature code plus the symptoms (what interaction is slow, and how it reproduces), and then ask the Skill to recommend the most likely bottlenecks and concrete remediation steps to apply before profiling.