What problem does it solve?
SwiftUI screens can feel slow or stutter when view updates happen too often, body/layout work is expensive, identity is unstable, or profiling is missing—this Skill helps you diagnose the real cause and apply targeted performance fixes.
Core Features & Use Cases
- Code-first performance audit: Reviews view code and data flow to spot likely bottlenecks such as body cost, identity churn, invalidation storms, heavy computations in body, layout thrash, and problematic lazy/loading patterns.
- Instruments-guided investigation: Walks you through collecting SwiftUI Instrument and Time Profiler evidence (Release build, device, reproducible interaction) and extracting what to look for in timelines and call trees.
- Remediation & verification loop: Proposes concrete fixes (state scoping, stable IDs, moving work out of body, caching/precomputing, image downsampling, animation gating) and then re-measures to confirm the improvement.
Quick Start
Use the swiftui-performance skill to audit your slow-scrolling SwiftUI screen by asking it to review the relevant view code first and then tell you exactly what Instruments traces to capture next.